diff options
author | David Walter Seikel | 2014-05-11 05:40:27 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-11 05:40:27 +1000 |
commit | 062cfdcc1b213d5cecd907a367dee51046e2eb7b (patch) | |
tree | d9df5b851518cad53452a611f17604e62033d218 /src/extantz | |
parent | Add internal window title bar, and dragging them around. Plus some related c... (diff) | |
download | SledjHamr-062cfdcc1b213d5cecd907a367dee51046e2eb7b.zip SledjHamr-062cfdcc1b213d5cecd907a367dee51046e2eb7b.tar.gz SledjHamr-062cfdcc1b213d5cecd907a367dee51046e2eb7b.tar.bz2 SledjHamr-062cfdcc1b213d5cecd907a367dee51046e2eb7b.tar.xz |
Add a rectangle to pad out those that don't use the winFang box, and have them make their widdgets relative to that.
Diffstat (limited to 'src/extantz')
-rw-r--r-- | src/extantz/files.c | 1 | ||||
-rw-r--r-- | src/extantz/woMan.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/extantz/files.c b/src/extantz/files.c index 3aeb7f9..6ac151d 100644 --- a/src/extantz/files.c +++ b/src/extantz/files.c | |||
@@ -147,6 +147,7 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa | |||
147 | Evas_Object *vbox, *fs, *bt, *rd = NULL, *rdg = NULL, *hoversel; | 147 | Evas_Object *vbox, *fs, *bt, *rd = NULL, *rdg = NULL, *hoversel; |
148 | 148 | ||
149 | me = winFangAdd(ourGlobals->mainWindow, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500, "file selector", "files", ourGlobals->world); | 149 | me = winFangAdd(ourGlobals->mainWindow, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500, "file selector", "files", ourGlobals->world); |
150 | useBox(me); | ||
150 | 151 | ||
151 | wid = widgetAdd(me, ELM_OBJ_FILESELECTOR_CLASS, me->box, NULL); | 152 | wid = widgetAdd(me, ELM_OBJ_FILESELECTOR_CLASS, me->box, NULL); |
152 | fs = wid->obj; | 153 | fs = wid->obj; |
diff --git a/src/extantz/woMan.c b/src/extantz/woMan.c index 52b3a30..6167cb1 100644 --- a/src/extantz/woMan.c +++ b/src/extantz/woMan.c | |||
@@ -160,6 +160,7 @@ winFang *woMan_add(globals *ourGlobals) | |||
160 | int i; | 160 | int i; |
161 | 161 | ||
162 | me = winFangAdd(ourGlobals->mainWindow, 30, 200, ourGlobals->win_w / 3, ourGlobals->win_h / 3, "virtual world manager", "woMan", ourGlobals->world); | 162 | me = winFangAdd(ourGlobals->mainWindow, 30, 200, ourGlobals->win_w / 3, ourGlobals->win_h / 3, "virtual world manager", "woMan", ourGlobals->world); |
163 | useBox(me); | ||
163 | 164 | ||
164 | // A tab thingy. | 165 | // A tab thingy. |
165 | tb = elm_toolbar_add(me->win); | 166 | tb = elm_toolbar_add(me->win); |