summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-25 17:46:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-25 17:46:38 +0300
commit828ee982227fc8b4a426a64d3d5f01a7cd4c99a5 (patch)
tree27cca4e9688b3a89700fbb6a926369c17c46c0a4 /src/gui/widgets/button.h
parent9a57dd887539cab680cbcc2c8e7a2f18d5aa3c04 (diff)
downloadmanaplus-828ee982227fc8b4a426a64d3d5f01a7cd4c99a5.tar.gz
manaplus-828ee982227fc8b4a426a64d3d5f01a7cd4c99a5.tar.bz2
manaplus-828ee982227fc8b4a426a64d3d5f01a7cd4c99a5.tar.xz
manaplus-828ee982227fc8b4a426a64d3d5f01a7cd4c99a5.zip
Add safeDraw method into button.
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 d8c5e66b8..5c63c86ce 100644
--- a/src/gui/widgets/button.h
+++ b/src/gui/widgets/button.h
@@ -153,6 +153,8 @@ class Button final : public Widget,
*/
void draw(Graphics *graphics) override final;
+ void safeDraw(Graphics *graphics) override final;
+
/**
* Update the alpha value to the button components.
*/