summaryrefslogtreecommitdiff
path: root/src/gui/scrollarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/scrollarea.cpp')
-rw-r--r--src/gui/scrollarea.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp
index a5c5542f..ad31ada8 100644
--- a/src/gui/scrollarea.cpp
+++ b/src/gui/scrollarea.cpp
@@ -277,26 +277,18 @@ void ScrollArea::drawRightButton(gcn::Graphics *graphics)
void ScrollArea::drawVBar(gcn::Graphics *graphics)
{
- //int x, y;
gcn::Rectangle dim = getVerticalBarDimension();
- //getAbsolutePosition(x, y);
-
graphics->setColor(gcn::Color(0, 0, 0, 32));
graphics->fillRectangle(dim);
- //((Graphics*)graphics)->drawImageRect(
- // x + dim.x, y + dim.y, dim.width, dim.height, background);
+ graphics->setColor(gcn::Color(255, 255, 255));
}
void ScrollArea::drawHBar(gcn::Graphics *graphics)
{
- //int x, y;
gcn::Rectangle dim = getHorizontalBarDimension();
- //getAbsolutePosition(x, y);
-
graphics->setColor(gcn::Color(0, 0, 0, 32));
graphics->fillRectangle(dim);
- //((Graphics*)graphics)->drawImageRect(
- // x + dim.x, y + dim.y, dim.width, dim.height, background);
+ graphics->setColor(gcn::Color(255, 255, 255));
}
void ScrollArea::drawVMarker(gcn::Graphics *graphics)