summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-08 23:33:06 (UTC)
committer simon <simon>2002-12-08 23:33:06 (UTC)
commitf6735fca221658fa6d638f7826f89eb8d79caa26 (patch) (side-by-side diff)
tree16c60ec4c72bfc704c9490a1295b13d13c0762d8
parent4e2e28e4ebc3c67be16f51de33e33c5e33f95e7f (diff)
downloadopie-f6735fca221658fa6d638f7826f89eb8d79caa26.zip
opie-f6735fca221658fa6d638f7826f89eb8d79caa26.tar.gz
opie-f6735fca221658fa6d638f7826f89eb8d79caa26.tar.bz2
- synchronizing the button indices a bit more with the audiowidget
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp6
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp
index 77eab71..2f51c82 100644
--- a/noncore/multimedia/opieplayer2/videowidget.cpp
+++ b/noncore/multimedia/opieplayer2/videowidget.cpp
@@ -57,13 +57,13 @@ namespace
{
const int xo = 2; // movable x offset
const int yo = 0; // movable y offset
const char * const skinV_mask_file_names[7] = {
-"stop","play","back","fwd","up","down","full"
+"play","stop","fwd","back","up","down","full"
};
}
VideoWidget::VideoWidget( PlayListWidget &playList, MediaPlayerState &mediaPlayerState, QWidget* parent, const char* name )
: MediaWidget( playList, mediaPlayerState, parent, name ), scaledWidth( 0 ), scaledHeight( 0 )
@@ -74,16 +74,16 @@ VideoWidget::VideoWidget( PlayListWidget &playList, MediaPlayerState &mediaPlaye
defaultButton.isToggle = defaultButton.isHeld = defaultButton.isDown = false;
Button toggleButton;
toggleButton.isToggle = true;
toggleButton.isHeld = toggleButton.isDown = false;
buttons.reserve( 7 );
- buttons.push_back( defaultButton ); // stop
buttons.push_back( toggleButton ); // play
- buttons.push_back( defaultButton ); // previous
+ buttons.push_back( defaultButton ); // stop
buttons.push_back( defaultButton ); // next
+ buttons.push_back( defaultButton ); // previous
buttons.push_back( defaultButton ); // volUp
buttons.push_back( defaultButton ); // volDown
buttons.push_back( toggleButton ); //fullscreen
videoFrame = new XineVideoWidget ( this, "Video frame" );
diff --git a/noncore/multimedia/opieplayer2/videowidget.h b/noncore/multimedia/opieplayer2/videowidget.h
index 24e8741..cb6171c 100644
--- a/noncore/multimedia/opieplayer2/videowidget.h
+++ b/noncore/multimedia/opieplayer2/videowidget.h
@@ -42,17 +42,17 @@
#include "mediawidget.h"
class QPixmap;
class QSlider;
enum VideoButtons {
- VideoStop = 0,
- VideoPlay,
+ VideoPlay = 0,
+ VideoStop,
// VideoPause,
- VideoPrevious,
VideoNext,
+ VideoPrevious,
VideoVolUp,
VideoVolDown,
VideoFullscreen
};
class VideoWidget : public MediaWidget {