diff options
| author | Jan Ivanecky <jan.ivanecky@hotmail.com> | 2022-11-17 17:57:23 -0500 |
|---|---|---|
| committer | Jan Ivanecky <jan.ivanecky@hotmail.com> | 2022-11-17 17:57:34 -0500 |
| commit | 6ae8adaa45da9cbeebbea07d5862991c6b27e38d (patch) | |
| tree | 2ccc2b602c99089c40fd5b3b870e29a56bfd9067 | |
| parent | 15bbdb2030510b9d15918536c7da8af3a376c0be (diff) | |
Add NSWindow::content_layout_rect
| -rw-r--r-- | vendor/darwin/Foundation/NSWindow.odin | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/darwin/Foundation/NSWindow.odin b/vendor/darwin/Foundation/NSWindow.odin index 15a73e63b..f164a474a 100644 --- a/vendor/darwin/Foundation/NSWindow.odin +++ b/vendor/darwin/Foundation/NSWindow.odin @@ -124,6 +124,10 @@ Window_contentView :: proc(self: ^Window) -> ^View { Window_setContentView :: proc(self: ^Window, content_view: ^View) { msgSend(nil, self, "setContentView:", content_view) } +@(objc_type=Window, objc_name="contentLayoutRect") +Window_contentLayoutRect :: proc(self: ^Window) -> Rect { + return msgSend(Rect, self, "contentLayoutRect") +} @(objc_type=Window, objc_name="frame") Window_frame :: proc(self: ^Window) -> Rect { return msgSend(Rect, self, "frame") |