summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-03 12:53:40 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-03 12:55:22 +0200
commit19bf50bbff325024c2ed9ad724aeb6acb39bae39 (patch)
tree811b25f52c49c501e58604757e5c72d442210377 /src/gui/widgets/scrollarea.cpp
parenta8ebdf2555ac6b89afa2e0e575ba01c349ef3fe2 (diff)
downloadmana-19bf50bbff325024c2ed9ad724aeb6acb39bae39.tar.gz
mana-19bf50bbff325024c2ed9ad724aeb6acb39bae39.tar.bz2
mana-19bf50bbff325024c2ed9ad724aeb6acb39bae39.tar.xz
mana-19bf50bbff325024c2ed9ad724aeb6acb39bae39.zip
Moved strprintf into stringutils.{h,cpp}
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r--src/gui/widgets/scrollarea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp
index 57995ba1..ff3a23d1 100644
--- a/src/gui/widgets/scrollarea.cpp
+++ b/src/gui/widgets/scrollarea.cpp
@@ -278,7 +278,7 @@ void ScrollArea::drawRightButton(gcn::Graphics *graphics)
void ScrollArea::drawVBar(gcn::Graphics *graphics)
{
- gcn::Rectangle dim = getVerticalBarDimension();
+ const gcn::Rectangle dim = getVerticalBarDimension();
graphics->setColor(gcn::Color(0, 0, 0, 32));
graphics->fillRectangle(dim);
graphics->setColor(gcn::Color(255, 255, 255));
@@ -286,7 +286,7 @@ void ScrollArea::drawVBar(gcn::Graphics *graphics)
void ScrollArea::drawHBar(gcn::Graphics *graphics)
{
- gcn::Rectangle dim = getHorizontalBarDimension();
+ const gcn::Rectangle dim = getHorizontalBarDimension();
graphics->setColor(gcn::Color(0, 0, 0, 32));
graphics->fillRectangle(dim);
graphics->setColor(gcn::Color(255, 255, 255));