summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shortcutcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/shortcutcontainer.h')
-rw-r--r--src/gui/widgets/shortcutcontainer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/shortcutcontainer.h b/src/gui/widgets/shortcutcontainer.h
index 2b3646755..fd64827ea 100644
--- a/src/gui/widgets/shortcutcontainer.h
+++ b/src/gui/widgets/shortcutcontainer.h
@@ -30,6 +30,7 @@
class Image;
class ImageCollection;
+class Skin;
/**
* A generic shortcut container.
@@ -90,6 +91,9 @@ class ShortcutContainer notfinal : public Widget,
void safeDrawBackground(Graphics *const g) A_NONNULL(2);
+ virtual void setSkin(const Widget2 *const widget,
+ Skin *const skin);
+
protected:
/**
* Constructor. Initializes the shortcut container.
@@ -107,6 +111,7 @@ class ShortcutContainer notfinal : public Widget,
const int pointY) const A_WARN_UNUSED;
Image *mBackgroundImg;
+ Skin *mSkin;
static float mAlpha;
unsigned mMaxItems;