diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-31 02:55:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-31 02:57:08 +0300 |
commit | 6b0dd77da68d844633654a71bd1ae64250d36497 (patch) | |
tree | 704b662b361bb83e1413a062e716958cd6fadcc3 /src/gui/windowmenu.h | |
parent | 3bcb4a9850ac7ae81d5548d40c831f6699cdc866 (diff) | |
download | manaplus-6b0dd77da68d844633654a71bd1ae64250d36497.tar.gz manaplus-6b0dd77da68d844633654a71bd1ae64250d36497.tar.bz2 manaplus-6b0dd77da68d844633654a71bd1ae64250d36497.tar.xz manaplus-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.h | 8 |
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; }; /** |