summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/audiowidget.cpp
Unidiff
Diffstat (limited to 'core/multimedia/opieplayer/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/audiowidget.cpp1
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
31extern MediaPlayerState *mediaPlayerState; 31extern MediaPlayerState *mediaPlayerState;
32 32
33 33
34static const int xo = -2; // movable x offset 34static const int xo = -2; // movable x offset
35static const int yo = 22; // movable y offset 35static const int yo = 22; // movable y offset
36 36
37using namespace Opie::Ui;
37struct MediaButton { 38struct 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)
42MediaButton audioButtons[] = { 43MediaButton 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