diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-03 22:39:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-03 22:39:35 +0300 |
commit | f0f135493b2951af8661c8d7e7396c713164a723 (patch) | |
tree | 5fa4af6eb22cae8650cbd96d7dd7211223950414 /src/dyetool/gui | |
parent | 4039ef116901d4513c3535cc119dc40abd8e14df (diff) | |
download | manaplus-f0f135493b2951af8661c8d7e7396c713164a723.tar.gz manaplus-f0f135493b2951af8661c8d7e7396c713164a723.tar.bz2 manaplus-f0f135493b2951af8661c8d7e7396c713164a723.tar.xz manaplus-f0f135493b2951af8661c8d7e7396c713164a723.zip |
Improve a bit calculations in viewport.
Diffstat (limited to 'src/dyetool/gui')
-rw-r--r-- | src/dyetool/gui/viewport.cpp | 4 | ||||
-rw-r--r-- | src/dyetool/gui/viewport.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/dyetool/gui/viewport.cpp b/src/dyetool/gui/viewport.cpp index 786b7a4f1..48c79609c 100644 --- a/src/dyetool/gui/viewport.cpp +++ b/src/dyetool/gui/viewport.cpp @@ -263,3 +263,7 @@ bool Viewport::leftMouseAction() { return false; } + +void Viewport::videoResized() +{ +} 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. */ |