diff options
Diffstat (limited to 'make/config/nativewindow/win32-lib.cfg')
-rw-r--r-- | make/config/nativewindow/win32-lib.cfg | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/make/config/nativewindow/win32-lib.cfg b/make/config/nativewindow/win32-lib.cfg new file mode 100644 index 000000000..894211182 --- /dev/null +++ b/make/config/nativewindow/win32-lib.cfg @@ -0,0 +1,40 @@ +# This .cfg file is used to generate the interface to the wgl routines +# used internally by the WindowsGLContext implementation. +JavaOutputDir gensrc/classes +NativeOutputDir gensrc/native/Windows + +Package jogamp.nativewindow.windows +JavaClass GDI +Style AllStatic + +Opaque boolean BOOL +Opaque long HANDLE +Opaque long PROC +Opaque long HINSTANCE +Opaque long HWND +Opaque long HBITMAP +Opaque long HDC +Opaque long HGDIOBJ +Opaque long HGLRC +Opaque long HPBUFFERARB +Opaque long HPBUFFEREXT +Opaque long void ** + +Import javax.media.nativewindow.util.Point +Import javax.media.nativewindow.NativeWindowException +Import jogamp.nativewindow.NWJNILibLoader +import jogamp.nativewindow.Debug + +CustomCCode #define WIN32_LEAN_AND_MEAN +CustomCCode #include <windows.h> +CustomCCode #undef WIN32_LEAN_AND_MEAN + +CustomCCode #include <wingdi.h> +CustomCCode #include <stddef.h> + +Include ../intptr.cfg + +CustomCCode extern HINSTANCE GetApplicationHandle(); + +IncludeAs CustomJavaCode GDI win32-CustomJavaCode.java + |