Diffstat (limited to 'core/multimedia/opieplayer/videowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/videowidget.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/multimedia/opieplayer/videowidget.cpp b/core/multimedia/opieplayer/videowidget.cpp index 5273ad3..d002c42 100644 --- a/core/multimedia/opieplayer/videowidget.cpp +++ b/core/multimedia/opieplayer/videowidget.cpp | |||
@@ -2,53 +2,49 @@ | |||
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qpe/resource.h> | 20 | #include <qpe/resource.h> |
21 | #include <qpe/mediaplayerplugininterface.h> | 21 | #include <qpe/mediaplayerplugininterface.h> |
22 | #include <qpe/config.h> | 22 | #include <qpe/config.h> |
23 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
24 | 24 | ||
25 | #include <qdir.h> | 25 | #include <qdir.h> |
26 | #include <qwidget.h> | ||
27 | #include <qpainter.h> | ||
28 | #include <qpixmap.h> | ||
29 | #include <qslider.h> | 26 | #include <qslider.h> |
30 | #include <qdrawutil.h> | ||
31 | #include "videowidget.h" | 27 | #include "videowidget.h" |
32 | #include "mediaplayerstate.h" | 28 | #include "mediaplayerstate.h" |
33 | 29 | ||
34 | 30 | ||
35 | #ifdef Q_WS_QWS | 31 | #ifdef Q_WS_QWS |
36 | # define USE_DIRECT_PAINTER | 32 | # define USE_DIRECT_PAINTER |
37 | # include <qdirectpainter_qws.h> | 33 | # include <qdirectpainter_qws.h> |
38 | # include <qgfxraster_qws.h> | 34 | # include <qgfxraster_qws.h> |
39 | #endif | 35 | #endif |
40 | 36 | ||
41 | 37 | ||
42 | extern MediaPlayerState *mediaPlayerState; | 38 | extern MediaPlayerState *mediaPlayerState; |
43 | 39 | ||
44 | 40 | ||
45 | static const int xo = 2; // movable x offset | 41 | static const int xo = 2; // movable x offset |
46 | static const int yo = 0; // movable y offset | 42 | static const int yo = 0; // movable y offset |
47 | 43 | ||
48 | 44 | ||
49 | struct MediaButton { | 45 | struct MediaButton { |
50 | // int xPos, yPos; | 46 | // int xPos, yPos; |
51 | bool isToggle, isHeld, isDown; | 47 | bool isToggle, isHeld, isDown; |
52 | // int controlType; | 48 | // int controlType; |
53 | }; | 49 | }; |
54 | 50 | ||