summaryrefslogtreecommitdiff
path: root/src/dyetool/gui/viewport.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-03 22:39:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-03 22:39:35 +0300
commitf0f135493b2951af8661c8d7e7396c713164a723 (patch)
tree5fa4af6eb22cae8650cbd96d7dd7211223950414 /src/dyetool/gui/viewport.h
parent4039ef116901d4513c3535cc119dc40abd8e14df (diff)
downloadManaVerse-f0f135493b2951af8661c8d7e7396c713164a723.tar.gz
ManaVerse-f0f135493b2951af8661c8d7e7396c713164a723.tar.bz2
ManaVerse-f0f135493b2951af8661c8d7e7396c713164a723.tar.xz
ManaVerse-f0f135493b2951af8661c8d7e7396c713164a723.zip
Improve a bit calculations in viewport.
Diffstat (limited to 'src/dyetool/gui/viewport.h')
-rw-r--r--src/dyetool/gui/viewport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dyetool/gui/viewport.h b/src/dyetool/gui/viewport.h
index 763371338..e5159976b 100644
--- a/src/dyetool/gui/viewport.h
+++ b/src/dyetool/gui/viewport.h
@@ -152,6 +152,8 @@ class Viewport final : public WindowContainer,
void setCameraRelativeY(const int n)
{ mCameraRelativeY = n; }
+ void videoResized();
+
int mMouseX; /**< Current mouse position in pixels. */
int mMouseY; /**< Current mouse position in pixels. */