diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-17 22:31:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:18 +0300 |
commit | a3db00d09e414b7fdaac39afc3dc623fdf564c31 (patch) | |
tree | 5276654de627fd2e652049ff2846ac8f8460fa91 /src/gui/widgets | |
parent | c94f403bd5c5810971c22bc2b93649e985ab6f68 (diff) | |
download | plus-a3db00d09e414b7fdaac39afc3dc623fdf564c31.tar.gz plus-a3db00d09e414b7fdaac39afc3dc623fdf564c31.tar.bz2 plus-a3db00d09e414b7fdaac39afc3dc623fdf564c31.tar.xz plus-a3db00d09e414b7fdaac39afc3dc623fdf564c31.zip |
fix definitions in checkbox.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/checkbox.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/checkbox.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index 52230a6d0..e21e50c53 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -92,7 +92,7 @@ CheckBox::~CheckBox() } } -void CheckBox::draw(gcn::Graphics* graphics) +void CheckBox::draw(gcn::Graphics *const graphics) { BLOCK_START("CheckBox::draw") drawBox(graphics); diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h index d470ac425..22316730a 100644 --- a/src/gui/widgets/checkbox.h +++ b/src/gui/widgets/checkbox.h @@ -44,7 +44,7 @@ class CheckBox final : public gcn::CheckBox, * Constructor. */ CheckBox(const Widget2 *const widget, - const std::string &caption, bool selected = false, + const std::string &caption, const bool selected = false, gcn::ActionListener *const listener = nullptr, const std::string &eventId = ""); @@ -68,7 +68,7 @@ class CheckBox final : public gcn::CheckBox, /** * Draws the check box, not the caption. */ - void drawBox(gcn::Graphics* graphics); + void drawBox(gcn::Graphics *const graphics); /** * Called when the mouse enteres the widget area. |