camerauis/cameraapp/generic/src/CamCaptureSetupControlHandler.cpp
changeset 2 e8773a61782d
parent 0 1ddebce53859
child 12 8c55c525d5d7
equal deleted inserted replaced
1:f5ec9446e5bf 2:e8773a61782d
     1 /*
     1 /*
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   108 				captureSetupControl->InitializeL
   108 				captureSetupControl->InitializeL
   109 					( iController.IntegerSettingValue( iSettingType ) ); 
   109 					( iController.IntegerSettingValue( iSettingType ) ); 
   110 				CleanupStack::Pop( captureSetupControl );
   110 				CleanupStack::Pop( captureSetupControl );
   111                 if( iSettingType == ECamSettingItemDynamicPhotoColourFilter ||
   111                 if( iSettingType == ECamSettingItemDynamicPhotoColourFilter ||
   112                     iSettingType == ECamSettingItemDynamicPhotoWhiteBalance ||
   112                     iSettingType == ECamSettingItemDynamicPhotoWhiteBalance ||
   113                     iSettingType == ECamSettingItemDynamicPhotoFlash ||
       
   114                     iSettingType == ECamSettingItemDynamicPhotoImageSharpness || 
   113                     iSettingType == ECamSettingItemDynamicPhotoImageSharpness || 
   115 
   114 
   116                     iSettingType == ECamSettingItemDynamicVideoColourFilter ||
   115                     iSettingType == ECamSettingItemDynamicVideoColourFilter ||
   117                     iSettingType == ECamSettingItemDynamicVideoWhiteBalance || 
   116                     iSettingType == ECamSettingItemDynamicVideoWhiteBalance || 
   118                     iSettingType == ECamSettingItemDynamicVideoFlash ||
       
   119                     iSettingType == ECamSettingItemDynamicVideoBrightness ||
   117                     iSettingType == ECamSettingItemDynamicVideoBrightness ||
   120 
   118 
   121                     iSettingType == ECamSettingItemUserSceneImageSharpness ||
   119                     iSettingType == ECamSettingItemUserSceneImageSharpness ||
   122                     iSettingType == ECamSettingItemUserSceneFlash ||
       
   123                     iSettingType == ECamSettingItemUserSceneWhitebalance ||
   120                     iSettingType == ECamSettingItemUserSceneWhitebalance ||
   124                     iSettingType == ECamSettingItemUserSceneColourFilter )
   121                     iSettingType == ECamSettingItemUserSceneColourFilter )
   125                     {
   122                     {
   126                     captureSetupControl->DisableSingleClick( ETrue );
   123                     captureSetupControl->DisableSingleClick( ETrue );
   127                     }
   124                     }