diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-22 16:13:43 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-22 16:13:43 (GMT) |
| commit | e38fd405af5f07667203c6f584a5cdb00ed20ca2 (patch) | |
| tree | f5630c0e43cb848bb36a29c0d20599dcc324161c /src/interface/Checkbox.cpp | |
| parent | 553cf6552070aae93e1db031b57afdc8c9ba19e0 (diff) | |
| download | powder-e38fd405af5f07667203c6f584a5cdb00ed20ca2.zip powder-e38fd405af5f07667203c6f584a5cdb00ed20ca2.tar.gz | |
Correct quirks with drawrect and fillrect, change UI components accordingly, shorten save name in save button
Diffstat (limited to 'src/interface/Checkbox.cpp')
| -rw-r--r-- | src/interface/Checkbox.cpp | 4 |
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 |
