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 | |
parent | 4039ef116901d4513c3535cc119dc40abd8e14df (diff) | |
download | plus-f0f135493b2951af8661c8d7e7396c713164a723.tar.gz plus-f0f135493b2951af8661c8d7e7396c713164a723.tar.bz2 plus-f0f135493b2951af8661c8d7e7396c713164a723.tar.xz plus-f0f135493b2951af8661c8d7e7396c713164a723.zip |
Improve a bit calculations in viewport.
Diffstat (limited to 'src/dyetool')
-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. */ |