summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-05 17:56:24 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-05 17:56:24 +0300
commit83117a93393329cc61a76614e4ca5686efa56154 (patch)
treeaf491de891fcb35c93c83645a546b9481f7d3bf6 /src/gui/viewport.h
parent70a2f900b22258278fde443ec2e3416c56d4f5b5 (diff)
downloadManaVerse-83117a93393329cc61a76614e4ca5686efa56154.tar.gz
ManaVerse-83117a93393329cc61a76614e4ca5686efa56154.tar.bz2
ManaVerse-83117a93393329cc61a76614e4ca5686efa56154.tar.xz
ManaVerse-83117a93393329cc61a76614e4ca5686efa56154.zip
Add option to enable/disable lazy scrolling.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index 50c81aff4..8823928a3 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -286,6 +286,7 @@ class Viewport : public WindowContainer, public gcn::MouseListener,
int mScrollLaziness;
bool mShowBeingPopup;
bool mSelfMouseHeal;
+ bool mEnableLazyScrolling;
int mScrollCenterOffsetX;
int mScrollCenterOffsetY;
int mMouseX; /**< Current mouse position in pixels. */