diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-14 20:23:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-14 20:23:15 +0300 |
commit | 3fc421539bc81f27262b91554694509f3e47f865 (patch) | |
tree | b191e1de4932ddcd3fad4a6780d0308f79d68e5e /src/gui/popups/skillpopup.h | |
parent | 6a763f58ad8ab52b9b444b096a8f298d440e0a65 (diff) | |
download | plus-3fc421539bc81f27262b91554694509f3e47f865.tar.gz plus-3fc421539bc81f27262b91554694509f3e47f865.tar.bz2 plus-3fc421539bc81f27262b91554694509f3e47f865.tar.xz plus-3fc421539bc81f27262b91554694509f3e47f865.zip |
Show cast type in skill popup from custom place.
For skill shortcuts for now it always "Default".
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 be416330a..95d5a4133 100644 --- a/src/gui/popups/skillpopup.h +++ b/src/gui/popups/skillpopup.h @@ -26,6 +26,8 @@ #include "gui/widgets/popup.h" +#include "enums/resources/skill/casttype.h" + class Label; class TextBox; @@ -55,7 +57,8 @@ class SkillPopup final : public Popup * Sets the info to be displayed given a particular item. */ void show(const SkillInfo *const skill, - const int level); + const int level, + const CastTypeT type); void mouseMoved(MouseEvent &event) override final; @@ -67,6 +70,7 @@ class SkillPopup final : public Popup TextBox *mSkillEffect A_NONNULLPOINTER; TextBox *mSkillLevel A_NONNULLPOINTER; TextBox *mSkillCastType A_NONNULLPOINTER; + CastTypeT mCastType; unsigned int mLastId; int mLastLevel; }; |