[MPlayer-cvslog] r35859 - trunk/gui/ui/playbar.c

ib subversion at mplayerhq.hu
Thu Jan 24 18:31:57 CET 2013


Author: ib
Date: Thu Jan 24 18:31:57 2013
New Revision: 35859

Log:
Cosmetic: Replace uiPlaybarShow().

Modified:
   trunk/gui/ui/playbar.c

Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c	Thu Jan 24 18:28:34 2013	(r35858)
+++ trunk/gui/ui/playbar.c	Thu Jan 24 18:31:57 2013	(r35859)
@@ -231,19 +231,6 @@ potihandled:
   }
 }
 
-void uiPlaybarShow( int y )
-{
- if ( !guiApp.playbarIsPresent || !gtkEnablePlayBar ) return;
- if ( !guiApp.videoWindow.isFullScreen ) return;
-
- if ( y > guiApp.videoWindow.Height - guiApp.playbar.height )
-  {
-   if ( !uiPlaybarFade ) wsWindowVisibility( &guiApp.playbarWindow,wsShowWindow );
-   uiPlaybarFade=1; playbarVisible=True; wsWindowRedraw( &guiApp.playbarWindow );
-  }
-  else if ( !uiPlaybarFade ) uiPlaybarFade=2;
-}
-
 void uiPlaybarInit( void )
 {
  if ( !guiApp.playbarIsPresent ) return;
@@ -269,3 +256,16 @@ void uiPlaybarInit( void )
 
  playbarLength=guiApp.videoWindow.Height;
 }
+
+void uiPlaybarShow( int y )
+{
+ if ( !guiApp.playbarIsPresent || !gtkEnablePlayBar ) return;
+ if ( !guiApp.videoWindow.isFullScreen ) return;
+
+ if ( y > guiApp.videoWindow.Height - guiApp.playbar.height )
+  {
+   if ( !uiPlaybarFade ) wsWindowVisibility( &guiApp.playbarWindow,wsShowWindow );
+   uiPlaybarFade=1; playbarVisible=True; wsWindowRedraw( &guiApp.playbarWindow );
+  }
+  else if ( !uiPlaybarFade ) uiPlaybarFade=2;
+}


More information about the MPlayer-cvslog mailing list