Browse Source

Add DWM_WINDOW_CORNER_PREFERENCE enum for window corner preferences

Roman Osipov 6 months ago
parent
commit
a1597022af
1 changed files with 7 additions and 0 deletions
  1. 7 0
      core/sys/windows/dwmapi.odin

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

@@ -38,6 +38,13 @@ DWMNCRENDERINGPOLICY :: enum {
 	DWMNCRP_LAST,
 }
 
+DWM_WINDOW_CORNER_PREFERENCE :: enum c_int{
+   DEFAULT,
+   DONOTROUND,
+   ROUND,
+   ROUNDSMALL,
+}
+
 @(default_calling_convention="system")
 foreign dwmapi {
 	DwmFlush :: proc() -> HRESULT ---