diff options
Diffstat (limited to 'src/gui/checkbox.cpp')
-rw-r--r-- | src/gui/checkbox.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/checkbox.cpp b/src/gui/checkbox.cpp index ce7762d9..7506d3c0 100644 --- a/src/gui/checkbox.cpp +++ b/src/gui/checkbox.cpp @@ -68,9 +68,6 @@ CheckBox::~CheckBox() void CheckBox::drawBox(gcn::Graphics* graphics) { Image *box = NULL; - int x, y; - - getAbsolutePosition(x, y); if (mMarked) { if (isEnabled()) { @@ -84,9 +81,7 @@ void CheckBox::drawBox(gcn::Graphics* graphics) box = checkBoxDisabled; } - x += 2; - y += 2; if (box != NULL) { - dynamic_cast<Graphics*>(graphics)->drawImage(box, x, y); + dynamic_cast<Graphics*>(graphics)->drawImage(box, 2, 2); } } |