summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-12 22:43:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-13 00:20:30 +0300
commit262ce6d0ee2737e8d24914e4ed35c29cc335060b (patch)
treef539503bcc7880e5138201e32c08853836a55ee8 /src/gui/widgets/scrollarea.h
parent1bff74b3a86602ba62f3eba2e482436418975432 (diff)
downloadplus-262ce6d0ee2737e8d24914e4ed35c29cc335060b.tar.gz
plus-262ce6d0ee2737e8d24914e4ed35c29cc335060b.tar.bz2
plus-262ce6d0ee2737e8d24914e4ed35c29cc335060b.tar.xz
plus-262ce6d0ee2737e8d24914e4ed35c29cc335060b.zip
Add theming support for background for scrollbars.
By default background is transparent.
Diffstat (limited to 'src/gui/widgets/scrollarea.h')
-rw-r--r--src/gui/widgets/scrollarea.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index 6d99be1ae..4abff1398 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -146,6 +146,8 @@ class ScrollArea : public gcn::ScrollArea, public gcn::WidgetListener
static ImageRect background;
static ImageRect vMarker;
static ImageRect vMarkerHi;
+ static ImageRect vBackground;
+ static ImageRect hBackground;
static Image *buttons[4][2];
int mX, mY;