multimediacommscontroller/mmcccontroller/src/mccscreen.cpp
changeset 12 966b25fd74b5
parent 0 1bce908db942
child 8 f9c1f5f9ce0b
equal deleted inserted replaced
0:1bce908db942 12:966b25fd74b5
   785         
   785         
   786         iDirectViewFinder->ResumeViewFinderDirectL();
   786         iDirectViewFinder->ResumeViewFinderDirectL();
   787         }
   787         }
   788     else if ( VfStartPossible() )
   788     else if ( VfStartPossible() )
   789         {
   789         {
   790         __CONTROLLER( "CMccScreenDirect::StartL, starting" )
   790         __CONTROLLER( "CMccScreenDirect::StartL, starting, draw with alpha" )
       
   791         
       
   792 		TRect vfRect( TPoint( 0, 0 ), iArea );
       
   793         iGraphicsContext->Activate( *iRw ); 
       
   794         iRw->Invalidate( vfRect );
       
   795         iRw->BeginRedraw( vfRect );
       
   796         iGraphicsContext->CancelClippingRect();
       
   797         iGraphicsContext->SetBrushStyle( CGraphicsContext::ESolidBrush );
       
   798         iGraphicsContext->SetBrushColor( TRgb( 255, 255, 255, 0 ) );
       
   799         iGraphicsContext->DrawRect( vfRect );
       
   800         iRw->EndRedraw();
       
   801         iGraphicsContext->Deactivate();
       
   802         iRwSession.Flush();
   791        
   803        
   792         StartDirectViewFinderL();
   804         StartDirectViewFinderL();
   793         }
   805         }
   794     else
   806     else
   795         {
   807         {