Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 4172da0..7fb3781 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp @@ -53,46 +53,24 @@ namespace { const int xo = -2; // movable x offset const int yo = 22; // movable y offset -struct MediaButton { - bool isToggle, isHeld, isDown; -}; - -//Layout information for the audioButtons (and if it is a toggle button or not) -/* -MediaWidget::Button audioButtons[] = { - { TRUE, FALSE, FALSE }, // play - { FALSE, FALSE, FALSE }, // stop - { FALSE, FALSE, FALSE }, // next - { FALSE, FALSE, FALSE }, // previous - { FALSE, FALSE, FALSE }, // volume up - { FALSE, FALSE, FALSE }, // volume down - { TRUE, FALSE, FALSE }, // repeat/loop - { FALSE, FALSE, FALSE }, // playlist - { FALSE, FALSE, FALSE }, // forward - { FALSE, FALSE, FALSE } // back -}; -*/ - const char * const skin_mask_file_names[10] = { "play", "stop", "next", "prev", "up", "down", "loop", "playlist", "forward", "back" }; void changeTextColor( QWidget * w) { QPalette p = w->palette(); p.setBrush( QColorGroup::Background, QColor( 167, 212, 167 ) ); p.setBrush( QColorGroup::Base, QColor( 167, 212, 167 ) ); w->setPalette( p ); } -//const int numButtons = (sizeof(audioButtons)/sizeof(MediaWidget::Button)); - } AudioWidget::AudioWidget( PlayListWidget &playList, MediaPlayerState &mediaPlayerState, QWidget* parent, const char* name) : MediaWidget( playList, mediaPlayerState, parent, name ), songInfo( this ), slider( Qt::Horizontal, this ), time( this ) { |