author | simon <simon> | 2002-12-08 21:22:34 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-08 21:22:34 (UTC) |
commit | 10cf937a493866cfa0df9569f67c8cad25c62a5b (patch) (unidiff) | |
tree | 95719a27fb96ecb6c115f7816265a0377787db64 /noncore/multimedia/opieplayer2 | |
parent | a78a8d830d81adc8c6e9b2131329d72aa0c18b55 (diff) | |
download | opie-10cf937a493866cfa0df9569f67c8cad25c62a5b.zip opie-10cf937a493866cfa0df9569f67c8cad25c62a5b.tar.gz opie-10cf937a493866cfa0df9569f67c8cad25c62a5b.tar.bz2 |
- unused variables removed
Diffstat (limited to 'noncore/multimedia/opieplayer2') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 22 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.h | 4 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 14 |
3 files changed, 1 insertions, 39 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 4172da0..7fb3781 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -58,22 +58,2 @@ const int yo = 22; // movable y offset | |||
58 | 58 | ||
59 | struct MediaButton { | ||
60 | bool isToggle, isHeld, isDown; | ||
61 | }; | ||
62 | |||
63 | //Layout information for the audioButtons (and if it is a toggle button or not) | ||
64 | /* | ||
65 | MediaWidget::Button audioButtons[] = { | ||
66 | { TRUE, FALSE, FALSE }, // play | ||
67 | { FALSE, FALSE, FALSE }, // stop | ||
68 | { FALSE, FALSE, FALSE }, // next | ||
69 | { FALSE, FALSE, FALSE }, // previous | ||
70 | { FALSE, FALSE, FALSE }, // volume up | ||
71 | { FALSE, FALSE, FALSE }, // volume down | ||
72 | { TRUE, FALSE, FALSE }, // repeat/loop | ||
73 | { FALSE, FALSE, FALSE }, // playlist | ||
74 | { FALSE, FALSE, FALSE }, // forward | ||
75 | { FALSE, FALSE, FALSE } // back | ||
76 | }; | ||
77 | */ | ||
78 | |||
79 | const char * const skin_mask_file_names[10] = { | 59 | const char * const skin_mask_file_names[10] = { |
@@ -90,4 +70,2 @@ void changeTextColor( QWidget * w) { | |||
90 | 70 | ||
91 | //const int numButtons = (sizeof(audioButtons)/sizeof(MediaWidget::Button)); | ||
92 | |||
93 | } | 71 | } |
diff --git a/noncore/multimedia/opieplayer2/mediawidget.h b/noncore/multimedia/opieplayer2/mediawidget.h index 9cb75ae..8b0d48c 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.h +++ b/noncore/multimedia/opieplayer2/mediawidget.h | |||
@@ -37,5 +37,3 @@ public: | |||
37 | { | 37 | { |
38 | //Button() : isToggle( false ), isHeld( false ), isDown( false ) {} | 38 | Button() : isToggle( false ), isHeld( false ), isDown( false ) {} |
39 | // Button( bool toggle, bool held, bool down ) | ||
40 | // : isToggle( toggle ), isHeld( held ), isDown( down ) {} | ||
41 | 39 | ||
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index efd756c..6e2e03e 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp | |||
@@ -61,14 +61,2 @@ const int yo = 0; // movable y offset | |||
61 | 61 | ||
62 | /* | ||
63 | MediaWidget::Button videoButtons[] = { | ||
64 | { FALSE, FALSE, FALSE }, // stop | ||
65 | { TRUE, FALSE, FALSE }, // play | ||
66 | { FALSE, FALSE, FALSE }, // previous | ||
67 | { FALSE, FALSE, FALSE }, // next | ||
68 | { FALSE, FALSE, FALSE }, // volUp | ||
69 | { FALSE, FALSE, FALSE }, // volDown | ||
70 | { TRUE, FALSE, FALSE } // fullscreen | ||
71 | }; | ||
72 | */ | ||
73 | |||
74 | const char * const skinV_mask_file_names[7] = { | 62 | const char * const skinV_mask_file_names[7] = { |
@@ -77,4 +65,2 @@ const char * const skinV_mask_file_names[7] = { | |||
77 | 65 | ||
78 | //const int numVButtons = (sizeof(videoButtons)/sizeof(MediaWidget::Button)); | ||
79 | |||
80 | } | 66 | } |