multimediacommscontroller/mmcccontroller/src/mccscreen.cpp
branchRCL_3
changeset 3 513a8b745b2f
parent 0 1bce908db942
child 8 f9c1f5f9ce0b
--- a/multimediacommscontroller/mmcccontroller/src/mccscreen.cpp	Tue Feb 02 01:04:58 2010 +0200
+++ b/multimediacommscontroller/mmcccontroller/src/mccscreen.cpp	Fri Feb 19 23:12:20 2010 +0200
@@ -787,7 +787,19 @@
         }
     else if ( VfStartPossible() )
         {
-        __CONTROLLER( "CMccScreenDirect::StartL, starting" )
+        __CONTROLLER( "CMccScreenDirect::StartL, starting, draw with alpha" )
+        
+		TRect vfRect( TPoint( 0, 0 ), iArea );
+        iGraphicsContext->Activate( *iRw ); 
+        iRw->Invalidate( vfRect );
+        iRw->BeginRedraw( vfRect );
+        iGraphicsContext->CancelClippingRect();
+        iGraphicsContext->SetBrushStyle( CGraphicsContext::ESolidBrush );
+        iGraphicsContext->SetBrushColor( TRgb( 255, 255, 255, 0 ) );
+        iGraphicsContext->DrawRect( vfRect );
+        iRw->EndRedraw();
+        iGraphicsContext->Deactivate();
+        iRwSession.Flush();
        
         StartDirectViewFinderL();
         }