aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libraries/winFang.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2015-12-31 15:53:54 +1000
committerDavid Walter Seikel2015-12-31 15:53:54 +1000
commit556eca046775a1e612006bff8ed5ca36c6216c93 (patch)
tree0f0498918dcbcdd9dcea33be9b88e3a9c7d8e3c2 /src/libraries/winFang.h
parentReplace cube and sphere code with Evas_3D primitives. (diff)
downloadSledjHamr-556eca046775a1e612006bff8ed5ca36c6216c93.zip
SledjHamr-556eca046775a1e612006bff8ed5ca36c6216c93.tar.gz
SledjHamr-556eca046775a1e612006bff8ed5ca36c6216c93.tar.bz2
SledjHamr-556eca046775a1e612006bff8ed5ca36c6216c93.tar.xz
Fix menus, with an evil hack.
ELM managed to break the main menu, it never showed, no matter what I did, but the woMan menus worked fine. Refactored both so they use generic functions for building the menu. Put the main menu in it's own window, which mostly works fine. I gotta rip the elm menu system a new one, or just drop it entirely and build my own.
Diffstat (limited to '')
-rw-r--r--src/libraries/winFang.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libraries/winFang.h b/src/libraries/winFang.h
index f2aebfd..91ceb0c 100644
--- a/src/libraries/winFang.h
+++ b/src/libraries/winFang.h
@@ -88,4 +88,8 @@ void winFangDel(winFang *win);
88Widget *widgetAdd(winFang *win, char *type, char *title, int x, int y, int w, int h); 88Widget *widgetAdd(winFang *win, char *type, char *title, int x, int y, int w, int h);
89void widgetDel(Widget *wid); 89void widgetDel(Widget *wid);
90 90
91Evas_Object *makeMainMenu(winFang *win);
92Evas_Object *menuAdd(winFang *win, Evas_Object *tb, char *label);
93void makeMainMenuFinish(winFang *win, Evas_Object *tb);
94
91#endif 95#endif