summaryrefslogtreecommitdiff
path: root/src/gui/popups/skillpopup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-22 21:58:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-22 22:06:08 +0300
commit9a50b90628eb61e1e48db35a36e9ad5c2a9a2bd5 (patch)
tree24ab6a1f2e367a15e2ac9b994e7060767068b8e5 /src/gui/popups/skillpopup.h
parente3f651e65f5a486f47ae81fe3ba5e68e8c48f79e (diff)
downloadplus-9a50b90628eb61e1e48db35a36e9ad5c2a9a2bd5.tar.gz
plus-9a50b90628eb61e1e48db35a36e9ad5c2a9a2bd5.tar.bz2
plus-9a50b90628eb61e1e48db35a36e9ad5c2a9a2bd5.tar.xz
plus-9a50b90628eb61e1e48db35a36e9ad5c2a9a2bd5.zip
Show selected and max skill levels in skill popup.
Diffstat (limited to 'src/gui/popups/skillpopup.h')
-rw-r--r--src/gui/popups/skillpopup.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/popups/skillpopup.h b/src/gui/popups/skillpopup.h
index 25d4058f7..8bc6e385d 100644
--- a/src/gui/popups/skillpopup.h
+++ b/src/gui/popups/skillpopup.h
@@ -54,7 +54,8 @@ class SkillPopup final : public Popup
/**
* Sets the info to be displayed given a particular item.
*/
- void show(const SkillInfo *const skill);
+ void show(const SkillInfo *const skill,
+ int level);
void mouseMoved(MouseEvent &event) override final;
@@ -62,7 +63,9 @@ class SkillPopup final : public Popup
Label *mSkillName A_NONNULLPOINTER;
TextBox *mSkillDesc A_NONNULLPOINTER;
TextBox *mSkillEffect A_NONNULLPOINTER;
+ TextBox *mSkillLevel A_NONNULLPOINTER;
unsigned int mLastId;
+ int mLastLevel;
};
extern SkillPopup *skillPopup;