summaryrefslogtreecommitdiffstats
path: root/make/jawt-x11.cfg
diff options
context:
space:
mode:
authordjp <[email protected]>2003-06-08 19:27:01 +0000
committerdjp <[email protected]>2003-06-08 19:27:01 +0000
commitd49fd968963909f181423eae46c613189468fac3 (patch)
treeb231329e6b65fd54aa24b3bcc0a3ecc623daec61 /make/jawt-x11.cfg
parent9c8fb046dee5d832bea3f36dcbd43285054f49a0 (diff)
Initial revision
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@3 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/jawt-x11.cfg')
-rw-r--r--make/jawt-x11.cfg21
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);