summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-05 23:34:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-06 00:07:18 +0300
commitbcdbc39b6efe7391866c81ef82a2e9358b6c3ff4 (patch)
treec296c08021c602687e3632b1f4c3f87033c99d34 /src/gui/popups/popupmenu.h
parent8b392d9c4a1c177c1207d297c75c1a4a06142245 (diff)
downloadmv-bcdbc39b6efe7391866c81ef82a2e9358b6c3ff4.tar.gz
mv-bcdbc39b6efe7391866c81ef82a2e9358b6c3ff4.tar.bz2
mv-bcdbc39b6efe7391866c81ef82a2e9358b6c3ff4.tar.xz
mv-bcdbc39b6efe7391866c81ef82a2e9358b6c3ff4.zip
Add menu for selected skill for now with item only "set skill level".s20160706
Also add chat command /showskilllevels SKILL
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r--src/gui/popups/popupmenu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index dc53312f4..cc1ad285f 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -163,6 +163,8 @@ class PopupMenu final : public Popup, public LinkHandler
void showSkillPopup(const SkillInfo *const info);
+ void showSkillLevelPopup(const SkillInfo *const info);
+
#ifdef EATHENA_SUPPORT
void showCraftPopup();
#endif
@@ -247,6 +249,8 @@ class PopupMenu final : public Popup, public LinkHandler
bool addBeingMenu();
+ void showSkillLevelMenu();
+
BrowserBox *mBrowserBox A_NONNULLPOINTER;
ScrollArea *mScrollArea A_NONNULLPOINTER;
@@ -271,6 +275,7 @@ class PopupMenu final : public Popup, public LinkHandler
BeingTypeId mSubType;
int mX;
int mY;
+ bool mAllowCleanMenu;
/**
* Shared code for the various showPopup functions.