camerauis/cameraapp/generic/src/CamPreCaptureContainerBase.cpp
branchRCL_3
changeset 13 38fb6f7eacd5
parent 11 d486e5e3cc9a
child 16 53c8aa5d97a3
equal deleted inserted replaced
12:51dda465e618 13:38fb6f7eacd5
  2683 void CCamPreCaptureContainerBase::DrawResolutionIndicator()
  2683 void CCamPreCaptureContainerBase::DrawResolutionIndicator()
  2684     {
  2684     {
  2685     PRINT( _L("Camera => CCamPreCaptureContainerBase::DrawResolutionIndicator") );
  2685     PRINT( _L("Camera => CCamPreCaptureContainerBase::DrawResolutionIndicator") );
  2686     iToggleCountdown--;
  2686     iToggleCountdown--;
  2687 
  2687 
       
  2688     // Stop immediately the periodic timer for showing correctly 
       
  2689     // the text "Processing image" when capturing a still image. 
       
  2690     TBool stillCapturing = ECamControllerImage == iController.CurrentMode() && 
       
  2691                            ECamImageCaptureSingle == iController.CurrentImageMode() &&
       
  2692                            iController.IsProcessingCapture();
       
  2693     if ( stillCapturing )
       
  2694       {        
       
  2695       iBlinkResolutionIndicator = EFalse;
       
  2696       iIndBlinkTimer->Cancel();
       
  2697       return;
       
  2698       }  
       
  2699       
  2688     // State changed, need to redraw
  2700     // State changed, need to redraw
  2689     ActivateGc();
  2701     ActivateGc();
  2690 
  2702 
  2691     // Invalidate the flash icon area
  2703     // Invalidate the flash icon area
  2692     TRect rect( iResolutionIndicators[iCurrentIndicator]->LayoutRect() );
  2704     TRect rect( iResolutionIndicators[iCurrentIndicator]->LayoutRect() );