summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-17 19:54:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-17 19:54:35 +0300
commitad6d93bed95046d983c005fce409e8e5328ce46f (patch)
tree7dda83948acdea0b762d60bbe8f442b7947494b0 /src/gui/windowmenu.h
parent8035bc3225899800c239689c32503542f97dd19d (diff)
downloadmv-ad6d93bed95046d983c005fce409e8e5328ce46f.tar.gz
mv-ad6d93bed95046d983c005fce409e8e5328ce46f.tar.bz2
mv-ad6d93bed95046d983c005fce409e8e5328ce46f.tar.xz
mv-ad6d93bed95046d983c005fce409e8e5328ce46f.zip
Move buttoninfo into separate file.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h17
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) :