diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-17 19:54:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-17 19:54:35 +0300 |
commit | ad6d93bed95046d983c005fce409e8e5328ce46f (patch) | |
tree | 7dda83948acdea0b762d60bbe8f442b7947494b0 /src/gui/windowmenu.h | |
parent | 8035bc3225899800c239689c32503542f97dd19d (diff) | |
download | manaverse-ad6d93bed95046d983c005fce409e8e5328ce46f.tar.gz manaverse-ad6d93bed95046d983c005fce409e8e5328ce46f.tar.bz2 manaverse-ad6d93bed95046d983c005fce409e8e5328ce46f.tar.xz manaverse-ad6d93bed95046d983c005fce409e8e5328ce46f.zip |
Move buttoninfo into separate file.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r-- | src/gui/windowmenu.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h index 9eb520bff..07067debd 100644 --- a/src/gui/windowmenu.h +++ b/src/gui/windowmenu.h @@ -37,24 +37,9 @@ #include <vector> class Button; +class ButtonInfo; class TextPopup; -struct ButtonInfo final -{ - ButtonInfo(Button *const button0, const int key0, const bool visible0) : - button(button0), - key(key0), - visible(visible0) - { - } - - A_DELETE_COPY(ButtonInfo) - - Button *button; - int key; - bool visible; -}; - struct ButtonText final { ButtonText(const std::string &text0, const int key0) : |