[MPlayer-cvslog] r34560 - in trunk/gui/ui: gmplayer.h main.c menu.c playbar.c sub.c

ib subversion at mplayerhq.hu
Fri Jan 13 17:44:35 CET 2012


Author: ib
Date: Fri Jan 13 17:44:35 2012
New Revision: 34560

Log:
Remove unused parameter from uiMenuMouseHandle().

Modified:
   trunk/gui/ui/gmplayer.h
   trunk/gui/ui/main.c
   trunk/gui/ui/menu.c
   trunk/gui/ui/playbar.c
   trunk/gui/ui/sub.c

Modified: trunk/gui/ui/gmplayer.h
==============================================================================
--- trunk/gui/ui/gmplayer.h	Fri Jan 13 17:40:04 2012	(r34559)
+++ trunk/gui/ui/gmplayer.h	Fri Jan 13 17:44:35 2012	(r34560)
@@ -46,7 +46,7 @@ void uiSubMouseHandle( int Button, int X
 void uiMenuInit( void );
 void uiHideMenu( int mx, int my, int w );
 void uiShowMenu( int mx, int my );
-void uiMenuMouseHandle( int X, int Y, int RX, int RY );
+void uiMenuMouseHandle( int RX, int RY );
 
 void uiPlaybarInit( void );
 void uiPlaybarShow( int y );

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Fri Jan 13 17:40:04 2012	(r34559)
+++ trunk/gui/ui/main.c	Fri Jan 13 17:44:35 2012	(r34560)
@@ -533,7 +533,7 @@ rollerhandled:
                  uiMainRender=0;
                  break;
             case itPRMButton:
-                 uiMenuMouseHandle( X,Y,RX,RY );
+                 uiMenuMouseHandle( RX,RY );
                  break;
             case itPotmeter:
                  item->value=(float)( X - item->x ) / item->width * 100.0f;

Modified: trunk/gui/ui/menu.c
==============================================================================
--- trunk/gui/ui/menu.c	Fri Jan 13 17:40:04 2012	(r34559)
+++ trunk/gui/ui/menu.c	Fri Jan 13 17:44:35 2012	(r34560)
@@ -68,7 +68,7 @@ static void uiMenuDraw( void )
  wsPutImage( &guiApp.menuWindow );
 }
 
-void uiMenuMouseHandle( int X,int Y,int RX,int RY )
+void uiMenuMouseHandle( int RX,int RY )
 {
  int x,y,i;
 

Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c	Fri Jan 13 17:40:04 2012	(r34559)
+++ trunk/gui/ui/playbar.c	Fri Jan 13 17:44:35 2012	(r34560)
@@ -207,7 +207,7 @@ rollerhandled:
 	switch ( itemtype )
 	 {
 	  case itPRMButton:
-	       uiMenuMouseHandle( X,Y,RX,RY );
+	       uiMenuMouseHandle( RX,RY );
 	       break;
 	  case itPotmeter:
 	       item->value=(float)( X - item->x ) / item->width * 100.0f;

Modified: trunk/gui/ui/sub.c
==============================================================================
--- trunk/gui/ui/sub.c	Fri Jan 13 17:40:04 2012	(r34559)
+++ trunk/gui/ui/sub.c	Fri Jan 13 17:44:35 2012	(r34560)
@@ -94,7 +94,7 @@ void uiSubMouseHandle( int Button,int X,
                     }
                    break;
             case wsPMMouseButton:
-                   uiMenuMouseHandle( X,Y,RX,RY );
+                   uiMenuMouseHandle( RX,RY );
                    break;
 	    default: uiPlaybarShow( Y ); break;
            }


More information about the MPlayer-cvslog mailing list