mpxplugins/viewplugins/views/embeddedplaybackview/src/mpxembeddedplaybackviewimp.cpp
equal
deleted
inserted
replaced
701 TInt data( *aMessage.Value<TInt>( KMPXMessageGeneralData ) ); |
701 TInt data( *aMessage.Value<TInt>( KMPXMessageGeneralData ) ); |
702 switch ( *aMessage.Value<TInt>( KMPXMessageGeneralEvent ) ) |
702 switch ( *aMessage.Value<TInt>( KMPXMessageGeneralEvent ) ) |
703 { |
703 { |
704 case TMPXPlaybackMessage::EStateChanged: |
704 case TMPXPlaybackMessage::EStateChanged: |
705 UpdateMiddleSoftKeyDisplayL(); |
705 UpdateMiddleSoftKeyDisplayL(); |
706 UpdateToolbar(); |
706 UpdateToolbarL(); |
707 break; |
707 break; |
708 |
708 |
709 default: |
709 default: |
710 break; |
710 break; |
711 } |
711 } |
721 void CMPXEmbeddedPlaybackViewImp::DynInitToolbarL(TInt aResourceId, CAknToolbar* aToolbar) |
721 void CMPXEmbeddedPlaybackViewImp::DynInitToolbarL(TInt aResourceId, CAknToolbar* aToolbar) |
722 { |
722 { |
723 if (aResourceId == R_MPX_PBV_TOUCH_TOOLBAR) |
723 if (aResourceId == R_MPX_PBV_TOUCH_TOOLBAR) |
724 { |
724 { |
725 // Put initializations here to take effect before toolbar is shown |
725 // Put initializations here to take effect before toolbar is shown |
726 UpdateToolbar(); |
726 UpdateToolbarL(); |
727 aToolbar->UpdateBackground(); |
727 aToolbar->UpdateBackground(); |
728 } |
728 } |
729 } |
729 } |
730 |
730 |
731 // ----------------------------------------------------------------------------- |
731 // ----------------------------------------------------------------------------- |