[MPlayer-cvslog] r33742 - in trunk/gui: interface.c ui/main.c ui/playbar.c

ib subversion at mplayerhq.hu
Mon Jun 27 16:08:30 CEST 2011


Author: ib
Date: Mon Jun 27 16:08:30 2011
New Revision: 33742

Log:
Use X11 Bool symbolic constant.

Modified:
   trunk/gui/interface.c
   trunk/gui/ui/main.c
   trunk/gui/ui/playbar.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Mon Jun 27 16:04:13 2011	(r33741)
+++ trunk/gui/interface.c	Mon Jun 27 16:08:30 2011	(r33742)
@@ -626,7 +626,7 @@ int guiGetEvent(int type, void *arg)
         guiInfo.MovieHeight = vo_dheight;
 
         if (guiWinID >= 0)
-            wsMoveWindow(&guiApp.mainWindow, 0, 0, vo_dheight);
+            wsMoveWindow(&guiApp.mainWindow, False, 0, vo_dheight);
 
         WinID = guiApp.subWindow.WindowID;
         break;

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Mon Jun 27 16:04:13 2011	(r33741)
+++ trunk/gui/ui/main.c	Mon Jun 27 16:08:30 2011	(r33742)
@@ -306,7 +306,7 @@ set_volume:
             uiFullScreen();
            }
           wsResizeWindow( &guiApp.subWindow, guiInfo.MovieWidth / 2, guiInfo.MovieHeight / 2 );
-          wsMoveWindow( &guiApp.subWindow, 0,
+          wsMoveWindow( &guiApp.subWindow, False,
                         ( wsMaxX - guiInfo.MovieWidth/2  )/2 + wsOrgX,
                         ( wsMaxY - guiInfo.MovieHeight/2 )/2 + wsOrgY  );
          }
@@ -320,7 +320,7 @@ set_volume:
             uiFullScreen();
            }
           wsResizeWindow( &guiApp.subWindow, guiInfo.MovieWidth * 2, guiInfo.MovieHeight * 2 );
-          wsMoveWindow( &guiApp.subWindow, 0,
+          wsMoveWindow( &guiApp.subWindow, False,
                         ( wsMaxX - guiInfo.MovieWidth*2  )/2 + wsOrgX,
                         ( wsMaxY - guiInfo.MovieHeight*2 )/2 + wsOrgY  );
          }
@@ -334,7 +334,7 @@ set_volume:
             uiFullScreen();
            }
           wsResizeWindow( &guiApp.subWindow, guiInfo.MovieWidth, guiInfo.MovieHeight );
-          wsMoveWindow( &guiApp.subWindow, 0,
+          wsMoveWindow( &guiApp.subWindow, False,
                         ( wsMaxX - guiInfo.MovieWidth  )/2 + wsOrgX,
                         ( wsMaxY - guiInfo.MovieHeight )/2 + wsOrgY  );
 	  break;

Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c	Mon Jun 27 16:04:13 2011	(r33741)
+++ trunk/gui/ui/playbar.c	Mon Jun 27 16:08:30 2011	(r33742)
@@ -81,7 +81,7 @@ static void uiPlaybarDraw( void )
 	  uiPlaybarFade=0;
 	  vo_mouse_autohide=0;
 	 }
-        wsMoveWindow( &guiApp.playbarWindow,0,x,playbarLength );
+        wsMoveWindow( &guiApp.playbarWindow,False,x,playbarLength );
 	break;
    case 2: // fade out
 	playbarLength+=10;
@@ -93,7 +93,7 @@ static void uiPlaybarDraw( void )
           wsVisibleWindow( &guiApp.playbarWindow,wsHideWindow );
 	  return;
 	 }
-        wsMoveWindow( &guiApp.playbarWindow,0,x,playbarLength );
+        wsMoveWindow( &guiApp.playbarWindow,False,x,playbarLength );
 	break;
   }
 


More information about the MPlayer-cvslog mailing list