camerauis/cameraapp/generic/src/CamPreCaptureContainerBase.cpp
branchRCL_3
changeset 62 f0c0788c4de2
parent 57 2c87b2808fd7
child 67 756ad29ed18e
equal deleted inserted replaced
57:2c87b2808fd7 62:f0c0788c4de2
    73 const TInt KReticuleFlashTimeout = 250000;  // Quarter of a second (in microseconds).
    73 const TInt KReticuleFlashTimeout = 250000;  // Quarter of a second (in microseconds).
    74 const TInt KAFIconCorners = 4; // Hip to be square 
    74 const TInt KAFIconCorners = 4; // Hip to be square 
    75 
    75 
    76 const TInt KIndicatorBlinkDelay = 250 * 1000;
    76 const TInt KIndicatorBlinkDelay = 250 * 1000;
    77 const TInt KNumberOfBlinks = 3;
    77 const TInt KNumberOfBlinks = 3;
    78 const TInt KNumberOfBlinksVideo = 8;
    78 const TInt KNumberOfBlinksVideo = 7;
    79 
    79 
    80 const TSize  KCaptureButtonSize( 50, 50 );
    80 const TSize  KCaptureButtonSize( 50, 50 );
    81 const TSize  KAdditionalArea( 25, 11 );
    81 const TSize  KAdditionalArea( 25, 9 );
    82 const TInt32 KCaptureButtonYDelta( 10 );
    82 const TInt32 KCaptureButtonYDelta( 10 );
    83 
    83 
    84 // Snapshot data is needed in timelapse mode
    84 // Snapshot data is needed in timelapse mode
    85 const TUint KCameraEventInterest = ( ECamCameraEventClassVfControl      
    85 const TUint KCameraEventInterest = ( ECamCameraEventClassVfControl      
    86                                    | ECamCameraEventClassVfData 
    86                                    | ECamCameraEventClassVfData 
  2412     CWindowGc& gc = SystemGc();
  2412     CWindowGc& gc = SystemGc();
  2413     iBatteryPaneController->Draw( gc );
  2413     iBatteryPaneController->Draw( gc );
  2414 
  2414 
  2415     DeactivateGc();        
  2415     DeactivateGc();        
  2416     }
  2416     }
       
  2417   if( iBatteryPaneController )
       
  2418       {
       
  2419       if( ECamControllerVideo == iController.CurrentMode() ) 
       
  2420           {
       
  2421           iController.SetIdleTimerTimeout( !iBatteryPaneController->IsBatteryLow() );
       
  2422           }      
       
  2423       }
  2417   
  2424   
  2418   }
  2425   }
  2419 
  2426 
  2420 // -----------------------------------------------------------------------------
  2427 // -----------------------------------------------------------------------------
  2421 // CCamPostCaptureContainer::LocationIconUpdated
  2428 // CCamPostCaptureContainer::LocationIconUpdated