diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-15 20:53:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-15 20:53:32 +0300 |
commit | f2b5d38744860360b4b592920c4732aea839ab75 (patch) | |
tree | 861f05e56f628d3fc3554ada44bfb98b1803ab01 /src/gui/popups/skillpopup.h | |
parent | e5cdd67b71b9d26d5d8a4182a64379fe8a8b4f7a (diff) | |
download | mv-f2b5d38744860360b4b592920c4732aea839ab75.tar.gz mv-f2b5d38744860360b4b592920c4732aea839ab75.tar.bz2 mv-f2b5d38744860360b4b592920c4732aea839ab75.tar.xz mv-f2b5d38744860360b4b592920c4732aea839ab75.zip |
Copy skill cast offset to shortcuts.
Also show offsets in skill popup in shortcuts.
Diffstat (limited to 'src/gui/popups/skillpopup.h')
-rw-r--r-- | src/gui/popups/skillpopup.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/popups/skillpopup.h b/src/gui/popups/skillpopup.h index 95d5a4133..b4bc95500 100644 --- a/src/gui/popups/skillpopup.h +++ b/src/gui/popups/skillpopup.h @@ -58,7 +58,9 @@ class SkillPopup final : public Popup */ void show(const SkillInfo *const skill, const int level, - const CastTypeT type); + const CastTypeT type, + const int offsetX, + const int offsetY); void mouseMoved(MouseEvent &event) override final; @@ -73,6 +75,8 @@ class SkillPopup final : public Popup CastTypeT mCastType; unsigned int mLastId; int mLastLevel; + int mOffsetX; + int mOffsetY; }; extern SkillPopup *skillPopup; |