videoplayback/videoplaybackview/controlsrc/videoplaybackcontrolbar.cpp
changeset 63 4707a0db12f6
parent 58 d2b028fd1f7d
equal deleted inserted replaced
58:d2b028fd1f7d 63:4707a0db12f6
    13 *
    13 *
    14 * Description:  Implementation of VideoPlaybackControlBar
    14 * Description:  Implementation of VideoPlaybackControlBar
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  9 %
    18 // Version : %version:  10 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #include "mpxvideo_debug.h"
    22 #include "mpxvideo_debug.h"
    23 #include "videoplaybacktoolbar.h"
    23 #include "videoplaybacktoolbar.h"
   141 // -------------------------------------------------------------------------------------------------
   141 // -------------------------------------------------------------------------------------------------
   142 //
   142 //
   143 void VideoPlaybackControlBar::setVisibleToControlBar( bool visible )
   143 void VideoPlaybackControlBar::setVisibleToControlBar( bool visible )
   144 {
   144 {
   145     MPX_ENTER_EXIT(_L("VideoPlaybackControlBar::setVisibleToControlBar()"),
   145     MPX_ENTER_EXIT(_L("VideoPlaybackControlBar::setVisibleToControlBar()"),
   146                    _L("visible = %d, current visibility = %d"), visible, isVisible() );
   146                    _L("visible = %d"), visible );
   147 
   147 
   148     if ( visible != isVisible() )
   148     setVisible( visible );
   149     {
   149     mToolBar->setVisible( visible );
   150         setVisible( visible );
   150 }
   151         mToolBar->setVisible( visible );
       
   152     }
       
   153 }
       
   154 
       
   155 
   151 
   156 // -------------------------------------------------------------------------------------------------
   152 // -------------------------------------------------------------------------------------------------
   157 // VideoPlaybackControlBar::durationChanged()
   153 // VideoPlaybackControlBar::durationChanged()
   158 // -------------------------------------------------------------------------------------------------
   154 // -------------------------------------------------------------------------------------------------
   159 //
   155 //