diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-21 23:53:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-22 00:51:53 +0300 |
commit | 1a8cf63488d8d6f4be297e753c31eea730ece226 (patch) | |
tree | 7e4050bdcd07e417d1c597c6c671c579c1d9256b /src/gui/windowmenu.h | |
parent | 3363acba6f1e8e51937ae2e354a8086c5c56b8cd (diff) | |
download | manaverse-1a8cf63488d8d6f4be297e753c31eea730ece226.tar.gz manaverse-1a8cf63488d8d6f4be297e753c31eea730ece226.tar.bz2 manaverse-1a8cf63488d8d6f4be297e753c31eea730ece226.tar.xz manaverse-1a8cf63488d8d6f4be297e753c31eea730ece226.zip |
Add option for show shortcuts buttons icons.
Icons by Guaritore.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r-- | src/gui/windowmenu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h index a3a3a0eed..4fdfaf2b4 100644 --- a/src/gui/windowmenu.h +++ b/src/gui/windowmenu.h @@ -34,6 +34,7 @@ #include "localconsts.h" class Button; +class ImageSet; struct ButtonInfo; struct ButtonText; @@ -95,6 +96,7 @@ class WindowMenu final : public Container, private: inline void addButton(const char *const text, + const int iconNumber, const std::string &description, int &restrict x, int &restrict h, const InputActionT key, @@ -103,6 +105,7 @@ class WindowMenu final : public Container, void updateButtons(); Skin *mSkin; + ImageSet *mImageSet; int mPadding; int mSpacing; STD_VECTOR <Button*> mButtons; |