changeset 34472:f866092d51cd

Remove unused parameter from uiMenuMouseHandle().
author ib
date Fri, 13 Jan 2012 16:44:35 +0000
parents 65ea3b7a704b
children 2f88fa3b9e5e
files gui/ui/gmplayer.h gui/ui/main.c gui/ui/menu.c gui/ui/playbar.c gui/ui/sub.c
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gmplayer.h	Fri Jan 13 16:40:04 2012 +0000
+++ b/gui/ui/gmplayer.h	Fri Jan 13 16:44:35 2012 +0000
@@ -46,7 +46,7 @@
 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 );
--- a/gui/ui/main.c	Fri Jan 13 16:40:04 2012 +0000
+++ b/gui/ui/main.c	Fri Jan 13 16:44:35 2012 +0000
@@ -533,7 +533,7 @@
                  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;
--- a/gui/ui/menu.c	Fri Jan 13 16:40:04 2012 +0000
+++ b/gui/ui/menu.c	Fri Jan 13 16:44:35 2012 +0000
@@ -68,7 +68,7 @@
  wsPutImage( &guiApp.menuWindow );
 }
 
-void uiMenuMouseHandle( int X,int Y,int RX,int RY )
+void uiMenuMouseHandle( int RX,int RY )
 {
  int x,y,i;
 
--- a/gui/ui/playbar.c	Fri Jan 13 16:40:04 2012 +0000
+++ b/gui/ui/playbar.c	Fri Jan 13 16:44:35 2012 +0000
@@ -207,7 +207,7 @@
 	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;
--- a/gui/ui/sub.c	Fri Jan 13 16:40:04 2012 +0000
+++ b/gui/ui/sub.c	Fri Jan 13 16:44:35 2012 +0000
@@ -94,7 +94,7 @@
                     }
                    break;
             case wsPMMouseButton:
-                   uiMenuMouseHandle( X,Y,RX,RY );
+                   uiMenuMouseHandle( RX,RY );
                    break;
 	    default: uiPlaybarShow( Y ); break;
            }