diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-08 00:38:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-08 00:38:31 +0300 |
commit | 344efb2009b8c6d329a6d19dd45ed49076252710 (patch) | |
tree | 2e5c1a7d9484e1cc3bfedac7b03c7146be442896 /src/gui/shortcut/itemshortcut.h | |
parent | fa4c5d79b04a319550996c48448cd799fe7fde56 (diff) | |
download | mv-344efb2009b8c6d329a6d19dd45ed49076252710.tar.gz mv-344efb2009b8c6d329a6d19dd45ed49076252710.tar.bz2 mv-344efb2009b8c6d329a6d19dd45ed49076252710.tar.xz mv-344efb2009b8c6d329a6d19dd45ed49076252710.zip |
Add into skill context menu for add shortcut.
Also add chat command for add skill shortcut by skill id into free slot.
Diffstat (limited to 'src/gui/shortcut/itemshortcut.h')
-rw-r--r-- | src/gui/shortcut/itemshortcut.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/shortcut/itemshortcut.h b/src/gui/shortcut/itemshortcut.h index b7ea160a7..15324d30c 100644 --- a/src/gui/shortcut/itemshortcut.h +++ b/src/gui/shortcut/itemshortcut.h @@ -168,6 +168,8 @@ class ItemShortcut final void clear(); + size_t getFreeIndex() const A_WARN_UNUSED; + private: int mItems[SHORTCUT_ITEMS]; /**< The items. */ ItemColor mItemColors[SHORTCUT_ITEMS]; /**< The item colors. */ |