blob: e140ed3aa35639969c661ff6309b379ee687e024 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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 com.jogamp.nativewindow.impl.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 com.jogamp.nativewindow.impl.NWJNILibLoader
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 HWND CreateDummyWindow0( int x, int y, int width, int height ) ;
IncludeAs CustomJavaCode GDI win32-CustomJavaCode.java
|