From ad6d93bed95046d983c005fce409e8e5328ce46f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 17 May 2014 19:54:35 +0300 Subject: Move buttoninfo into separate file. --- src/gui/windowmenu.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'src/gui/windowmenu.h') 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 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) : -- cgit v1.2.3-60-g2f50