summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-23 02:00:05 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-23 02:00:05 +0300
commitf9c1374417b17c45f84884e9ca0327910d187898 (patch)
tree64003f4a8d4b088be58bbf6de299b47c585a76bb /src/gui/widgets/itemshortcutcontainer.h
parent4150f81fd2bd2de6251f0bdf05361922c63713e5 (diff)
downloadplus-f9c1374417b17c45f84884e9ca0327910d187898.tar.gz
plus-f9c1374417b17c45f84884e9ca0327910d187898.tar.bz2
plus-f9c1374417b17c45f84884e9ca0327910d187898.tar.xz
plus-f9c1374417b17c45f84884e9ca0327910d187898.zip
Add skin options keyOffsetX and keyOffsetY for key offset.
In item shortcut container.
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.h')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.h b/src/gui/widgets/itemshortcutcontainer.h
index 73f599add..ee1242b80 100644
--- a/src/gui/widgets/itemshortcutcontainer.h
+++ b/src/gui/widgets/itemshortcutcontainer.h
@@ -78,13 +78,14 @@ class ItemShortcutContainer final : public ShortcutContainer
Skin *const skin) override final;
private:
- bool mItemClicked;
- unsigned mNumber;
-
Color mEquipedColor;
Color mEquipedColor2;
Color mUnEquipedColor;
Color mUnEquipedColor2;
+ unsigned mNumber;
+ int mKeyOffsetX;
+ int mKeyOffsetY;
+ bool mItemClicked;
};
#endif // GUI_WIDGETS_ITEMSHORTCUTCONTAINER_H