summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index f619a161a..6486fc62c 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -67,10 +67,21 @@ class WindowMenu : public Container,
std::map <std::string, gcn::Button*> &getButtonNames()
{ return mButtonNames; }
+ std::list <gcn::Button*> &getButtons()
+ { return mButtons; }
+
+ void showButton(std::string name, bool isVisible);
+
+ void loadButtons();
+
+ void saveButtons();
+
private:
inline void addButton(const char* text, std::string description,
int &x, int &h, int key);
+ void updateButtons();
+
EmotePopup *mEmotePopup;
TextPopup *mTextPopup;
std::list <gcn::Button*> mButtons;