diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-22 16:28:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-22 16:28:01 +0300 |
commit | 7bedfccf5982534a9cbcb2c18ca0d37df117bfc8 (patch) | |
tree | 1909b542e825fee82549cc3c8e3c7b7227b8956b /src/gui/widgets/scrollarea.cpp | |
parent | 8257d7d35e0dd915512df06cafb810f4611be06a (diff) | |
download | manaverse-7bedfccf5982534a9cbcb2c18ca0d37df117bfc8.tar.gz manaverse-7bedfccf5982534a9cbcb2c18ca0d37df117bfc8.tar.bz2 manaverse-7bedfccf5982534a9cbcb2c18ca0d37df117bfc8.tar.xz manaverse-7bedfccf5982534a9cbcb2c18ca0d37df117bfc8.zip |
Add new colors to themes: BORDER, BACKGROUND_GRAY, SCROLLBAR_GRAY.
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index 03f5f8c4c..3e90bf4c7 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -439,17 +439,17 @@ void ScrollArea::drawRightButton(gcn::Graphics *graphics) void ScrollArea::drawVBar(gcn::Graphics *graphics) { const gcn::Rectangle dim = getVerticalBarDimension(); - graphics->setColor(gcn::Color(0, 0, 0, 32)); + graphics->setColor(Theme::getThemeColor(Theme::SCROLLBAR_GRAY, 32)); graphics->fillRectangle(dim); - graphics->setColor(gcn::Color(255, 255, 255)); + graphics->setColor(Theme::getThemeColor(Theme::BACKGROUND)); } void ScrollArea::drawHBar(gcn::Graphics *graphics) { const gcn::Rectangle dim = getHorizontalBarDimension(); - graphics->setColor(gcn::Color(0, 0, 0, 32)); + graphics->setColor(Theme::getThemeColor(Theme::SCROLLBAR_GRAY, 32)); graphics->fillRectangle(dim); - graphics->setColor(gcn::Color(255, 255, 255)); + graphics->setColor(Theme::getThemeColor(Theme::BACKGROUND)); } void ScrollArea::drawVMarker(gcn::Graphics *graphics) |