summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-17 20:07:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-17 20:07:42 +0300
commitb59b62516e22d599e0532e6e0f777769ccaadf4a (patch)
treeca1b3a04c2363ed4ec3fcd96c8a085a22ef0bb63 /src/gui/windowmenu.h
parentad6d93bed95046d983c005fce409e8e5328ce46f (diff)
downloadplus-b59b62516e22d599e0532e6e0f777769ccaadf4a.tar.gz
plus-b59b62516e22d599e0532e6e0f777769ccaadf4a.tar.bz2
plus-b59b62516e22d599e0532e6e0f777769ccaadf4a.tar.xz
plus-b59b62516e22d599e0532e6e0f777769ccaadf4a.zip
Move buttontext into separate file.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index 07067debd..cdcf77082 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -38,22 +38,9 @@
class Button;
class ButtonInfo;
+class ButtonText;
class TextPopup;
-struct ButtonText final
-{
- ButtonText(const std::string &text0, const int key0) :
- text(text0),
- key(key0)
- {
- }
-
- A_DELETE_COPY(ButtonText)
-
- std::string text;
- int key;
-};
-
/**
* The window menu. Allows showing and hiding many of the different windows
* used in the game.