summaryrefslogtreecommitdiff
path: root/src/gui/checkbox.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-16 16:48:54 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-16 16:48:54 +0000
commit304c79eeb6785efc39576cc89985787c1faea485 (patch)
treebc23afb81e2a8a30fe31cf1b4b47b839a4293a0b /src/gui/checkbox.cpp
parentb4607a6c80a5ab7b09a79baa7b9f9d9c7aeab6ef (diff)
downloadmana-304c79eeb6785efc39576cc89985787c1faea485.tar.gz
mana-304c79eeb6785efc39576cc89985787c1faea485.tar.bz2
mana-304c79eeb6785efc39576cc89985787c1faea485.tar.xz
mana-304c79eeb6785efc39576cc89985787c1faea485.zip
Removed checkbox and dialog stuff.
Diffstat (limited to 'src/gui/checkbox.cpp')
-rw-r--r--src/gui/checkbox.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/checkbox.cpp b/src/gui/checkbox.cpp
index ed0bb841..f8a9a4ab 100644
--- a/src/gui/checkbox.cpp
+++ b/src/gui/checkbox.cpp
@@ -32,7 +32,6 @@ CheckBox::CheckBox(const std::string& caption, bool marked):
checkBoxChecked = checkBox->getSubImage(9, 0, 9, 10);
checkBoxDisabled = checkBox->getSubImage(18, 0, 9, 10);
checkBoxDisabledChecked = checkBox->getSubImage(27, 0, 9, 10);
-
}
void CheckBox::drawBox(gcn::Graphics* graphics) {
@@ -55,7 +54,7 @@ void CheckBox::drawBox(gcn::Graphics* graphics) {
x += 2;
y += 2;
- if(box != NULL) {
+ if (box != NULL) {
box->draw(buffer, x, y);
}
}