2
0
JooperGH 2 жил өмнө
parent
commit
5519749aa4

+ 0 - 3
core/sys/windows/dwmapi.odin

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

+ 12 - 0
core/sys/windows/ux_theme.odin

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