equal
deleted
inserted
replaced
180 iListBox->SetContainerWindowL( *this ); |
180 iListBox->SetContainerWindowL( *this ); |
181 iListBox->CreateScrollBarFrameL( ETrue ); |
181 iListBox->CreateScrollBarFrameL( ETrue ); |
182 iListBox->DisableSingleClick( ETrue ); |
182 iListBox->DisableSingleClick( ETrue ); |
183 |
183 |
184 TRect listboxRect; |
184 TRect listboxRect; |
185 if ( AknLayoutUtils::PenEnabled() ) |
185 if ( CamUtility::IsNhdDevice() ) |
186 { |
186 { |
187 listboxRect = TouchLayout(); |
187 listboxRect = TouchLayout(); |
188 } |
188 } |
189 else |
189 else |
190 { |
190 { |
512 void CCamShootingModeContainer::Draw( const TRect& aRect ) const |
512 void CCamShootingModeContainer::Draw( const TRect& aRect ) const |
513 { |
513 { |
514 PRINT(_L("Camera => CCamShootingModeContainer::Draw") ) |
514 PRINT(_L("Camera => CCamShootingModeContainer::Draw") ) |
515 |
515 |
516 CWindowGc& gc = SystemGc(); |
516 CWindowGc& gc = SystemGc(); |
517 if ( AknLayoutUtils::PenEnabled() ) |
517 if ( CamUtility::IsNhdDevice() ) |
518 { |
518 { |
519 TRgb color; |
519 TRgb color; |
520 if( iFullySkinned ) |
520 if( iFullySkinned ) |
521 { |
521 { |
522 MAknsSkinInstance* skin = AknsUtils::SkinInstance(); |
522 MAknsSkinInstance* skin = AknsUtils::SkinInstance(); |
614 // for touch with keyboard, key pressing can also scroll thru the scene modes |
614 // for touch with keyboard, key pressing can also scroll thru the scene modes |
615 // after every up and down key presses we display the tool tip |
615 // after every up and down key presses we display the tool tip |
616 if ( EStdKeyUpArrow == aKeyEvent.iScanCode || |
616 if ( EStdKeyUpArrow == aKeyEvent.iScanCode || |
617 EStdKeyDownArrow == aKeyEvent.iScanCode ) |
617 EStdKeyDownArrow == aKeyEvent.iScanCode ) |
618 { |
618 { |
619 if ( AknLayoutUtils::PenEnabled() ) |
619 if ( CamUtility::IsNhdDevice() ) |
620 { |
620 { |
621 ShowTooltipL(); |
621 ShowTooltipL(); |
622 } |
622 } |
623 else |
623 else |
624 { |
624 { |
672 if ( appUi && appUi->AppController().UiConfigManagerPtr() |
672 if ( appUi && appUi->AppController().UiConfigManagerPtr() |
673 && appUi->AppController().UiConfigManagerPtr()->IsAutoFocusSupported() ) |
673 && appUi->AppController().UiConfigManagerPtr()->IsAutoFocusSupported() ) |
674 { |
674 { |
675 // the description of the icon |
675 // the description of the icon |
676 HBufC* Description; |
676 HBufC* Description; |
677 TInt DescResouceId = R_CAM_SCENE_DESCRIPTION_LANDSCAPE_AUTOFOCUS; |
677 TInt description = R_CAM_SCENE_DESCRIPTION_LANDSCAPE_AUTOFOCUS; |
678 Description = StringLoader::LoadL( DescResouceId ); |
678 Description = StringLoader::LoadL( description ); |
679 User::LeaveIfError( iDescArray.Append( Description ) ); |
679 User::LeaveIfError( iDescArray.Append( Description ) ); |
680 delete descr; |
|
681 descr = NULL; |
|
682 } |
680 } |
683 else |
681 else |
684 { |
682 { |
685 User::LeaveIfError( iDescArray.Append( descr ) ); |
683 User::LeaveIfError( iDescArray.Append( descr ) ); |
686 } |
684 } |