diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-25 17:55:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-25 17:55:41 +0300 |
commit | 0bcc82648c49db05980e879a13baba2c76264bd4 (patch) | |
tree | acca283e6a63dabc01ffb476c44d444dc18537e8 /src/gui/widgets/progressbar.h | |
parent | 828ee982227fc8b4a426a64d3d5f01a7cd4c99a5 (diff) | |
download | manaplus-0bcc82648c49db05980e879a13baba2c76264bd4.tar.gz manaplus-0bcc82648c49db05980e879a13baba2c76264bd4.tar.bz2 manaplus-0bcc82648c49db05980e879a13baba2c76264bd4.tar.xz manaplus-0bcc82648c49db05980e879a13baba2c76264bd4.zip |
Add safeDraw method into progressbar.
Diffstat (limited to 'src/gui/widgets/progressbar.h')
-rw-r--r-- | src/gui/widgets/progressbar.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/widgets/progressbar.h b/src/gui/widgets/progressbar.h index 2a379a998..053710ae8 100644 --- a/src/gui/widgets/progressbar.h +++ b/src/gui/widgets/progressbar.h @@ -73,6 +73,8 @@ class ProgressBar final : public Widget, */ void draw(Graphics *graphics) override final; + void safeDraw(Graphics *graphics) override final; + /** * Sets the current progress. */ @@ -127,11 +129,6 @@ class ProgressBar final : public Widget, void setSmoothColorChange(bool smoothColorChange) { mSmoothColorChange = smoothColorChange; } - /** - * Renders a progressbar with the given properties. - */ - void render(Graphics *graphics); - void widgetResized(const Event &event) override final; void widgetMoved(const Event &event) override final; |