mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 20:28:15 +00:00
Add NSWindow::content_layout_rect
This commit is contained in:
+4
@@ -124,6 +124,10 @@ Window_contentView :: proc(self: ^Window) -> ^View {
|
|||||||
Window_setContentView :: proc(self: ^Window, content_view: ^View) {
|
Window_setContentView :: proc(self: ^Window, content_view: ^View) {
|
||||||
msgSend(nil, self, "setContentView:", content_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")
|
@(objc_type=Window, objc_name="frame")
|
||||||
Window_frame :: proc(self: ^Window) -> Rect {
|
Window_frame :: proc(self: ^Window) -> Rect {
|
||||||
return msgSend(Rect, self, "frame")
|
return msgSend(Rect, self, "frame")
|
||||||
|
|||||||
Reference in New Issue
Block a user