author | simon <simon> | 2002-12-08 23:33:06 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-08 23:33:06 (UTC) |
commit | f6735fca221658fa6d638f7826f89eb8d79caa26 (patch) (side-by-side diff) | |
tree | 16c60ec4c72bfc704c9490a1295b13d13c0762d8 | |
parent | 4e2e28e4ebc3c67be16f51de33e33c5e33f95e7f (diff) | |
download | opie-f6735fca221658fa6d638f7826f89eb8d79caa26.zip opie-f6735fca221658fa6d638f7826f89eb8d79caa26.tar.gz opie-f6735fca221658fa6d638f7826f89eb8d79caa26.tar.bz2 |
- synchronizing the button indices a bit more with the audiowidget
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 6 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.h | 6 |
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 @@ -60,7 +60,7 @@ 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" }; } @@ -77,10 +77,10 @@ VideoWidget::VideoWidget( PlayListWidget &playList, MediaPlayerState &mediaPlaye 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 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 @@ -45,11 +45,11 @@ class QPixmap; class QSlider; enum VideoButtons { - VideoStop = 0, - VideoPlay, + VideoPlay = 0, + VideoStop, // VideoPause, - VideoPrevious, VideoNext, + VideoPrevious, VideoVolUp, VideoVolDown, VideoFullscreen |