Diffstat (limited to 'noncore/multimedia/opieplayer2/skin.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/skin.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.h b/noncore/multimedia/opieplayer2/skin.h index f160b3c..9276a5b 100644 --- a/noncore/multimedia/opieplayer2/skin.h +++ b/noncore/multimedia/opieplayer2/skin.h | |||
@@ -4,4 +4,7 @@ | |||
4 | #include <qstring.h> | 4 | #include <qstring.h> |
5 | #include <qimage.h> | 5 | #include <qimage.h> |
6 | #include <qmap.h> | ||
7 | |||
8 | #include "mediawidget.h" | ||
6 | 9 | ||
7 | class Skin | 10 | class Skin |
@@ -10,4 +13,6 @@ public: | |||
10 | Skin( const QString &name, const QString &fileNameInfix ); | 13 | Skin( const QString &name, const QString &fileNameInfix ); |
11 | 14 | ||
15 | void preload( const MediaWidget::SkinButtonInfo *skinButtonInfo, uint buttonCount ); | ||
16 | |||
12 | QImage backgroundImage() const; | 17 | QImage backgroundImage() const; |
13 | QImage buttonUpImage() const; | 18 | QImage buttonUpImage() const; |
@@ -21,4 +26,11 @@ private: | |||
21 | QString m_skinPath; | 26 | QString m_skinPath; |
22 | 27 | ||
28 | typedef QMap<QString, QImage> ButtonMaskImageMap; | ||
29 | |||
30 | mutable QImage m_backgroundImage; | ||
31 | mutable QImage m_buttonUpImage; | ||
32 | mutable QImage m_buttonDownImage; | ||
33 | mutable ButtonMaskImageMap m_buttonMasks; | ||
34 | |||
23 | Skin( const Skin & ); | 35 | Skin( const Skin & ); |
24 | Skin &operator=( const Skin & ); | 36 | Skin &operator=( const Skin & ); |