diff -r ce86b6d44a6d -r 407431f36921 mmsharing/mmshui/src/musuiclipsharingviewcontainer.cpp --- a/mmsharing/mmshui/src/musuiclipsharingviewcontainer.cpp Wed Jun 09 09:37:52 2010 +0300 +++ b/mmsharing/mmshui/src/musuiclipsharingviewcontainer.cpp Mon Jun 21 15:36:50 2010 +0300 @@ -48,7 +48,9 @@ CMusUiSendViewContainer::ConstructL( aView, aRect, - EAknOrientationHorizontal ); + EAknOrientationHorizontal, + ETrue, + EFalse ); // check if operator specific functionality is needed iOperatorSpecificFunctionality = ( MultimediaSharingSettings::OperatorVariantSettingL() == @@ -247,7 +249,7 @@ void CMusUiClipSharingViewContainer::SetDurationIndicatorVisible( TBool aVisible ) { iIndicator->SetIndicatorType(EMusUiIndicatorTypeDuration); - MakeVisible( aVisible ); + iIndicator->MakeVisible( aVisible ); } @@ -309,6 +311,24 @@ return control; } +// ----------------------------------------------------------------------------- +// Called by framework to redraw the screen area. +// ----------------------------------------------------------------------------- +// +void CMusUiClipSharingViewContainer::Draw( const TRect& aRect ) const + { + CWindowGc& gc = SystemGc(); + + MAknsSkinInstance* skin = AknsUtils::SkinInstance(); + MAknsControlContext* cc = AknsDrawUtils::ControlContext( this ); + if(!AknsDrawUtils::Background( skin, cc,this,gc,aRect,KAknsDrawParamDefault )) + { + MUS_LOG( "mus: [MUSUI ] Skin not valid or not found" ); + gc.SetBrushColor( iEikonEnv->ControlColor( EColorWindowBackground, *this ) ); + gc.SetBrushStyle( CGraphicsContext::ESolidBrush ); + gc.Clear( aRect ); + } + } // ----------------------------------------------------------------------------- // Called by framework to act on key events if required.