aboutsummaryrefslogtreecommitdiff
path: root/core/sys
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-07-23 07:45:44 +0200
committerGitHub <noreply@github.com>2024-07-23 07:45:44 +0200
commitda80c51195a047fdc54ddcac9f69a3f74e5d8d92 (patch)
treeb28839a2913d1277404bf13abbe8de13c51d133a /core/sys
parentc5fb72340a543922d4773f78ea1ae6e208ec94f9 (diff)
parent9d99f98194712b4456b7f2ae7b9d6aafa28ecf4a (diff)
Merge pull request #3966 from KyleNBurke/sys-windows-add-type
Add `NCCALCSIZE_PARAMS` to `sys/windows`
Diffstat (limited to 'core/sys')
-rw-r--r--core/sys/windows/types.odin6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/sys/windows/types.odin b/core/sys/windows/types.odin
index 35f4174eb..675f681e5 100644
--- a/core/sys/windows/types.odin
+++ b/core/sys/windows/types.odin
@@ -1092,6 +1092,11 @@ NMHDR :: struct {
code: UINT, // NM_ code
}
+NCCALCSIZE_PARAMS :: struct {
+ rgrc: [3]RECT,
+ lppos: PWINDOWPOS,
+}
+
// Generic WM_NOTIFY notification codes
NM_OUTOFMEMORY :: ~uintptr(0) // -1
NM_CLICK :: NM_OUTOFMEMORY-1 // uses NMCLICK struct
@@ -2206,6 +2211,7 @@ FILE_TYPE_PIPE :: 0x0003
RECT :: struct {left, top, right, bottom: LONG}
POINT :: struct {x, y: LONG}
+PWINDOWPOS :: ^WINDOWPOS
WINDOWPOS :: struct {
hwnd: HWND,
hwndInsertAfter: HWND,