equal
deleted
inserted
replaced
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". |
129 SwitchToSceneSettingModeL(); |
129 SwitchToSceneSettingModeL(); |
130 } |
130 } |
131 break; |
131 break; |
132 case ECamCmdCaptureSetupLightSensitivityUser: |
132 case ECamCmdCaptureSetupLightSensitivityUser: |
133 { |
133 { |
134 SwitchToInfoListBoxL( EInfoListBoxModeISO, ETrue ); |
134 SwitchToInfoListBoxL( EInfoListBoxModeISO, EFalse );//No skin |
135 } |
135 } |
136 break; |
136 break; |
137 // If capture setup menu is active and user presses softkey cancel, |
137 // If capture setup menu is active and user presses softkey cancel, |
138 // deactivate the menu. |
138 // deactivate the menu. |
139 case EAknSoftkeyBack: |
139 case EAknSoftkeyBack: |
446 { |
446 { |
447 SetSoftKeysL( R_AVKON_SOFTKEYS_OK_CANCEL__OK ); //Avkon softkeys. Not transparent |
447 SetSoftKeysL( R_AVKON_SOFTKEYS_OK_CANCEL__OK ); //Avkon softkeys. Not transparent |
448 } |
448 } |
449 else |
449 else |
450 { |
450 { |
451 SetSoftKeysL( R_CAM_SOFTKEYS_SELECT_CANCEL ); |
451 SetSoftKeysL( R_CAM_SOFTKEYS_SETTINGS_SELECT_BACK__CHANGE_TRANSPARENT );//color etc. |
452 } |
452 } |
453 } |
453 } |
454 else if ( iSceneSettingModeActive ) |
454 else if ( iSceneSettingModeActive ) |
455 { |
455 { |
456 SetSoftKeysL( R_CAM_SOFTKEYS_SETTINGS_SELECT_BACK__CHANGE ); |
456 SetSoftKeysL( R_CAM_SOFTKEYS_SETTINGS_SELECT_BACK__CHANGE ); |
460 *ViewCba(), EFalse ); |
460 *ViewCba(), EFalse ); |
461 } |
461 } |
462 } |
462 } |
463 else if ( iInfoListBoxActive ) |
463 else if ( iInfoListBoxActive ) |
464 { |
464 { |
465 SetSoftKeysL( R_CAM_SOFTKEYS_SETTINGS_SELECT_BACK__CHANGE ); |
465 SetSoftKeysL( R_CAM_SOFTKEYS_SETTINGS_SELECT_BACK__CHANGE_TRANSPARENT ); |
466 if( iForceAvkonCBA ) |
466 EikSoftkeyPostingTransparency::MakeTransparent( |
467 { |
467 *ViewCba(), !iForceAvkonCBA ); |
468 EikSoftkeyPostingTransparency::MakeTransparent( |
|
469 *ViewCba(), EFalse ); |
|
470 } |
|
471 } |
468 } |
472 // if the view is user scene setup |
469 // if the view is user scene setup |
473 else |
470 else |
474 { |
471 { |
475 // R_AVKON_SOFTKEYS_OPTIONS_BACK --> |
472 // R_AVKON_SOFTKEYS_OPTIONS_BACK --> |
515 iUserSceneSetupModeActive = ETrue; |
512 iUserSceneSetupModeActive = ETrue; |
516 |
513 |
517 StatusPane()->MakeVisible( ETrue ); |
514 StatusPane()->MakeVisible( ETrue ); |
518 |
515 |
519 // Update the command button array. |
516 // Update the command button array. |
520 iForceAvkonCBA=ETrue; |
517 iForceAvkonCBA=EFalse; |
521 UpdateCbaL(); |
518 UpdateCbaL(); |
522 SetTitlePaneTextL(); |
519 SetTitlePaneTextL(); |
523 PRINT( _L("Camera <= CCamUserSceneSetupViewBase::SwitchToUserSceneSetupModeL()") ); |
520 PRINT( _L("Camera <= CCamUserSceneSetupViewBase::SwitchToUserSceneSetupModeL()") ); |
524 } |
521 } |
525 |
522 |
542 |
539 |
543 SetCaptureSetupModeActive(ETrue); |
540 SetCaptureSetupModeActive(ETrue); |
544 |
541 |
545 // Remove the view's main container, and add the capture setup |
542 // Remove the view's main container, and add the capture setup |
546 // control associated with the input command to the container stack. |
543 // control associated with the input command to the container stack. |
547 CCamCaptureSetupViewBase::SwitchToCaptureSetupModeL( aSetupCommand, EFalse ); |
544 CCamCaptureSetupViewBase::SwitchToCaptureSetupModeL( aSetupCommand, ETrue ); |
548 StatusPane()->MakeVisible( EFalse ); |
545 StatusPane()->MakeVisible( EFalse ); |
549 PRINT( _L("Camera <= CCamUserSceneSetupViewBase::SwitchToCaptureSetupModeL()") ); |
546 PRINT( _L("Camera <= CCamUserSceneSetupViewBase::SwitchToCaptureSetupModeL()") ); |
550 } |
547 } |
551 |
548 |
552 |
549 |