summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-25 20:12:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-25 20:12:20 +0300
commit80b0caa35e4b84b745daef7e4102b428539cdee5 (patch)
treeeb24de08cd9bed429569b34f35fa0f638fcdc93d /src/gui/widgets/checkbox.cpp
parent7369332bb0a6d219cb2415a0b5e65bf2825da349 (diff)
downloadmanaplus-80b0caa35e4b84b745daef7e4102b428539cdee5.tar.gz
manaplus-80b0caa35e4b84b745daef7e4102b428539cdee5.tar.bz2
manaplus-80b0caa35e4b84b745daef7e4102b428539cdee5.tar.xz
manaplus-80b0caa35e4b84b745daef7e4102b428539cdee5.zip
Remove safeDraw implimentation from Widget.
Diffstat (limited to 'src/gui/widgets/checkbox.cpp')
-rw-r--r--src/gui/widgets/checkbox.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index e2141058c..27e7d563b 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -184,6 +184,11 @@ void CheckBox::draw(Graphics *const graphics)
BLOCK_END("CheckBox::draw")
}
+void CheckBox::safeDraw(Graphics *const graphics)
+{
+ CheckBox::draw(graphics);
+}
+
void CheckBox::updateAlpha()
{
const float alpha = std::max(settings.guiAlpha,