diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-05-21 08:48:54 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-05-21 08:48:54 +0000 |
commit | b89398608993f2e50b7c7edd8aabe7cb1c1c216b (patch) | |
tree | ba71bfec8ce7fc3955f58bd24da702f86325528e /src/gui/menu.h | |
parent | 77436e727119ae4d762d426efcd1d84748f9edea (diff) | |
download | mana-b89398608993f2e50b7c7edd8aabe7cb1c1c216b.tar.gz mana-b89398608993f2e50b7c7edd8aabe7cb1c1c216b.tar.bz2 mana-b89398608993f2e50b7c7edd8aabe7cb1c1c216b.tar.xz mana-b89398608993f2e50b7c7edd8aabe7cb1c1c216b.zip |
Fixed menu so it is working..
Diffstat (limited to 'src/gui/menu.h')
-rw-r--r-- | src/gui/menu.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/menu.h b/src/gui/menu.h index a726e6a8..5d905c86 100644 --- a/src/gui/menu.h +++ b/src/gui/menu.h @@ -33,14 +33,17 @@ class Menu : public Window { /** * Constructor. */ - Menu(const std::string& menulabel, std::vector<MenuItem>& items); + Menu(const std::string& menulabel, std::vector<MenuItem *> items); /** * Destructor. */ ~Menu(); - void fill(std::vector<MenuItem>& items); + /** + * Fill menu with menuitems + */ + void fill(std::vector<MenuItem *> items); }; |