From f3781554bf946a22ac307d1c8fe6154db05bbf2e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Aug 2016 03:01:07 +0300 Subject: Add ability to load/save additional data for each shortcut in shortcuts window. --- src/gui/shortcut/itemshortcut.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/shortcut/itemshortcut.h') diff --git a/src/gui/shortcut/itemshortcut.h b/src/gui/shortcut/itemshortcut.h index c28a094b3..d3418eadd 100644 --- a/src/gui/shortcut/itemshortcut.h +++ b/src/gui/shortcut/itemshortcut.h @@ -25,6 +25,8 @@ #include "enums/simpletypes/itemcolor.h" +#include + #include "localconsts.h" const unsigned int SHORTCUT_ITEMS = 20; @@ -155,6 +157,7 @@ class ItemShortcut final private: int mItems[SHORTCUT_ITEMS]; /**< The items. */ ItemColor mItemColors[SHORTCUT_ITEMS]; /**< The item colors. */ + std::string mItemData[SHORTCUT_ITEMS]; int mItemSelected; ItemColor mItemColorSelected; int mNumber; -- cgit v1.2.3-70-g09d2