summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-21 23:53:27 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-22 00:51:53 +0300
commit1a8cf63488d8d6f4be297e753c31eea730ece226 (patch)
tree7e4050bdcd07e417d1c597c6c671c579c1d9256b /src/gui/widgets/button.h
parent3363acba6f1e8e51937ae2e354a8086c5c56b8cd (diff)
downloadmanaverse-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/widgets/button.h')
-rw-r--r--src/gui/widgets/button.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h
index a14a1a5a1..5f8c9e2ba 100644
--- a/src/gui/widgets/button.h
+++ b/src/gui/widgets/button.h
@@ -192,6 +192,8 @@ class Button final : public Widget,
void loadImageSet(const std::string &imageName);
+ void setImage(Image *const image);
+
void adjustSize();
void keyPressed(KeyEvent &event) override final;