camerauis/cameraapp/generic/src/CamInfoListBoxContainer.cpp
branchRCL_3
changeset 67 756ad29ed18e
parent 57 2c87b2808fd7
equal deleted inserted replaced
62:f0c0788c4de2 67:756ad29ed18e
   151     iListBox->SetContainerWindowL( *this );
   151     iListBox->SetContainerWindowL( *this );
   152     iListBox->CreateScrollBarFrameL( ETrue );
   152     iListBox->CreateScrollBarFrameL( ETrue );
   153     
   153     
   154     CCamAppUi* appUi = static_cast<CCamAppUi*>( iEikonEnv->AppUi() ); 
   154     CCamAppUi* appUi = static_cast<CCamAppUi*>( iEikonEnv->AppUi() ); 
   155     TRect listboxRect; 
   155     TRect listboxRect; 
   156     if ( AknLayoutUtils::PenEnabled() ) 
   156     if ( CamUtility::IsNhdDevice() ) 
   157         {
   157         {
   158         listboxRect = TouchLayout();
   158         listboxRect = TouchLayout();
   159         }
   159         }
   160     else
   160     else
   161         {
   161         {
   327 void CCamInfoListBoxContainer::Draw( const TRect& aRect ) const
   327 void CCamInfoListBoxContainer::Draw( const TRect& aRect ) const
   328     {
   328     {
   329 	PRINT(_L("Camera => CCamInfoListBoxContainer::Draw") )
   329 	PRINT(_L("Camera => CCamInfoListBoxContainer::Draw") )
   330 
   330 
   331 	CWindowGc& gc = SystemGc();
   331 	CWindowGc& gc = SystemGc();
   332     if ( AknLayoutUtils::PenEnabled() )
   332     if ( CamUtility::IsNhdDevice() )
   333         {
   333         {
   334         TRgb color;
   334         TRgb color;
   335         if( iSkinnedBackGround )
   335         if( iSkinnedBackGround )
   336             {
   336             {
   337         MAknsSkinInstance* skin = AknsUtils::SkinInstance();
   337         MAknsSkinInstance* skin = AknsUtils::SkinInstance();
   595                     
   595                     
   596         case EEventItemClicked:
   596         case EEventItemClicked:
   597         case EEventItemSingleClicked:
   597         case EEventItemSingleClicked:
   598             {
   598             {
   599             TInt settingValue = CurrentSettingItemValue();
   599             TInt settingValue = CurrentSettingItemValue();
   600 
   600             iController.PreviewSettingChangeL( ECamSettingItemDynamicPhotoLightSensitivity, settingValue );
   601             if ( iView.Id().iUid == ECamViewIdPhotoUserSceneSetup )
       
   602                 {                   
       
   603                 iController.PreviewSettingChangeL( ECamSettingItemUserSceneLightSensitivity, settingValue );
       
   604                 }
       
   605      	    else
       
   606        	        {
       
   607 		        iController.PreviewSettingChangeL( ECamSettingItemDynamicPhotoLightSensitivity, settingValue );
       
   608           	    }
       
   609             }
   601             }
   610             break;
   602             break;
   611         default:
   603         default:
   612             break;
   604             break;
   613         }
   605         }