author | llornkcor <llornkcor> | 2002-07-16 12:33:22 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-16 12:33:22 (UTC) |
commit | 4d5c003d4602e5e5bdc42deba7587fc0b838c7fb (patch) (unidiff) | |
tree | 7b20d18733555591dc11a557629a4cf94f727242 /noncore/multimedia/opieplayer2/audiowidget.h | |
parent | 5e9626775709fdf1815e3ff4584aede3ceaa4d58 (diff) | |
download | opie-4d5c003d4602e5e5bdc42deba7587fc0b838c7fb.zip opie-4d5c003d4602e5e5bdc42deba7587fc0b838c7fb.tar.gz opie-4d5c003d4602e5e5bdc42deba7587fc0b838c7fb.tar.bz2 |
added new audiowidget skinable from qtopia 1.6 graphics later
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 | |||
@@ -25,7 +25,7 @@ enum AudioButtons { | |||
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 { |
@@ -75,6 +75,7 @@ protected: | |||
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 ); |
@@ -85,9 +86,20 @@ 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 | ||