author | llornkcor <llornkcor> | 2002-08-10 17:41:15 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-10 17:41:15 (UTC) |
commit | b488752cf2149443dcebcc8f7ad21c1ba47070fa (patch) (unidiff) | |
tree | 461adc8345f14d495466e5082f36651a844bde67 /noncore/multimedia/opieplayer2/videowidget.h | |
parent | fb46a101bab9348ebfb68094b7c6cf54e56ea774 (diff) | |
download | opie-b488752cf2149443dcebcc8f7ad21c1ba47070fa.zip opie-b488752cf2149443dcebcc8f7ad21c1ba47070fa.tar.gz opie-b488752cf2149443dcebcc8f7ad21c1ba47070fa.tar.bz2 |
added skins to videowidget, fixed fullscreen menu. Still needs work on buttonmask.
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.h b/noncore/multimedia/opieplayer2/videowidget.h index 04e810e..830696e 100644 --- a/noncore/multimedia/opieplayer2/videowidget.h +++ b/noncore/multimedia/opieplayer2/videowidget.h | |||
@@ -58,2 +58,3 @@ public: | |||
58 | 58 | ||
59 | bool playVideo(); | ||
59 | XineVideoWidget* vidWidget(); | 60 | XineVideoWidget* vidWidget(); |
@@ -73,5 +74,7 @@ signals: | |||
73 | void sliderMoved( long ); | 74 | void sliderMoved( long ); |
74 | void videoResized ( const QSize &s ); | 75 | void videoResized ( const QSize &s ); |
75 | 76 | ||
76 | protected: | 77 | protected: |
78 | QString skin; | ||
79 | void resizeEvent( QResizeEvent * ); | ||
77 | void paintEvent( QPaintEvent *pe ); | 80 | void paintEvent( QPaintEvent *pe ); |
@@ -84,2 +87,14 @@ protected: | |||
84 | private: | 87 | private: |
88 | // Ticker songInfo; | ||
89 | QPixmap *pixBg; | ||
90 | QImage *imgUp; | ||
91 | QImage *imgDn; | ||
92 | QImage *imgButtonMask; | ||
93 | QBitmap *masks[7]; | ||
94 | QPixmap *buttonPixUp[7]; | ||
95 | QPixmap *buttonPixDown[7]; | ||
96 | // QPixmap *pixmaps[4]; | ||
97 | int xoff, yoff; | ||
98 | |||
99 | |||
85 | void paintButton( QPainter *p, int i ); | 100 | void paintButton( QPainter *p, int i ); |