camerauis/cameraapp/generic/src/CamAppui.cpp
changeset 3 8b2d6d0384b0
parent 2 e8773a61782d
child 7 dbec5787fa68
equal deleted inserted replaced
2:e8773a61782d 3:8b2d6d0384b0
  7316                         }
  7316                         }
  7317 	                
  7317 	                
  7318 	                fixedToolbar->SetToolbarObserver( iStillCaptureView );
  7318 	                fixedToolbar->SetToolbarObserver( iStillCaptureView );
  7319 	                SetToolbarVisibility();
  7319 	                SetToolbarVisibility();
  7320 
  7320 
  7321 	                if ( IsEmbedded() )
       
  7322 	                    {
       
  7323 	                    iStillCaptureView->HideButton( ECamCmdNewVideo );
       
  7324 	                    }                        
       
  7325 
       
  7326 	                // Make sure toolbar extension button has no background
  7321 	                // Make sure toolbar extension button has no background
  7327 	                CAknButton* extensionButton = static_cast<CAknButton*>(
  7322 	                CAknButton* extensionButton = static_cast<CAknButton*>(
  7328 	                    fixedToolbar->ControlOrNull( ECamCmdToolbarExtension ) );
  7323 	                    fixedToolbar->ControlOrNull( ECamCmdToolbarExtension ) );
  7329 	                if ( extensionButton )
  7324 	                if ( extensionButton )
  7330 	                    {
  7325 	                    {
  7365                         iVideoCaptureView->UpdateToolbarIconsL();
  7360                         iVideoCaptureView->UpdateToolbarIconsL();
  7366                         }
  7361                         }
  7367                     
  7362                     
  7368                     fixedToolbar->SetToolbarObserver( iVideoCaptureView );
  7363                     fixedToolbar->SetToolbarObserver( iVideoCaptureView );
  7369                     SetToolbarVisibility();
  7364                     SetToolbarVisibility();
  7370                     if ( IsEmbedded() )
  7365                        
  7371                         {
       
  7372                         iVideoCaptureView->HideButton( ECamCmdNewPhoto );
       
  7373                         }
       
  7374                     
       
  7375                     // Make sure toolbar extension button has no background
  7366                     // Make sure toolbar extension button has no background
  7376                     CAknButton* extensionButton = static_cast<CAknButton*>(
  7367                     CAknButton* extensionButton = static_cast<CAknButton*>(
  7377                       fixedToolbar->ControlOrNull( ECamCmdToolbarExtension ) );
  7368                       fixedToolbar->ControlOrNull( ECamCmdToolbarExtension ) );
  7378                     if ( extensionButton )
  7369                     if ( extensionButton )
  7379                         {
  7370                         {