@@ -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,
@@ -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 ---
+}