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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index 1ee485a8d..635febaec 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -41,14 +41,18 @@ class Window;
struct ButtonInfo final
{
- ButtonInfo(Button *button0, Window *window0) :
+ ButtonInfo(Button *button0, Window *window0, bool visible0) :
button(button0),
- window(window0)
+ window(window0),
+ visible(visible0)
{
}
+ A_DELETE_COPY(ButtonInfo)
+
Button *button;
Window *window;
+ bool visible;
};
/**