summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-05-20 12:47:39 -0600
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-14 20:54:03 +0100
commit79aee9aa7cd48dee1660e3b1bf50142ceda7ae34 (patch)
tree16365f61183d3f37dd19ce144c0aea2f543b0f6d /src/gui/widgets/scrollarea.h
parentc686e575c0715eb8738cb9d3a619549df4695e87 (diff)
downloadmana-79aee9aa7cd48dee1660e3b1bf50142ceda7ae34.tar.gz
mana-79aee9aa7cd48dee1660e3b1bf50142ceda7ae34.tar.bz2
mana-79aee9aa7cd48dee1660e3b1bf50142ceda7ae34.tar.xz
mana-79aee9aa7cd48dee1660e3b1bf50142ceda7ae34.zip
Fixed ScrollAreas to allow for continual scrolling, as long as the mouse
button is pressed, instead of just moving one tick for each press. Signed-off-by: Tametomo <irarice@gmail.com>
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 42e0923e..aa7b71a0 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -139,6 +139,8 @@ class ScrollArea : public gcn::ScrollArea, public gcn::WidgetListener
int mX,mY;
bool mHasMouse;
bool mOpaque;
+
+ int mLastUpdate;
};
#endif