summaryrefslogtreecommitdiff
path: root/src/interface/Checkbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/Checkbox.cpp')
-rw-r--r--src/interface/Checkbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface/Checkbox.cpp b/src/interface/Checkbox.cpp
index 3244552..2481b23 100644
--- a/src/interface/Checkbox.cpp
+++ b/src/interface/Checkbox.cpp
@@ -60,12 +60,12 @@ void Checkbox::Draw(const Point& screenPos)
Graphics * g = Engine::Ref().g;
if(checked)
{
- g->fillrect(screenPos.X+4, screenPos.Y+4, 8, 8, 255, 255, 255, 255);
+ g->fillrect(screenPos.X+5, screenPos.Y+5, 6, 6, 255, 255, 255, 255);
}
if(isMouseOver)
{
g->drawrect(screenPos.X+2, screenPos.Y+2, 12, 12, 255, 255, 255, 255);
- g->fillrect(screenPos.X+4, screenPos.Y+4, 8, 8, 255, 255, 255, 170);
+ g->fillrect(screenPos.X+5, screenPos.Y+5, 6, 6, 255, 255, 255, 170);
g->drawtext(screenPos.X+18, screenPos.Y+4, text, 255, 255, 255, 255);
}
else