diff options
Diffstat (limited to 'make/jawt-x11.cfg')
-rw-r--r-- | make/jawt-x11.cfg | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/make/jawt-x11.cfg b/make/jawt-x11.cfg new file mode 100644 index 000000000..4f43da1b3 --- /dev/null +++ b/make/jawt-x11.cfg @@ -0,0 +1,21 @@ +# This .cfg file is used to generate the interface to the JAWT, which +# is used by the X11OnscreenGLContext. +Style AllStatic +Package net.java.games.jogl.impl +JavaClass JAWTFactory +JavaOutputDir ../build/gensrc/classes +NativeOutputDir ../build/gensrc/native/jogl +HierarchicalNativeOutput false +Opaque boolean jboolean +Opaque long Display * +IgnoreField JAWT GetComponent +IgnoreField JAWT_X11DrawingSurfaceInfo GetAWTColor +CustomCCode #include <inttypes.h> +CustomCCode #include <jawt.h> +StructPackage JAWT_X11DrawingSurfaceInfo net.java.games.jogl.impl.x11 +EmitStruct JAWT_X11DrawingSurfaceInfo + +CustomJavaCode JAWT_DrawingSurfaceInfo public JAWT_PlatformInfo platformInfo() { +CustomJavaCode JAWT_DrawingSurfaceInfo return platformInfo0(getBuffer()); +CustomJavaCode JAWT_DrawingSurfaceInfo } +CustomJavaCode JAWT_DrawingSurfaceInfo private native JAWT_PlatformInfo platformInfo0(Buffer jthis0); |