diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-07 15:23:07 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-07 15:23:07 +0000 |
commit | 92950d2f309550e21b33d851ef9bbf7906ce5e50 (patch) | |
tree | 18a6d2539c6e004e52cbebb1e61d8f8f0344f9a0 /src/gui/checkbox.cpp | |
parent | 3f3ba5f3e18b0a5093e7275aee574ecd6f293ec6 (diff) | |
download | mana-92950d2f309550e21b33d851ef9bbf7906ce5e50.tar.gz mana-92950d2f309550e21b33d851ef9bbf7906ce5e50.tar.bz2 mana-92950d2f309550e21b33d851ef9bbf7906ce5e50.tar.xz mana-92950d2f309550e21b33d851ef9bbf7906ce5e50.zip |
Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except for
gcn::TabbedArea usage)
Diffstat (limited to 'src/gui/checkbox.cpp')
-rw-r--r-- | src/gui/checkbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/checkbox.cpp b/src/gui/checkbox.cpp index fab4780c..5b300d33 100644 --- a/src/gui/checkbox.cpp +++ b/src/gui/checkbox.cpp @@ -34,8 +34,8 @@ Image *CheckBox::checkBoxChecked; Image *CheckBox::checkBoxDisabled; Image *CheckBox::checkBoxDisabledChecked; -CheckBox::CheckBox(const std::string& caption, bool marked): - gcn::CheckBox(caption, marked) +CheckBox::CheckBox(const std::string& caption, bool selected): + gcn::CheckBox(caption, selected) { if (instances == 0) { @@ -68,7 +68,7 @@ void CheckBox::drawBox(gcn::Graphics* graphics) { Image *box; - if (mMarked) { + if (isSelected()) { if (isEnabled()) { box = checkBoxChecked; } else { |