summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-04 03:07:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-04 03:41:46 +0300
commit4b2cb3433c82ba4ba28be8de82e0a49df7f3e388 (patch)
tree60f063d56d0aa316cfee4c1e1340b69cc992ede1 /src/gui/windowmenu.h
parentd5eb424dcd214b4646a960e04b9271e70b096856 (diff)
downloadmanaplus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.gz
manaplus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.bz2
manaplus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.xz
manaplus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.zip
Replace some lists to vectors.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index cebae7c11..503a8c1ad 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -30,6 +30,7 @@
#include <guichan/selectionlistener.hpp>
#include <map>
+#include <vector>
#ifdef __GNUC__
#define _UNUSED_ __attribute__ ((unused))
@@ -68,7 +69,7 @@ class WindowMenu : public Container,
std::map <std::string, gcn::Button*> &getButtonNames()
{ return mButtonNames; }
- std::list <gcn::Button*> &getButtons()
+ std::vector <gcn::Button*> &getButtons()
{ return mButtons; }
void showButton(std::string name, bool isVisible);
@@ -85,7 +86,7 @@ class WindowMenu : public Container,
EmotePopup *mEmotePopup;
TextPopup *mTextPopup;
- std::list <gcn::Button*> mButtons;
+ std::vector <gcn::Button*> mButtons;
std::map <std::string, gcn::Button*> mButtonNames;
};