camerauis/cameraapp/generic/src/CamCaptureSetupSlider.cpp
branchRCL_3
changeset 67 756ad29ed18e
parent 57 2c87b2808fd7
equal deleted inserted replaced
62:f0c0788c4de2 67:756ad29ed18e
   581     // might not include statuspane area. calculating area self will
   581     // might not include statuspane area. calculating area self will
   582     // go around the problem
   582     // go around the problem
   583 
   583 
   584     // We're starting again from scratch, so delete the old legend layouts
   584     // We're starting again from scratch, so delete the old legend layouts
   585     iLegendArray.ResetAndDestroy();
   585     iLegendArray.ResetAndDestroy();
   586     if ( AknLayoutUtils::PenEnabled() ) 
   586     if ( CamUtility::IsNhdDevice() ) 
   587         {
   587         {
   588         TouchLayoutL();
   588         TouchLayoutL();
   589         }
   589         }
   590     else
   590     else
   591         {
   591         {
   634          iSettingType == ECamSettingItemDynamicVideoContrast ||
   634          iSettingType == ECamSettingItemDynamicVideoContrast ||
   635          iSettingType == ECamSettingItemUserSceneContrast )
   635          iSettingType == ECamSettingItemUserSceneContrast )
   636         {
   636         {
   637         // Set the shaft layout and icon size for Contrast slider
   637         // Set the shaft layout and icon size for Contrast slider
   638         iShaftLayout.LayoutRect( sliderRect, 
   638         iShaftLayout.LayoutRect( sliderRect, 
   639                               AknLayoutScalable_Apps::cset_slider_pane( 5 )  );
   639                               AknLayoutScalable_Apps::cset_slider_pane( 7 )  );
   640         // set Contrast slider legend layouts      
   640         // set Contrast slider legend layouts      
   641         TouchContrastLayoutL( sliderRect ); 
   641         TouchContrastLayoutL( sliderRect ); 
   642         }   
   642         }   
   643     else  
   643     else  
   644         {
   644         {