equal
deleted
inserted
replaced
27 #include <avkon.rsg> |
27 #include <avkon.rsg> |
28 #include <aknnavi.h> |
28 #include <aknnavi.h> |
29 #include <aknnavide.h> |
29 #include <aknnavide.h> |
30 #include <featmgr.h> |
30 #include <featmgr.h> |
31 #include "tVtuifeaturevariation.h" |
31 #include "tVtuifeaturevariation.h" |
32 #include <StringLoader.h> |
|
33 #include <videotelui.rsg> |
|
34 |
32 |
35 // CONSTANTS |
33 // CONSTANTS |
36 |
34 |
37 // Timeout after which voice volume bar is switched back to indicators. |
35 // Timeout after which voice volume bar is switched back to indicators. |
38 const TInt KVtUiVoiceVolumeTimeout = 2000000; |
36 const TInt KVtUiVoiceVolumeTimeout = 2000000; |
112 iNaviPaneControl = naviControl; |
110 iNaviPaneControl = naviControl; |
113 } |
111 } |
114 |
112 |
115 // Create muted indicator. |
113 // Create muted indicator. |
116 { |
114 { |
117 HBufC* mutedText = |
115 CVtUiMutedControl* naviControl = |
118 StringLoader::LoadLC( R_VIDEOTELUI_QTN_INCAL_MUTED_PANE ); |
116 new ( ELeave ) CVtUiMutedControl; |
119 |
117 CleanupStack::PushL( naviControl ); |
120 iMutedIndicator = iNaviPane.CreateNavigationLabelL( *mutedText ); |
118 naviControl->ConstructL(); |
121 |
119 CleanupStack::Pop( naviControl ); |
122 CleanupStack::PopAndDestroy( mutedText ); |
120 |
|
121 iMutedIndicator = |
|
122 CreateDecoratorL( iNaviPane, naviControl ); |
|
123 iMutedControl = naviControl; |
123 } |
124 } |
124 |
125 |
125 User::LeaveIfError( iTimer.CreateLocal() ); |
126 User::LeaveIfError( iTimer.CreateLocal() ); |
126 |
127 |
127 } |
128 } |
258 iNaviPaneControl->HandleResourceChange( aType ); |
259 iNaviPaneControl->HandleResourceChange( aType ); |
259 } |
260 } |
260 if ( iMutedIndicator != iCurrent ) |
261 if ( iMutedIndicator != iCurrent ) |
261 { |
262 { |
262 iMutedIndicator->HandleResourceChange( aType ); |
263 iMutedIndicator->HandleResourceChange( aType ); |
|
264 iMutedControl->HandleResourceChange( aType ); |
263 } |
265 } |
264 } |
266 } |
265 |
267 |
266 // ----------------------------------------------------------------------------- |
268 // ----------------------------------------------------------------------------- |
267 // CVtUiNaviPane::DoCancel |
269 // CVtUiNaviPane::DoCancel |