summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-26 16:01:14 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-26 16:01:14 +0200
commit02d6bcd53e06e1caeb335bd9b12bb16cc982d656 (patch)
tree37ac4f0f57d6d293bad24332d14e31b1cbb06f1d /src/gui/widgets/scrollarea.h
parent0a62226b1cc9c1b01ddab4feb9095ed7a5ba3e48 (diff)
downloadplus-02d6bcd53e06e1caeb335bd9b12bb16cc982d656.tar.gz
plus-02d6bcd53e06e1caeb335bd9b12bb16cc982d656.tar.bz2
plus-02d6bcd53e06e1caeb335bd9b12bb16cc982d656.tar.xz
plus-02d6bcd53e06e1caeb335bd9b12bb16cc982d656.zip
Fix scrollbar regression.
Yes, code look like hack, but it working.
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 e613170fa..0e5a8f850 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -154,6 +154,8 @@ class ScrollArea : public gcn::ScrollArea, public gcn::WidgetListener
bool mRedraw;
int mXOffset;
int mYOffset;
+ int mDrawWidth;
+ int mDrawHeight;
};
#endif