summaryrefslogtreecommitdiff
path: root/src/gui/shortcut/itemshortcut.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-14 20:23:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-14 20:23:15 +0300
commit3fc421539bc81f27262b91554694509f3e47f865 (patch)
treeb191e1de4932ddcd3fad4a6780d0308f79d68e5e /src/gui/shortcut/itemshortcut.h
parent6a763f58ad8ab52b9b444b096a8f298d440e0a65 (diff)
downloadmanaplus-3fc421539bc81f27262b91554694509f3e47f865.tar.gz
manaplus-3fc421539bc81f27262b91554694509f3e47f865.tar.bz2
manaplus-3fc421539bc81f27262b91554694509f3e47f865.tar.xz
manaplus-3fc421539bc81f27262b91554694509f3e47f865.zip
Show cast type in skill popup from custom place.
For skill shortcuts for now it always "Default".
Diffstat (limited to 'src/gui/shortcut/itemshortcut.h')
-rw-r--r--src/gui/shortcut/itemshortcut.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/shortcut/itemshortcut.h b/src/gui/shortcut/itemshortcut.h
index d3418eadd..4f223478f 100644
--- a/src/gui/shortcut/itemshortcut.h
+++ b/src/gui/shortcut/itemshortcut.h
@@ -73,6 +73,9 @@ class ItemShortcut final
ItemColor getItemColor(const int index) const A_WARN_UNUSED
{ return mItemColors[index]; }
+ std::string getItemData(const int index) const A_WARN_UNUSED
+ { return mItemData[index]; }
+
/**
* Returns the amount of shortcut items.
*/