Browse Source

Merge pull request #4884 from Dzentsetsu/master

Add DWM_WINDOW_CORNER_PREFERENCE enum for window corner preferences
Jeroen van Rijn 6 tháng trước cách đây
mục cha
commit
7841d0b14b
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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 ---