diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-03 12:53:40 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-03 12:55:22 +0200 |
commit | 19bf50bbff325024c2ed9ad724aeb6acb39bae39 (patch) | |
tree | 811b25f52c49c501e58604757e5c72d442210377 /src/gui/widgets/scrollarea.cpp | |
parent | a8ebdf2555ac6b89afa2e0e575ba01c349ef3fe2 (diff) | |
download | mana-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.cpp | 4 |
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)); |