camerauis/cameraapp/generic/src/CamPostCaptureContainer.cpp
branchRCL_3
changeset 25 bf64cebf4673
parent 18 51dda465e618
child 27 53c8aa5d97a3
equal deleted inserted replaced
20:38fb6f7eacd5 25:bf64cebf4673
   303     if ( iView.Id().iUid != ECamViewIdVideoPostCapture &&
   303     if ( iView.Id().iUid != ECamViewIdVideoPostCapture &&
   304        ( iController.ActiveCamera() != ECamActiveCameraSecondary ||
   304        ( iController.ActiveCamera() != ECamActiveCameraSecondary ||
   305          lateOperation ) )
   305          lateOperation ) )
   306          {
   306          {
   307          gc.SetFaded( EFalse );
   307          gc.SetFaded( EFalse );
   308          gc.SetBrushColor( KRgbBlack );
   308          gc.SetPenStyle( CGraphicsContext::ENullPen );
   309          gc.Clear( iProcessingTextLayout.TextRect() );   
   309          gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
       
   310          gc.SetDrawMode( CGraphicsContext::EDrawModeWriteAlpha );
       
   311          gc.SetBrushColor( TRgb::Color16MA( 0 ) );
       
   312          gc.Clear( iProcessingTextLayout.TextRect() );
       
   313          gc.SetBrushStyle( CGraphicsContext::ENullBrush );
   310          }
   314          }
   311                        
   315                        
   312     // If snapshot contains a bitmap
   316     // If snapshot contains a bitmap
   313     if ( snapshot )
   317     if ( snapshot )
   314         {
   318         {
   609             {
   613             {
   610             // Draw black background for the tooltip.
   614             // Draw black background for the tooltip.
   611             // Mirrored layout is not supported.
   615             // Mirrored layout is not supported.
   612             TRect blackRect = outdatedArea; 
   616             TRect blackRect = outdatedArea; 
   613             blackRect.iTl.iX += snapshotSize.iWidth - outdatedArea.iTl.iX;
   617             blackRect.iTl.iX += snapshotSize.iWidth - outdatedArea.iTl.iX;
   614             gc.SetBrushColor( KRgbBlack );
   618             gc.SetPenStyle( CGraphicsContext::ENullPen );
   615 	        gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
   619             gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
   616 	        gc.SetPenStyle( CGraphicsContext::ESolidPen );
   620             gc.SetDrawMode( CGraphicsContext::EDrawModeWriteAlpha );
       
   621             gc.SetBrushColor( TRgb::Color16MA( 0 ) );
   617             gc.DrawRect( blackRect );
   622             gc.DrawRect( blackRect );
       
   623             gc.SetBrushStyle( CGraphicsContext::ENullBrush );
   618             }
   624             }
   619 
   625 
   620         if ( ssRect.Contains( outdatedArea.iTl ) || !iController.IsTouchScreenSupported() )  
   626         if ( ssRect.Contains( outdatedArea.iTl ) || !iController.IsTouchScreenSupported() )  
   621             {
   627             {
   622             PRINT( _L("Camera <> CCamPostCaptureContainer::Redraw snapshot") );
   628             PRINT( _L("Camera <> CCamPostCaptureContainer::Redraw snapshot") );