浏览代码

Merge pull request #4884 from Dzentsetsu/master

Add DWM_WINDOW_CORNER_PREFERENCE enum for window corner preferences
Jeroen van Rijn 6 月之前
父节点
当前提交
7841d0b14b
共有 1 个文件被更改,包括 7 次插入0 次删除
  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 ---