equal
deleted
inserted
replaced
206 TInt data( *aMessage.Value<TInt>( KMPXMessageGeneralData ) ); |
206 TInt data( *aMessage.Value<TInt>( KMPXMessageGeneralData ) ); |
207 switch ( *aMessage.Value<TInt>( KMPXMessageGeneralEvent ) ) |
207 switch ( *aMessage.Value<TInt>( KMPXMessageGeneralEvent ) ) |
208 { |
208 { |
209 case TMPXPlaybackMessage::EStateChanged: |
209 case TMPXPlaybackMessage::EStateChanged: |
210 UpdateMiddleSoftKeyDisplayL(); |
210 UpdateMiddleSoftKeyDisplayL(); |
211 UpdateToolbar(); |
211 UpdateToolbarL(); |
212 break; |
212 break; |
213 |
213 |
214 default: |
214 default: |
215 break; |
215 break; |
216 } |
216 } |
226 void CMPXPlaybackViewImp::DynInitToolbarL(TInt aResourceId, CAknToolbar* aToolbar) |
226 void CMPXPlaybackViewImp::DynInitToolbarL(TInt aResourceId, CAknToolbar* aToolbar) |
227 { |
227 { |
228 if (aResourceId == R_MPX_PBV_TOUCH_TOOLBAR) |
228 if (aResourceId == R_MPX_PBV_TOUCH_TOOLBAR) |
229 { |
229 { |
230 // Put initializations here to take effect before toolbar is shown |
230 // Put initializations here to take effect before toolbar is shown |
231 UpdateToolbar(); |
231 UpdateToolbarL(); |
232 aToolbar->UpdateBackground(); |
232 aToolbar->UpdateBackground(); |
233 } |
233 } |
234 } |
234 } |
235 |
235 |
236 // ----------------------------------------------------------------------------- |
236 // ----------------------------------------------------------------------------- |