Browse Source

Merge pull request #3966 from KyleNBurke/sys-windows-add-type

Add `NCCALCSIZE_PARAMS` to `sys/windows`
Jeroen van Rijn 1 year ago
parent
commit
da80c51195
1 changed files with 6 additions and 0 deletions
  1. 6 0
      core/sys/windows/types.odin

+ 6 - 0
core/sys/windows/types.odin

@@ -1092,6 +1092,11 @@ NMHDR :: struct {
 	code:     UINT,      // NM_ code
 	code:     UINT,      // NM_ code
 }
 }
 
 
+NCCALCSIZE_PARAMS :: struct {
+	rgrc: [3]RECT,
+	lppos: PWINDOWPOS,
+}
+
 // Generic WM_NOTIFY notification codes
 // Generic WM_NOTIFY notification codes
 NM_OUTOFMEMORY          :: ~uintptr(0) // -1
 NM_OUTOFMEMORY          :: ~uintptr(0) // -1
 NM_CLICK                :: NM_OUTOFMEMORY-1  // uses NMCLICK struct
 NM_CLICK                :: NM_OUTOFMEMORY-1  // uses NMCLICK struct
@@ -2206,6 +2211,7 @@ FILE_TYPE_PIPE :: 0x0003
 RECT  :: struct {left, top, right, bottom: LONG}
 RECT  :: struct {left, top, right, bottom: LONG}
 POINT :: struct {x, y: LONG}
 POINT :: struct {x, y: LONG}
 
 
+PWINDOWPOS :: ^WINDOWPOS
 WINDOWPOS :: struct {
 WINDOWPOS :: struct {
 	hwnd: HWND,
 	hwnd: HWND,
 	hwndInsertAfter: HWND,
 	hwndInsertAfter: HWND,