camerauis/cameraapp/generic/src/CamStillPreCaptureView.cpp
branchRCL_3
changeset 16 d486e5e3cc9a
parent 12 8c55c525d5d7
child 20 38fb6f7eacd5
equal deleted inserted replaced
12:8c55c525d5d7 16:d486e5e3cc9a
   307   if( aForeground )
   307   if( aForeground )
   308     {
   308     {
   309     PRINT( _L("Camera <> CCamStillPreCaptureView::HandleForegroundEventL: to foreground") );
   309     PRINT( _L("Camera <> CCamStillPreCaptureView::HandleForegroundEventL: to foreground") );
   310     PRINT1( _L("Camera <> CCamStillPreCaptureView .. Current controller operation [%s]"), KCamCaptureOperationNames[iController.CurrentOperation()] );
   310     PRINT1( _L("Camera <> CCamStillPreCaptureView .. Current controller operation [%s]"), KCamCaptureOperationNames[iController.CurrentOperation()] );
   311     PRINT1( _L("Camera <> CCamStillPreCaptureView .. Current controller mode      [%s]"), KCamModeNames[iController.CurrentMode()] );
   311     PRINT1( _L("Camera <> CCamStillPreCaptureView .. Current controller mode      [%s]"), KCamModeNames[iController.CurrentMode()] );
       
   312     if( ECamViewStateStandby == appUi->CurrentViewState() )
       
   313       {
       
   314       CAknToolbar* fixedToolbar = appUi->CurrentFixedToolbar();
       
   315       if( fixedToolbar )
       
   316         {
       
   317         fixedToolbar->SetToolbarVisibility( EFalse );    
       
   318         }
       
   319       }
   312 
   320 
   313 
   321 
   314     if( iController.SequenceCaptureInProgress() )
   322     if( iController.SequenceCaptureInProgress() )
   315       {
   323       {
   316       PRINT( _L("Camera <= CCamStillPreCaptureView::HandleForegroundEventL: sequence capture ongoing") );
   324       PRINT( _L("Camera <= CCamStillPreCaptureView::HandleForegroundEventL: sequence capture ongoing") );
  1273     if ( iController.IsTouchScreenSupported() )
  1281     if ( iController.IsTouchScreenSupported() )
  1274         {
  1282         {
  1275         UpdateToolbarIconsL();
  1283         UpdateToolbarIconsL();
  1276         if( aToolbar )
  1284         if( aToolbar )
  1277                 {            
  1285                 {            
  1278                 if ( iEmbedded && appUi->IsSecondCameraEnabled() )
  1286                 if ( iEmbedded /* && appUi->IsSecondCameraEnabled()*/ )
  1279                     {
  1287                     {
  1280 					aToolbar->SetItemDimmed(ECamCmdNewVideo, ETrue, ETrue);
  1288 					aToolbar->SetItemDimmed(ECamCmdNewVideo, ETrue, ETrue);
  1281                     }
  1289                     }
  1282                 CAknToolbarExtension* extension = aToolbar->ToolbarExtension();
  1290                 CAknToolbarExtension* extension = aToolbar->ToolbarExtension();
  1283 
  1291