Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.h b/noncore/multimedia/opieplayer2/mediawidget.h index 9f13677..4599637 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.h +++ b/noncore/multimedia/opieplayer2/mediawidget.h | |||
@@ -109,12 +109,14 @@ protected: | |||
109 | void loadSkin( const SkinButtonInfo *skinInfo, uint buttonCount, const Skin &skin ); | 109 | void loadSkin( const SkinButtonInfo *skinInfo, uint buttonCount, const Skin &skin ); |
110 | 110 | ||
111 | virtual void closeEvent( QCloseEvent * ); | 111 | virtual void closeEvent( QCloseEvent * ); |
112 | 112 | ||
113 | virtual void paintEvent( QPaintEvent *pe ); | 113 | virtual void paintEvent( QPaintEvent *pe ); |
114 | 114 | ||
115 | virtual void resizeEvent( QResizeEvent *e ); | ||
116 | |||
115 | Button *buttonAt( const QPoint &position ); | 117 | Button *buttonAt( const QPoint &position ); |
116 | 118 | ||
117 | virtual void mousePressEvent( QMouseEvent *event ); | 119 | virtual void mousePressEvent( QMouseEvent *event ); |
118 | virtual void mouseReleaseEvent( QMouseEvent *event ); | 120 | virtual void mouseReleaseEvent( QMouseEvent *event ); |
119 | 121 | ||
120 | virtual void makeVisible(); | 122 | virtual void makeVisible(); |
@@ -140,11 +142,14 @@ protected: | |||
140 | 142 | ||
141 | QPoint upperLeftOfButtonMask; | 143 | QPoint upperLeftOfButtonMask; |
142 | 144 | ||
143 | QPixmap backgroundPixmap; | 145 | QPixmap backgroundPixmap; |
144 | QImage buttonUpImage; | 146 | QImage buttonUpImage; |
145 | QImage buttonDownImage; | 147 | QImage buttonDownImage; |
148 | |||
149 | static QPixmap combineImageWithBackground( const QImage &background, const QPixmap &pixmap, const QPoint &offset ); | ||
150 | static QPixmap addMaskToPixmap( const QPixmap &pix, const QBitmap &mask ); | ||
146 | }; | 151 | }; |
147 | 152 | ||
148 | #endif // MEDIAWIDGET_H | 153 | #endif // MEDIAWIDGET_H |
149 | /* vim: et sw=4 ts=4 | 154 | /* vim: et sw=4 ts=4 |
150 | */ | 155 | */ |