diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-25 18:31:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-25 21:33:09 +0300 |
commit | 42d107be2ecb0cf81c1a291bb4e63e78094bd62e (patch) | |
tree | 1cb81873ef6c596b835e655336e374d746f55da4 /src/gui/viewport.h | |
parent | a8daff746c0a2cc2fe8459a4db8a15dfe94c80f0 (diff) | |
download | manaplus-42d107be2ecb0cf81c1a291bb4e63e78094bd62e.tar.gz manaplus-42d107be2ecb0cf81c1a291bb4e63e78094bd62e.tar.bz2 manaplus-42d107be2ecb0cf81c1a291bb4e63e78094bd62e.tar.xz manaplus-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.h | 1 |
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. */ |