summaryrefslogtreecommitdiff
path: root/new/window_darwin.m
diff options
context:
space:
mode:
Diffstat (limited to 'new/window_darwin.m')
-rw-r--r--new/window_darwin.m7
1 files changed, 6 insertions, 1 deletions
diff --git a/new/window_darwin.m b/new/window_darwin.m
index 0b8f1c3..2822a35 100644
--- a/new/window_darwin.m
+++ b/new/window_darwin.m
@@ -111,7 +111,12 @@ void uiWindowSetChild(uiWindow *w, uiControl *c)
uiControlSetParent(D.container.child, (uintptr_t) (D.container));
}
-// TODO margined
+int uiWindowMargined(uiWindow *w)
+{
+ if ([D.container uiMargined])
+ return 1;
+ return 0;
+}
void uiWindowSetMargined(uiWindow *w, int margined)
{