From 6b0dd77da68d844633654a71bd1ae64250d36497 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 31 Oct 2012 02:55:45 +0300 Subject: Add screen buttons for left windows. Also fix hidden by default buttons. --- src/gui/windowmenu.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/gui/windowmenu.h') 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; }; /** -- cgit v1.2.3-60-g2f50