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_unix.c | |
| parent | a7281f903407b1289d7aa3078f2e9bfb22f7724b (diff) | |
Added uiWindowMargined() and implemented it on all platforms.
Diffstat (limited to 'new/window_unix.c')
| -rw-r--r-- | new/window_unix.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/new/window_unix.c b/new/window_unix.c index 9a614af..ba9b7ef 100644 --- a/new/window_unix.c +++ b/new/window_unix.c @@ -82,7 +82,10 @@ void uiWindowSetChild(uiWindow *w, uiControl *c) uiControlSetParent(uiContainer(w->container)->child, (uintptr_t) (w->container)); } -// TODO margined +int uiWindowMargined(uiWindow *w) +{ + return uiContainer(w->container)->margined; +} void uiWindowSetMargined(uiWindow *w, int margined) { |
