author | simon <simon> | 2002-12-09 15:15:23 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 15:15:23 (UTC) |
commit | 3f37a852175ace7ee69b626f48eaea19d736b6ed (patch) (side-by-side diff) | |
tree | 5b35af63926143660dc634d27b9b230cc13aca7c /noncore/multimedia/opieplayer2/videowidget.cpp | |
parent | 80902b6ade54252e05cf948040a11b2e975f6759 (diff) | |
download | opie-3f37a852175ace7ee69b626f48eaea19d736b6ed.zip opie-3f37a852175ace7ee69b626f48eaea19d736b6ed.tar.gz opie-3f37a852175ace7ee69b626f48eaea19d736b6ed.tar.bz2 |
- pixBg is now backgroundPixmap and shared in the base class
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index a483434..a8bf252 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp @@ -94,3 +94,3 @@ VideoWidget::VideoWidget( PlayListWidget &playList, MediaPlayerState &mediaPlaye QString skinPath = "opieplayer2/skins/" + skin; - pixBg = QPixmap( Resource::loadPixmap( QString("%1/background").arg(skinPath) ) ); + backgroundPixmap = QPixmap( Resource::loadPixmap( QString("%1/background").arg(skinPath) ) ); imgUp = QImage( Resource::loadImage( QString("%1/skinV_up").arg(skinPath) ) ); @@ -120,3 +120,3 @@ VideoWidget::VideoWidget( PlayListWidget &playList, MediaPlayerState &mediaPlaye - setBackgroundPixmap( pixBg ); + setBackgroundPixmap( backgroundPixmap ); @@ -165,3 +165,3 @@ void VideoWidget::resizeEvent( QResizeEvent * ) { slider->setFocusPolicy( QWidget::NoFocus ); - slider->setBackgroundPixmap( pixBg ); + slider->setBackgroundPixmap( backgroundPixmap ); @@ -174,4 +174,4 @@ void VideoWidget::resizeEvent( QResizeEvent * ) { - QPixmap *pixUp = combineVImageWithBackground( imgUp, pixBg, p ); - QPixmap *pixDn = combineVImageWithBackground( imgDn, pixBg, p ); + QPixmap *pixUp = combineVImageWithBackground( imgUp, backgroundPixmap, p ); + QPixmap *pixDn = combineVImageWithBackground( imgDn, backgroundPixmap, p ); @@ -347,3 +347,3 @@ void VideoWidget::makeVisible() { showMaximized(); - setBackgroundPixmap( pixBg ); + setBackgroundPixmap( backgroundPixmap ); QWidget *d = QApplication::desktop(); @@ -392,3 +392,3 @@ void VideoWidget::paintEvent( QPaintEvent * pe) { p.translate( -pe->rect().topLeft().x(), -pe->rect().topLeft().y() ); - p.drawTiledPixmap( pe->rect(), pixBg, pe->rect().topLeft() ); + p.drawTiledPixmap( pe->rect(), backgroundPixmap, pe->rect().topLeft() ); for ( unsigned int i = 0; i < buttons.count(); i++ ) { |