aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/nativewindow/jawt-macosx.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-27 14:25:37 +0200
committerSven Gothel <[email protected]>2010-05-27 14:25:37 +0200
commit944bef5e70e0e8fe85a147fa7304c35f18d1957b (patch)
tree3279a9cae1258bf102716bf6d4f49883bd14f67f /make/config/nativewindow/jawt-macosx.cfg
parent6e599a2696f878786783e0fea17534e67655a5c9 (diff)
Fix NativeWindow JAWT Code Generation and Bounds Access
- Restructure: JAWT gluegen, use common jawt-common.cfg - Fix: Use proper capacity for GetDrawingSurface and GetDrawingSurfaceInfo - Fix: JAWTWindow maintains AWT bounds - Fix: JAWTWindow locking/unlocking decoupled with abstract implementation, which allows clear code and simpler unlock code.
Diffstat (limited to 'make/config/nativewindow/jawt-macosx.cfg')
-rw-r--r--make/config/nativewindow/jawt-macosx.cfg18
1 files changed, 1 insertions, 17 deletions
diff --git a/make/config/nativewindow/jawt-macosx.cfg b/make/config/nativewindow/jawt-macosx.cfg
index dea1a27b7..e018af0dc 100644
--- a/make/config/nativewindow/jawt-macosx.cfg
+++ b/make/config/nativewindow/jawt-macosx.cfg
@@ -1,30 +1,14 @@
# This .cfg file is used to generate the interface to the JAWT, which
# is used by the MacOSXOnscreenGLContext.
-Style AllStatic
-Package com.jogamp.nativewindow.impl.jawt
-JavaClass JAWTFactory
-JavaOutputDir gensrc/classes
+Include jawt-common.cfg
NativeOutputDir gensrc/native/MacOSX
-HierarchicalNativeOutput false
-
-Opaque boolean jboolean
Opaque long void *
Opaque long NSView *
-IgnoreField JAWT GetComponent
-IgnoreField JAWT_DrawingSurfaceInfo platformInfo
-
-IncludeAs CustomJavaCode JAWT jawt-CustomJavaCode.java
-
CustomCCode #include <inttypes.h>
-CustomCCode #include <jawt.h>
CustomCCode #include </usr/include/machine/types.h>
-import java.security.*
-import com.jogamp.nativewindow.impl.jawt.*
StructPackage JAWT_MacOSXDrawingSurfaceInfo com.jogamp.nativewindow.impl.jawt.macosx
EmitStruct JAWT_MacOSXDrawingSurfaceInfo
Implements JAWT_MacOSXDrawingSurfaceInfo JAWT_PlatformInfo
-
-IncludeAs CustomJavaCode JAWT_DrawingSurfaceInfo jawt-DrawingSurfaceInfo-CustomJavaCode.java