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 | |||
@@ -112,6 +112,8 @@ protected: | |||
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 ); |
@@ -143,6 +145,9 @@ protected: | |||
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 |