diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-10 23:02:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-10 23:02:26 +0300 |
commit | 4d236566cc8132fdbcb901668c3291f7cf3279af (patch) | |
tree | 80c732be5592689f64851fec8f869368eb6b000a /src/gui/widgets/scrollarea.h | |
parent | 6781809c3ae40507d86573f06c296706eff60e9a (diff) | |
download | manaplus-4d236566cc8132fdbcb901668c3291f7cf3279af.tar.gz manaplus-4d236566cc8132fdbcb901668c3291f7cf3279af.tar.bz2 manaplus-4d236566cc8132fdbcb901668c3291f7cf3279af.tar.xz manaplus-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.h | 1 |
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; |