diff -r dec420019252 -r 7d91903f795f videoplayback/videoplaybackcontrols/src/mpxvideoplaybackbrandinganimation.cpp --- a/videoplayback/videoplaybackcontrols/src/mpxvideoplaybackbrandinganimation.cpp Tue Feb 02 00:12:10 2010 +0200 +++ b/videoplayback/videoplaybackcontrols/src/mpxvideoplaybackbrandinganimation.cpp Fri Feb 19 22:52:52 2010 +0200 @@ -15,7 +15,7 @@ * */ -// Version : %version: 7 % +// Version : %version: 9 % // INCLUDE FILES @@ -57,8 +57,8 @@ // // set rect // - SetRect( TRect( 0, 0, aRect.Width(), aRect.Height() ) ); - iBrandingRect = aRect; + iBrandingRect = TRect( 0, 0, aRect.Width(), aRect.Height() ); + SetRect( iBrandingRect ); // // construct branding timer @@ -217,17 +217,20 @@ CWindowGc& gc = SystemGc(); gc.SetClippingRect( aRect ); - if ( Window().DisplayMode() == EColor16MAP ) + if ( iController->SetBackgroundBlack() ) { - gc.SetDrawMode( CGraphicsContext::EDrawModeWriteAlpha ); - gc.SetBrushColor( TRgb::Color16MAP( 255 ) ); - gc.Clear( aRect ); - } - else if ( Window().DisplayMode() == EColor16MA ) - { - gc.SetDrawMode( CGraphicsContext::EDrawModeWriteAlpha ); - gc.SetBrushColor( TRgb::Color16MA( 0 ) ); - gc.Clear( aRect ); + if ( Window().DisplayMode() == EColor16MAP ) + { + gc.SetDrawMode( CGraphicsContext::EDrawModeWriteAlpha ); + gc.SetBrushColor( TRgb::Color16MAP( 255 ) ); + gc.Clear( aRect ); + } + else if ( Window().DisplayMode() == EColor16MA ) + { + gc.SetDrawMode( CGraphicsContext::EDrawModeWriteAlpha ); + gc.SetBrushColor( TRgb::Color16MA( 0 ) ); + gc.Clear( aRect ); + } } else {