summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shortcutcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-22 23:29:25 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-22 23:29:25 +0300
commitf1dfe88c7a0c30de14439277c4ba7d69bd495fbf (patch)
tree2bfa5831dc055db21b21930b162dd39e6921e86f /src/gui/widgets/shortcutcontainer.h
parent6dff7bd4ebf3c1718ac18f756c5f65acbd83ebe9 (diff)
downloadplus-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.tar.gz
plus-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.tar.bz2
plus-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.tar.xz
plus-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.zip
Set skin object in shortcut containers for future usage.
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;