summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-31 02:55:45 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-31 02:57:08 +0300
commit6b0dd77da68d844633654a71bd1ae64250d36497 (patch)
tree704b662b361bb83e1413a062e716958cd6fadcc3 /src/gui/windowmenu.h
parent3bcb4a9850ac7ae81d5548d40c831f6699cdc866 (diff)
downloadmanaverse-6b0dd77da68d844633654a71bd1ae64250d36497.tar.gz
manaverse-6b0dd77da68d844633654a71bd1ae64250d36497.tar.bz2
manaverse-6b0dd77da68d844633654a71bd1ae64250d36497.tar.xz
manaverse-6b0dd77da68d844633654a71bd1ae64250d36497.zip
Add screen buttons for left windows.
Also fix hidden by default buttons.
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;
};
/**