aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/nativewindow/jawt-win32.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-win32.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-win32.cfg')
-rw-r--r--make/config/nativewindow/jawt-win32.cfg17
1 files changed, 1 insertions, 16 deletions
diff --git a/make/config/nativewindow/jawt-win32.cfg b/make/config/nativewindow/jawt-win32.cfg
index af0c7ce29..00b3a3322 100644
--- a/make/config/nativewindow/jawt-win32.cfg
+++ b/make/config/nativewindow/jawt-win32.cfg
@@ -1,30 +1,15 @@
# This .cfg file is used to generate the interface to the JAWT, which
# is used by the WindowsOnscreenGLContext.
-Style AllStatic
-Package com.jogamp.nativewindow.impl.jawt
-JavaClass JAWTFactory
-JavaOutputDir gensrc/classes
+Include jawt-common.cfg
NativeOutputDir gensrc/native/Windows
-HierarchicalNativeOutput false
-
-Opaque boolean jboolean
Opaque long HDC
-IgnoreField JAWT GetComponent
-IgnoreField JAWT_DrawingSurfaceInfo platformInfo
IgnoreField JAWT_Win32DrawingSurfaceInfo null
IgnoreField JAWT_Win32DrawingSurfaceInfo hpalette
-IncludeAs CustomJavaCode JAWT jawt-CustomJavaCode.java
-
-CustomCCode #include <jawt.h>
Include ../intptr.cfg
-import java.security.*
-import com.jogamp.nativewindow.impl.jawt.*
StructPackage JAWT_Win32DrawingSurfaceInfo com.jogamp.nativewindow.impl.jawt.windows
EmitStruct JAWT_Win32DrawingSurfaceInfo
Implements JAWT_Win32DrawingSurfaceInfo JAWT_PlatformInfo
-
-IncludeAs CustomJavaCode JAWT_DrawingSurfaceInfo jawt-DrawingSurfaceInfo-CustomJavaCode.java