summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-11 22:30:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-11 22:30:56 +0300
commit561f5e1f0010e61d648efe340edf5d4c43b51761 (patch)
treec223aadde6d7f6eb23b3a42ffe4d99c3ab853c9e /src/gui/widgets/scrollarea.h
parent0b373909f1ad987e38b9c07f799f48c3c0b0c3fd (diff)
downloadmanaplus-561f5e1f0010e61d648efe340edf5d4c43b51761.tar.gz
manaplus-561f5e1f0010e61d648efe340edf5d4c43b51761.tar.bz2
manaplus-561f5e1f0010e61d648efe340edf5d4c43b51761.tar.xz
manaplus-561f5e1f0010e61d648efe340edf5d4c43b51761.zip
Add theme option to set scrollbar width/height.
New theme option: scrollbarsize - set scrollbar size. Default value 12.
Diffstat (limited to 'src/gui/widgets/scrollarea.h')
-rw-r--r--src/gui/widgets/scrollarea.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index 3c391e4ae..6772e9e0c 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -175,6 +175,7 @@ class ScrollArea final : public gcn::ScrollArea,
static float mAlpha;
static bool mShowButtons;
static int mMarkerSize;
+ static int mScrollbarSize;
static ImageRect background;
static ImageRect vMarker;
static ImageRect vMarkerHi;