summaryrefslogtreecommitdiff
path: root/new/test.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 21:11:56 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 21:11:56 -0400
commitd9315e6d8f528840dd396fbbeb96cb22c8a5df98 (patch)
tree9fa3cc332b5da2b7872cf29983787ea3d5e83b95 /new/test.c
parenta7281f903407b1289d7aa3078f2e9bfb22f7724b (diff)
Added uiWindowMargined() and implemented it on all platforms.
Diffstat (limited to 'new/test.c')
-rw-r--r--new/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/new/test.c b/new/test.c
index 6d43afb..e63ed89 100644
--- a/new/test.c
+++ b/new/test.c
@@ -102,7 +102,8 @@ static void showSpaced(uiControl *c, void *data)
{
char msg[] = { 'm', ' ', '0', ' ', 'p', ' ', '0', '\0' };
- // TODO margined
+ if (uiWindowMargined(w))
+ msg[2] = '1';
if (uiStackPadded(stacks[0]))
msg[6] = '1';
uiEntrySetText(e, msg);