author | llornkcor <llornkcor> | 2002-08-15 19:20:49 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-15 19:20:49 (UTC) |
commit | f568b83e0ef16a0e3b46d41b2cfaa5fdda9d1d45 (patch) (side-by-side diff) | |
tree | b813e08e89f295b36ffe5ac7981a07e163063090 /noncore/multimedia/opieplayer2/videowidget.cpp | |
parent | c28cefd69ab4f1edb66248ae2651dafc6f7e2fcc (diff) | |
download | opie-f568b83e0ef16a0e3b46d41b2cfaa5fdda9d1d45.zip opie-f568b83e0ef16a0e3b46d41b2cfaa5fdda9d1d45.tar.gz opie-f568b83e0ef16a0e3b46d41b2cfaa5fdda9d1d45.tar.bz2 |
new mask size/position. still needs non static
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index 8fe572f..238770b 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp @@ -103,3 +103,3 @@ QWidget( parent, name, f ), scaledWidth( 0 ), scaledHeight( 0 ) { masks[i] = new QBitmap( filename ); - qDebug(filename); + if ( !masks[i]->isNull() ) { @@ -181,6 +181,3 @@ void VideoWidget::resizeEvent( QResizeEvent * ) { int Vh = 160; - //videoFrame->height(); int Vw = 220; - //videoFrame->width(); - @@ -193,6 +190,5 @@ void VideoWidget::resizeEvent( QResizeEvent * ) { xoff = 0;// ( imgUp->width() ) / 2; - yoff = 180;//(( Vh - imgUp->height() ) / 2) - 10; + yoff = 185;//(( Vh - imgUp->height() ) / 2) - 10; QPoint p( xoff, yoff ); - QPixmap *pixUp = combineVImageWithBackground( *imgUp, *pixBg, p ); @@ -461,4 +457,4 @@ void VideoWidget::keyReleaseEvent( QKeyEvent *e) { // toggleButton(6); -// emit lessClicked(); -// emit lessReleased(); + emit lessClicked(); + emit lessReleased(); // toggleButton(6); @@ -467,4 +463,4 @@ void VideoWidget::keyReleaseEvent( QKeyEvent *e) { // toggleButton(5); -// emit moreClicked(); -// emit moreReleased(); + emit moreClicked(); + emit moreReleased(); // toggleButton(5); |