Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h index ce8604a..3ebec5b 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.h +++ b/noncore/multimedia/opieplayer2/audiowidget.h | |||
@@ -22,13 +22,13 @@ enum AudioButtons { | |||
22 | AudioVolumeDown, | 22 | AudioVolumeDown, |
23 | AudioLoop, | 23 | AudioLoop, |
24 | AudioPlayList | 24 | AudioPlayList |
25 | }; | 25 | }; |
26 | 26 | ||
27 | 27 | ||
28 | #define USE_DBLBUF | 28 | //#define USE_DBLBUF |
29 | 29 | ||
30 | 30 | ||
31 | class Ticker : public QFrame { | 31 | class Ticker : public QFrame { |
32 | Q_OBJECT | 32 | Q_OBJECT |
33 | 33 | ||
34 | public: | 34 | public: |
@@ -72,24 +72,36 @@ signals: | |||
72 | 72 | ||
73 | protected: | 73 | protected: |
74 | void doBlank(); | 74 | void doBlank(); |
75 | void doUnblank(); | 75 | void doUnblank(); |
76 | void paintEvent( QPaintEvent *pe ); | 76 | void paintEvent( QPaintEvent *pe ); |
77 | void showEvent( QShowEvent *se ); | 77 | void showEvent( QShowEvent *se ); |
78 | void resizeEvent( QResizeEvent *re ); | ||
78 | void mouseMoveEvent( QMouseEvent *event ); | 79 | void mouseMoveEvent( QMouseEvent *event ); |
79 | void mousePressEvent( QMouseEvent *event ); | 80 | void mousePressEvent( QMouseEvent *event ); |
80 | void mouseReleaseEvent( QMouseEvent *event ); | 81 | void mouseReleaseEvent( QMouseEvent *event ); |
81 | void timerEvent( QTimerEvent *event ); | 82 | void timerEvent( QTimerEvent *event ); |
82 | void closeEvent( QCloseEvent *event ); | 83 | void closeEvent( QCloseEvent *event ); |
83 | void keyReleaseEvent( QKeyEvent *e); | 84 | void keyReleaseEvent( QKeyEvent *e); |
84 | private: | 85 | private: |
85 | void toggleButton( int ); | 86 | void toggleButton( int ); |
86 | void setToggleButton( int, bool ); | 87 | void setToggleButton( int, bool ); |
87 | void paintButton( QPainter *p, int i ); | 88 | void paintButton( QPainter *p, int i ); |
89 | QString skin; | ||
90 | QPixmap *pixBg; | ||
91 | QImage *imgUp; | ||
92 | QImage *imgDn; | ||
93 | QImage *imgButtonMask; | ||
94 | QBitmap *masks[11]; | ||
95 | QPixmap *buttonPixUp[11]; | ||
96 | QPixmap *buttonPixDown[11]; | ||
97 | |||
88 | QPixmap *pixmaps[4]; | 98 | QPixmap *pixmaps[4]; |
89 | Ticker *songInfo; | 99 | Ticker songInfo; |
90 | QSlider *slider; | 100 | QSlider slider; |
101 | QLineEdit time; | ||
102 | int xoff, yoff; | ||
91 | }; | 103 | }; |
92 | 104 | ||
93 | 105 | ||
94 | #endif // AUDIO_WIDGET_H | 106 | #endif // AUDIO_WIDGET_H |
95 | 107 | ||