diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-01 09:29:06 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-01 09:29:06 +0000 |
commit | 33d7a129df7f967637a6f6a3ce89f43b395b3938 (patch) | |
tree | cc4ab3ad2f1700824db3f5962521a42703d9ba0b /Gui/mplayer/menu.h | |
parent | d8751b2f38207e9589ab136cc589c8ccb02c7fb8 (diff) | |
download | mpv-33d7a129df7f967637a6f6a3ce89f43b395b3938.tar.bz2 mpv-33d7a129df7f967637a6f6a3ce89f43b395b3938.tar.xz |
some bug fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5920 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/menu.h')
-rw-r--r-- | Gui/mplayer/menu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Gui/mplayer/menu.h b/Gui/mplayer/menu.h index b8031dcb12..58a97bf469 100644 --- a/Gui/mplayer/menu.h +++ b/Gui/mplayer/menu.h @@ -5,7 +5,7 @@ int mplMenuItem = -1; 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 @@ void mplShowMenu( int mx,int my ) 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 @@ void mplHideMenu( int mx,int my ) 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 ); } } |