diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-05-17 08:45:55 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-05-17 08:45:55 +0000 |
commit | 3fc2cd109a51e6a38783eb5438098d9a962bc655 (patch) | |
tree | 0c18618ac4d6ac58e9cad8d9a7a8ff47f7a3d342 /src/gui/menu.h | |
parent | 84fd76cd43e2d7c8e647e78eabc47279cfade973 (diff) | |
download | mana-client-3fc2cd109a51e6a38783eb5438098d9a962bc655.tar.gz mana-client-3fc2cd109a51e6a38783eb5438098d9a962bc655.tar.bz2 mana-client-3fc2cd109a51e6a38783eb5438098d9a962bc655.tar.xz mana-client-3fc2cd109a51e6a38783eb5438098d9a962bc655.zip |
Alt+m for testing menu, menuitems the same as button
Diffstat (limited to 'src/gui/menu.h')
-rw-r--r-- | src/gui/menu.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/gui/menu.h b/src/gui/menu.h index 3d24827a..a726e6a8 100644 --- a/src/gui/menu.h +++ b/src/gui/menu.h @@ -26,17 +26,22 @@ #include <guichan.hpp> #include "menuitem.h" +#include "window.h" -class Menu : public gcn::Widget -{ +class Menu : public Window { public: /** * Constructor. */ - Menu(const std::vector<MenuItem>& items); + Menu(const std::string& menulabel, std::vector<MenuItem>& items); + + /** + * Destructor. + */ + ~Menu(); + + void fill(std::vector<MenuItem>& items); - private: - int i; }; #endif /* _TMW_MENU_H */ |