summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-14 19:48:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-14 19:48:40 +0300
commitdb461ee046e63b7148174c40e05de76c5d7be31a (patch)
tree06e4386463e495b8e74e7dbc2bfea0da6c34413a /src/gui/windowmenu.h
parent066488a6f4d086b57f4fe32e8799c207552cccb7 (diff)
downloadmanaverse-db461ee046e63b7148174c40e05de76c5d7be31a.tar.gz
manaverse-db461ee046e63b7148174c40e05de76c5d7be31a.tar.bz2
manaverse-db461ee046e63b7148174c40e05de76c5d7be31a.tar.xz
manaverse-db461ee046e63b7148174c40e05de76c5d7be31a.zip
Replace gcn::Button to Button in all classes.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index 7ce1d0830..a6d55de68 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -65,10 +65,10 @@ class WindowMenu final : public Container,
void mouseExited(gcn::MouseEvent& mouseEvent A_UNUSED) override;
- std::map <std::string, gcn::Button*> &getButtonNames()
+ std::map <std::string, Button*> &getButtonNames()
{ return mButtonNames; }
- std::vector <gcn::Button*> &getButtons()
+ std::vector <Button*> &getButtons()
{ return mButtons; }
void showButton(const std::string &name, const bool visible);
@@ -91,8 +91,8 @@ class WindowMenu final : public Container,
void updateButtons();
TextPopup *mTextPopup;
- std::vector <gcn::Button*> mButtons;
- std::map <std::string, gcn::Button*> mButtonNames;
+ std::vector <Button*> mButtons;
+ std::map <std::string, Button*> mButtonNames;
bool mHaveMouse;
int mAutoHide;
};