diff options
author | djp <[email protected]> | 2003-06-08 19:27:01 +0000 |
---|---|---|
committer | djp <[email protected]> | 2003-06-08 19:27:01 +0000 |
commit | d49fd968963909f181423eae46c613189468fac3 (patch) | |
tree | b231329e6b65fd54aa24b3bcc0a3ecc623daec61 /make/jawt-win32.cfg | |
parent | 9c8fb046dee5d832bea3f36dcbd43285054f49a0 (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-win32.cfg')
-rw-r--r-- | make/jawt-win32.cfg | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/make/jawt-win32.cfg b/make/jawt-win32.cfg new file mode 100644 index 000000000..30323eefa --- /dev/null +++ b/make/jawt-win32.cfg @@ -0,0 +1,27 @@ +# This .cfg file is used to generate the interface to the JAWT, which +# is used by the WindowsOnscreenGLContext. +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 HDC +IgnoreField JAWT GetComponent +IgnoreField JAWT_DrawingSurfaceInfo platformInfo +IgnoreField JAWT_Win32DrawingSurfaceInfo null +IgnoreField JAWT_Win32DrawingSurfaceInfo hpalette +CustomCCode #include <jawt.h> + +CustomCCode /* This typedef is only needed for VC6 */ +CustomCCode #if _MSC_VER <= 1200 +CustomCCode typedef int intptr_t; +CustomCCode #endif + +StructPackage JAWT_Win32DrawingSurfaceInfo net.java.games.jogl.impl.windows +EmitStruct JAWT_Win32DrawingSurfaceInfo +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); |