Diffstat (limited to 'core/multimedia/opieplayer/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/audiowidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/audiowidget.cpp b/core/multimedia/opieplayer/audiowidget.cpp index 8bcc567..7da2d54 100644 --- a/core/multimedia/opieplayer/audiowidget.cpp +++ b/core/multimedia/opieplayer/audiowidget.cpp | |||
@@ -25,24 +25,25 @@ | |||
25 | #include "audiowidget.h" | 25 | #include "audiowidget.h" |
26 | #include "mediaplayerstate.h" | 26 | #include "mediaplayerstate.h" |
27 | 27 | ||
28 | #include <stdlib.h> | 28 | #include <stdlib.h> |
29 | #include <stdio.h> | 29 | #include <stdio.h> |
30 | 30 | ||
31 | extern MediaPlayerState *mediaPlayerState; | 31 | extern MediaPlayerState *mediaPlayerState; |
32 | 32 | ||
33 | 33 | ||
34 | static const int xo = -2; // movable x offset | 34 | static const int xo = -2; // movable x offset |
35 | static const int yo = 22; // movable y offset | 35 | static const int yo = 22; // movable y offset |
36 | 36 | ||
37 | using namespace Opie::Ui; | ||
37 | struct MediaButton { | 38 | struct MediaButton { |
38 | bool isToggle, isHeld, isDown; | 39 | bool isToggle, isHeld, isDown; |
39 | }; | 40 | }; |
40 | 41 | ||
41 | //Layout information for the audioButtons (and if it is a toggle button or not) | 42 | //Layout information for the audioButtons (and if it is a toggle button or not) |
42 | MediaButton audioButtons[] = { | 43 | MediaButton audioButtons[] = { |
43 | { TRUE, FALSE, FALSE }, // play | 44 | { TRUE, FALSE, FALSE }, // play |
44 | { FALSE, FALSE, FALSE }, // stop | 45 | { FALSE, FALSE, FALSE }, // stop |
45 | { FALSE, FALSE, FALSE }, // next | 46 | { FALSE, FALSE, FALSE }, // next |
46 | { FALSE, FALSE, FALSE }, // previous | 47 | { FALSE, FALSE, FALSE }, // previous |
47 | { FALSE, FALSE, FALSE }, // volume up | 48 | { FALSE, FALSE, FALSE }, // volume up |
48 | { FALSE, FALSE, FALSE }, // volume down | 49 | { FALSE, FALSE, FALSE }, // volume down |