summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-25 18:31:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-25 21:33:09 +0300
commit42d107be2ecb0cf81c1a291bb4e63e78094bd62e (patch)
tree1cb81873ef6c596b835e655336e374d746f55da4 /src/gui/viewport.h
parenta8daff746c0a2cc2fe8459a4db8a15dfe94c80f0 (diff)
downloadmv-42d107be2ecb0cf81c1a291bb4e63e78094bd62e.tar.gz
mv-42d107be2ecb0cf81c1a291bb4e63e78094bd62e.tar.bz2
mv-42d107be2ecb0cf81c1a291bb4e63e78094bd62e.tar.xz
mv-42d107be2ecb0cf81c1a291bb4e63e78094bd62e.zip
Add relative mouse moving.
Enabled by default in Android version.
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 c370f1e3b..3724b4925 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -311,6 +311,7 @@ class Viewport final : public WindowContainer,
bool mEnableLazyScrolling;
int mScrollCenterOffsetX;
int mScrollCenterOffsetY;
+ bool mMouseDirectionMove;
int mMouseX; /**< Current mouse position in pixels. */
int mMouseY; /**< Current mouse position in pixels. */
int mPixelViewX; /**< Current viewpoint in pixels. */