浏览代码

Add DWM_WINDOW_CORNER_PREFERENCE enum for window corner preferences

Roman Osipov 6 月之前
父节点
当前提交
a1597022af
共有 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 ---