summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-09 22:07:05 (UTC)
committer simon <simon>2002-12-09 22:07:05 (UTC)
commit5a08075743a50a63eaad9c80884f4c2f4c69579b (patch) (unidiff)
tree4d0005b4fa5ed1856298a32f0a2f10ca55c3ee05
parent40ff6884f079a55fcf219b2d032c7be4da385bc1 (diff)
downloadopie-5a08075743a50a63eaad9c80884f4c2f4c69579b.zip
opie-5a08075743a50a63eaad9c80884f4c2f4c69579b.tar.gz
opie-5a08075743a50a63eaad9c80884f4c2f4c69579b.tar.bz2
- removed unused isHeld attribute
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediawidget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.h b/noncore/multimedia/opieplayer2/mediawidget.h
index 8c781e9..3b3a263 100644
--- a/noncore/multimedia/opieplayer2/mediawidget.h
+++ b/noncore/multimedia/opieplayer2/mediawidget.h
@@ -31,30 +31,29 @@
31 31
32#include <vector> 32#include <vector>
33 33
34class MediaWidget : public QWidget 34class MediaWidget : public QWidget
35{ 35{
36 Q_OBJECT 36 Q_OBJECT
37public: 37public:
38 enum Command { Play = 0, Stop, Next, Previous, VolumeUp, VolumeDown, Loop, PlayList, Forward, Back, FullScreen, Undefined }; 38 enum Command { Play = 0, Stop, Next, Previous, VolumeUp, VolumeDown, Loop, PlayList, Forward, Back, FullScreen, Undefined };
39 enum ButtonType { NormalButton, ToggleButton }; 39 enum ButtonType { NormalButton, ToggleButton };
40 40
41 struct Button 41 struct Button
42 { 42 {
43 Button() : command( Undefined ), type( NormalButton ), isHeld( false ), isDown( false ) {} 43 Button() : command( Undefined ), type( NormalButton ), isDown( false ) {}
44 44
45 Command command; 45 Command command;
46 46
47 ButtonType type; // this should be part of the bitfield but gcc2 is too buggy to support this :-( 47 ButtonType type; // this should be part of the bitfield but gcc2 is too buggy to support this :-(
48 bool isHeld : 1;
49 bool isDown : 1; 48 bool isDown : 1;
50 49
51 QBitmap mask; 50 QBitmap mask;
52 QPixmap pixUp; 51 QPixmap pixUp;
53 QPixmap pixDown; 52 QPixmap pixDown;
54 }; 53 };
55 typedef std::vector<Button> ButtonVector; 54 typedef std::vector<Button> ButtonVector;
56 55
57 struct SkinButtonInfo 56 struct SkinButtonInfo
58 { 57 {
59 Command command; 58 Command command;
60 const char *fileName; 59 const char *fileName;