multimediacommscontroller/mmcccontroller/src/mccscreen.cpp
branchCompilerCompatibility
changeset 6 e275ee612b82
parent 3 513a8b745b2f
child 8 f9c1f5f9ce0b
--- a/multimediacommscontroller/mmcccontroller/src/mccscreen.cpp	Mon Mar 08 21:43:55 2010 +0000
+++ b/multimediacommscontroller/mmcccontroller/src/mccscreen.cpp	Sun Mar 14 13:11:20 2010 +0000
@@ -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();
         }