diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-09 21:11:56 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-09 21:11:56 -0400 |
| commit | d9315e6d8f528840dd396fbbeb96cb22c8a5df98 (patch) | |
| tree | 9fa3cc332b5da2b7872cf29983787ea3d5e83b95 /new/window_darwin.m | |
| parent | a7281f903407b1289d7aa3078f2e9bfb22f7724b (diff) | |
Added uiWindowMargined() and implemented it on all platforms.
Diffstat (limited to 'new/window_darwin.m')
| -rw-r--r-- | new/window_darwin.m | 7 |
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) { |
