Mercurial > mplayer.hg
diff Gui/mplayer/menu.h @ 5919:60cf2bca993f
some bug fix
author | pontscho |
---|---|
date | Wed, 01 May 2002 09:29:06 +0000 |
parents | 3473ca9ef158 |
children | 26cb8736927b |
line wrap: on
line diff
--- a/Gui/mplayer/menu.h Tue Apr 30 23:29:38 2002 +0000 +++ b/Gui/mplayer/menu.h Wed May 01 09:29:06 2002 +0000 @@ -5,7 +5,7 @@ int mplOldMenuItem = -1; int mplMenuX,mplMenuY; -void mplHideMenu( int mx,int my ); +void mplHideMenu( int mx,int my,int w ); void mplMenuDraw( wsParamDisplay ) { @@ -85,7 +85,7 @@ wsPostRedisplay( &appMPlayer.menuWindow ); } -void mplHideMenu( int mx,int my ) +void mplHideMenu( int mx,int my,int w ) { int x,y,i=mplMenuItem; @@ -107,7 +107,7 @@ appMPlayer.MenuItems[i].x+appMPlayer.MenuItems[i].width, appMPlayer.MenuItems[i].y+appMPlayer.MenuItems[i].height ) ) { - mplEventHandling( appMPlayer.MenuItems[i].msg,0 ); + mplEventHandling( appMPlayer.MenuItems[i].msg,(float)w ); } }