summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-10 23:02:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-10 23:02:26 +0300
commit4d236566cc8132fdbcb901668c3291f7cf3279af (patch)
tree80c732be5592689f64851fec8f869368eb6b000a /src/gui/widgets/scrollarea.h
parent6781809c3ae40507d86573f06c296706eff60e9a (diff)
downloadplus-4d236566cc8132fdbcb901668c3291f7cf3279af.tar.gz
plus-4d236566cc8132fdbcb901668c3291f7cf3279af.tar.bz2
plus-4d236566cc8132fdbcb901668c3291f7cf3279af.tar.xz
plus-4d236566cc8132fdbcb901668c3291f7cf3279af.zip
Add option to scrollbuttons.xml to set scroll marker size.
New theme option: markersize - set market scroll size. Default is 0 (auto count).
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 3a552ee75..3c391e4ae 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -174,6 +174,7 @@ class ScrollArea final : public gcn::ScrollArea,
static int instances;
static float mAlpha;
static bool mShowButtons;
+ static int mMarkerSize;
static ImageRect background;
static ImageRect vMarker;
static ImageRect vMarkerHi;