summaryrefslogtreecommitdiffstats
path: root/make/config/nativewindow/win32-lib.cfg
blob: d039d6e908e99a0d2144aa36afbadeabae6eb4ed (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
40
41
42
43
44
45
46
47
# 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 int HRESULT
Opaque long HANDLE
Opaque long PROC
Opaque long void **

NIODirectOnly DwmEnableBlurBehindWindow
NIODirectOnly DwmExtendFrameIntoClientArea
NIODirectOnly DwmGetWindowAttribute
NIODirectOnly DwmSetWindowAttribute
NIODirectOnly GetWindowCompositionAccentPolicy
NIODirectOnly SetWindowCompositionAccentPolicy

ImmutableAccess BITMAPINFO
# ImmutableAccess BITMAPINFOHEADER
# ImmutableAccess DWM_BLURBEHIND
# ImmutableAccess MARGINS
# ImmutableAccess PIXELFORMATDESCRIPTOR
ImmutableAccess RECT
ImmutableAccess RGBQUAD

Import com.jogamp.nativewindow.util.Point
Import com.jogamp.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 <gluegen_stdint.h>
CustomCCode #include <gluegen_stddef.h>
CustomCCode #include <wingdi.h>
CustomCCode #include "WindowsUser.h"
CustomCCode #include "WindowsDWM.h"
CustomCCode #include "WindowsSHC.h"

CustomCCode extern HINSTANCE GetApplicationHandle();