author | simon <simon> | 2002-12-11 12:47:06 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-11 12:47:06 (UTC) |
commit | dd6a6d5345e191ffa6da3e015c4e024bd8ca67b7 (patch) (unidiff) | |
tree | 565797ef0522be6d3cff893d8bc04c4378306c16 /noncore/multimedia/opieplayer2/skin.h | |
parent | 6f5e269efd9d6a5910251ce26750134e841f7b14 (diff) | |
download | opie-dd6a6d5345e191ffa6da3e015c4e024bd8ca67b7.zip opie-dd6a6d5345e191ffa6da3e015c4e024bd8ca67b7.tar.gz opie-dd6a6d5345e191ffa6da3e015c4e024bd8ca67b7.tar.bz2 |
- button mask composing moved to Skin class
Diffstat (limited to 'noncore/multimedia/opieplayer2/skin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/skin.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.h b/noncore/multimedia/opieplayer2/skin.h index 9276a5b..14873e7 100644 --- a/noncore/multimedia/opieplayer2/skin.h +++ b/noncore/multimedia/opieplayer2/skin.h | |||
@@ -14,3 +14,3 @@ public: | |||
14 | 14 | ||
15 | void preload( const MediaWidget::SkinButtonInfo *skinButtonInfo, uint buttonCount ); | 15 | void preload( const MediaWidget::SkinButtonInfo *skinButtonInfo, uint buttonCount, const QSize &buttonAreaSize ); |
16 | 16 | ||
@@ -20,2 +20,4 @@ public: | |||
20 | 20 | ||
21 | QImage buttonMask( const MediaWidget::SkinButtonInfo *skinButtonInfo, uint buttonCount, const QSize &buttonAreaSize ) const; | ||
22 | |||
21 | QImage buttonMaskImage( const QString &fileName ) const; | 23 | QImage buttonMaskImage( const QString &fileName ) const; |
@@ -23,2 +25,4 @@ public: | |||
23 | private: | 25 | private: |
26 | void addButtonToMask( int tag, const QImage &maskImage ) const; | ||
27 | |||
24 | QString m_name; | 28 | QString m_name; |
@@ -32,2 +36,3 @@ private: | |||
32 | mutable QImage m_buttonDownImage; | 36 | mutable QImage m_buttonDownImage; |
37 | mutable QImage m_buttonMask; | ||
33 | mutable ButtonMaskImageMap m_buttonMasks; | 38 | mutable ButtonMaskImageMap m_buttonMasks; |