videoplayback/videoplaybackview/controlsrc/videoplaybackcontrolbar.cpp
changeset 62 0e1e938beb1a
parent 52 e3cecb93e76a
child 63 4707a0db12f6
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
    13 *
    13 *
    14 * Description:  Implementation of VideoPlaybackControlBar
    14 * Description:  Implementation of VideoPlaybackControlBar
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  8 %
    18 // Version : %version:  9 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #include "mpxvideo_debug.h"
    22 #include "mpxvideo_debug.h"
    23 #include "videoplaybacktoolbar.h"
    23 #include "videoplaybacktoolbar.h"
   146                    _L("visible = %d, current visibility = %d"), visible, isVisible() );
   146                    _L("visible = %d, current visibility = %d"), visible, isVisible() );
   147 
   147 
   148     if ( visible != isVisible() )
   148     if ( visible != isVisible() )
   149     {
   149     {
   150         setVisible( visible );
   150         setVisible( visible );
   151         mToolBar->setVisible( visible );        
   151         mToolBar->setVisible( visible );
   152     }
   152     }
   153 }
   153 }
   154 
   154 
   155 
   155 
   156 // -------------------------------------------------------------------------------------------------
   156 // -------------------------------------------------------------------------------------------------
   189     {
   189     {
   190         mToolBar->positionChanged( position );
   190         mToolBar->positionChanged( position );
   191     }
   191     }
   192 }
   192 }
   193 
   193 
       
   194 // -------------------------------------------------------------------------------------------------
       
   195 // VideoPlaybackControlBar::resetControl()
       
   196 // -------------------------------------------------------------------------------------------------
       
   197 //
       
   198 void VideoPlaybackControlBar::resetControl()
       
   199 {
       
   200     MPX_DEBUG(_L("VideoPlaybackControlBar::positionChanged()"));
       
   201 
       
   202     if ( mProgressBar )
       
   203     {
       
   204         mProgressBar->resetControl();
       
   205     }
       
   206 
       
   207     if ( mToolBar )
       
   208     {
       
   209         mToolBar->resetControl();
       
   210     }
       
   211 }
       
   212 
   194 //End of file
   213 //End of file