diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-07 17:14:27 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-07 17:14:27 +0000 |
commit | f54bd48a884e4e3c95818f042a4b2418a6e070a4 (patch) | |
tree | 73e82729a2f97b58e94ffd6944ac1ad47bf8314e /src/ui/menu.h | |
parent | f8d1ee921c83b7b148883b3ee16e4ec9c776d6db (diff) |
working button click
Diffstat (limited to 'src/ui/menu.h')
-rw-r--r-- | src/ui/menu.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ui/menu.h b/src/ui/menu.h index 422b23f..376e069 100644 --- a/src/ui/menu.h +++ b/src/ui/menu.h @@ -25,17 +25,23 @@ public: /// load a menu from ini/menus/label.ini void load(); + void set_background(const char *texture); + Label *add_label(char const * text=0); - Button *add_button(char const *text=0, char const *command=0); - void set_background(const char *texture); + Button *add_button(char const *text=0, char const *command=0); protected: virtual void resize(); private: + float menu_element_width; + float menu_element_height; + float menu_element_margin; + Bitmap *menu_background; Window *menu_container; + }; } |