diff options
Diffstat (limited to 'src/gui/widgets/dropshortcutcontainer.h')
-rw-r--r-- | src/gui/widgets/dropshortcutcontainer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/dropshortcutcontainer.h b/src/gui/widgets/dropshortcutcontainer.h index 84d85c6c0..23addb8c2 100644 --- a/src/gui/widgets/dropshortcutcontainer.h +++ b/src/gui/widgets/dropshortcutcontainer.h @@ -26,6 +26,7 @@ #include "gui/widgets/shortcutcontainer.h" class ItemPopup; +class ShortcutBase; /** * An item shortcut container. Used to quickly use items. @@ -38,7 +39,8 @@ class DropShortcutContainer final : public ShortcutContainer /** * Constructor. Initializes the graphic. */ - explicit DropShortcutContainer(Widget2 *const widget); + DropShortcutContainer(Widget2 *const widget, + ShortcutBase *const shortcut); A_DELETE_COPY(DropShortcutContainer) @@ -82,6 +84,8 @@ class DropShortcutContainer final : public ShortcutContainer Color mEquipedColor2; Color mUnEquipedColor; Color mUnEquipedColor2; + + ShortcutBase *mShortcut; }; #endif // GUI_WIDGETS_DROPSHORTCUTCONTAINER_H |