equal
deleted
inserted
replaced
87 // <CAMERAAPP_CAPI_V2_MIGRATION/> |
87 // <CAMERAAPP_CAPI_V2_MIGRATION/> |
88 |
88 |
89 iController.ViewfinderWindowDeleted( &Window() ); |
89 iController.ViewfinderWindowDeleted( &Window() ); |
90 |
90 |
91 iController.RemoveCameraObserver( this ); |
91 iController.RemoveCameraObserver( this ); |
92 if ( iFeedback ) |
92 |
93 { |
|
94 iFeedback->RemoveFeedbackForControl( iCaptureSetupControl ); |
|
95 } |
|
96 delete iCaptureSetupControl; |
93 delete iCaptureSetupControl; |
97 delete iTitleText; |
94 delete iTitleText; |
98 PRINT( _L("Camera <= ~CCamCaptureSetupContainer") ); |
95 PRINT( _L("Camera <= ~CCamCaptureSetupContainer") ); |
99 } |
96 } |
100 |
97 |
105 // |
102 // |
106 void CCamCaptureSetupContainer::ConstructL( const TRect& aRect ) |
103 void CCamCaptureSetupContainer::ConstructL( const TRect& aRect ) |
107 { |
104 { |
108 PRINT( _L("Camera => CCamCaptureSetupContainer::ConstructL ") ); |
105 PRINT( _L("Camera => CCamCaptureSetupContainer::ConstructL ") ); |
109 |
106 |
|
107 SetMopParent( &iView ); |
110 CCamContainerBase::BaseConstructL( aRect ); |
108 CCamContainerBase::BaseConstructL( aRect ); |
111 if ( iController.IsTouchScreenSupported() ) |
109 if ( iController.IsTouchScreenSupported() ) |
112 { |
110 { |
113 CCamAppUi* appUi = static_cast<CCamAppUi*>( iEikonEnv->AppUi() ); |
111 CCamAppUi* appUi = static_cast<CCamAppUi*>( iEikonEnv->AppUi() ); |
114 CAknToolbar* fixedToolbar = appUi->CurrentFixedToolbar(); |
112 CAknToolbar* fixedToolbar = appUi->CurrentFixedToolbar(); |
190 listbox->MakeVisible( ETrue ); |
188 listbox->MakeVisible( ETrue ); |
191 listbox->SetFocus( EFalse, ENoDrawNow ); |
189 listbox->SetFocus( EFalse, ENoDrawNow ); |
192 listbox->UpdateScrollBarsL(); |
190 listbox->UpdateScrollBarsL(); |
193 listbox->ScrollBarFrame()->DrawScrollBarsNow(); |
191 listbox->ScrollBarFrame()->DrawScrollBarsNow(); |
194 listbox->SetListBoxObserver(this); |
192 listbox->SetListBoxObserver(this); |
195 } |
|
196 |
|
197 iFeedback = MTouchFeedback::Instance(); |
|
198 if ( iFeedback ) |
|
199 { |
|
200 iFeedback->SetFeedbackArea( iCaptureSetupControl, 0, |
|
201 iCaptureSetupControl->Rect(), |
|
202 ETouchFeedbackBasic, |
|
203 ETouchEventStylusDown ); |
|
204 } |
193 } |
205 |
194 |
206 iCaptureSetupControl->MakeVisible( ETrue ); |
195 iCaptureSetupControl->MakeVisible( ETrue ); |
207 iCaptureSetupControl->SetFocus( EFalse, EDrawNow ); |
196 iCaptureSetupControl->SetFocus( EFalse, EDrawNow ); |
208 iTitleText = iEikonEnv->AllocReadResourceL( |
197 iTitleText = iEikonEnv->AllocReadResourceL( |