diff options
author | David Walter Seikel | 2015-12-31 15:53:54 +1000 |
---|---|---|
committer | David Walter Seikel | 2015-12-31 15:53:54 +1000 |
commit | 556eca046775a1e612006bff8ed5ca36c6216c93 (patch) | |
tree | 0f0498918dcbcdd9dcea33be9b88e3a9c7d8e3c2 /src/libraries/winFang.h | |
parent | Replace cube and sphere code with Evas_3D primitives. (diff) | |
download | SledjHamr-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 'src/libraries/winFang.h')
-rw-r--r-- | src/libraries/winFang.h | 4 |
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); | |||
88 | Widget *widgetAdd(winFang *win, char *type, char *title, int x, int y, int w, int h); | 88 | Widget *widgetAdd(winFang *win, char *type, char *title, int x, int y, int w, int h); |
89 | void widgetDel(Widget *wid); | 89 | void widgetDel(Widget *wid); |
90 | 90 | ||
91 | Evas_Object *makeMainMenu(winFang *win); | ||
92 | Evas_Object *menuAdd(winFang *win, Evas_Object *tb, char *label); | ||
93 | void makeMainMenuFinish(winFang *win, Evas_Object *tb); | ||
94 | |||
91 | #endif | 95 | #endif |