mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Added uxtheme bindings
This commit is contained in:
@@ -3,9 +3,6 @@ package sys_windows
|
|||||||
|
|
||||||
foreign import dwmapi "system:Dwmapi.lib"
|
foreign import dwmapi "system:Dwmapi.lib"
|
||||||
|
|
||||||
MARGINS :: distinct [4]int
|
|
||||||
PMARGINS :: ^MARGINS
|
|
||||||
|
|
||||||
DWMWINDOWATTRIBUTE :: enum {
|
DWMWINDOWATTRIBUTE :: enum {
|
||||||
DWMWA_NCRENDERING_ENABLED,
|
DWMWA_NCRENDERING_ENABLED,
|
||||||
DWMWA_NCRENDERING_POLICY,
|
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 ---
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user