diff options
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 */ |