Added uxtheme bindings

This commit is contained in:
JooperGH
2022-12-19 11:54:15 +00:00
parent 4a70265bfb
commit 5519749aa4
2 changed files with 12 additions and 3 deletions

View File

@@ -3,9 +3,6 @@ package sys_windows
foreign import dwmapi "system:Dwmapi.lib"
MARGINS :: distinct [4]int
PMARGINS :: ^MARGINS
DWMWINDOWATTRIBUTE :: enum {
DWMWA_NCRENDERING_ENABLED,
DWMWA_NCRENDERING_POLICY,

View File

@@ -0,0 +1,12 @@
// +build windows
package sys_windows
foreign import uxtheme "system:UxTheme.lib"
MARGINS :: distinct [4]int
PMARGINS :: ^MARGINS
@(default_calling_convention="stdcall")
foreign uxtheme {
IsThemeActive :: proc() -> BOOL ---
}