mpxplugins/viewplugins/views/playbackview/src/mpxplaybackviewimp.cpp
branchRCL_3
changeset 21 a1247965635c
parent 0 ff3acec5bc43
equal deleted inserted replaced
18:c54d95799c80 21:a1247965635c
   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 // -----------------------------------------------------------------------------