summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/menu.h
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-23 15:12:55 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-23 15:12:55 +0000
commitc090d0da98cfc613b7b9b7227dd505735df224a6 (patch)
tree0e27f5b57f9efcde040f3b8381544468612f47d6 /Gui/mplayer/menu.h
parent469f2d1b7e6c2251cbc9418b111f5bc700c7a262 (diff)
downloadmpv-c090d0da98cfc613b7b9b7227dd505735df224a6.tar.bz2
mpv-c090d0da98cfc613b7b9b7227dd505735df224a6.tar.xz
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4819 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/menu.h')
-rw-r--r--Gui/mplayer/menu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Gui/mplayer/menu.h b/Gui/mplayer/menu.h
index f72467ad96..b8031dcb12 100644
--- a/Gui/mplayer/menu.h
+++ b/Gui/mplayer/menu.h
@@ -100,14 +100,14 @@ void mplHideMenu( int mx,int my )
if ( ( x < 0 ) || ( y < 0 ) ) return;
-// printf( "---------> %d %d,%d\n",i,x,y );
+// printf( "---------> %d %d,%d\n",i,x,y );
// printf( "--------> mi: %d,%d %dx%d\n",appMPlayer.MenuItems[i].x,appMPlayer.MenuItems[i].y,appMPlayer.MenuItems[i].width,appMPlayer.MenuItems[i].height );
if ( wgIsRect( x,y,
appMPlayer.MenuItems[i].x,appMPlayer.MenuItems[i].y,
appMPlayer.MenuItems[i].x+appMPlayer.MenuItems[i].width,
appMPlayer.MenuItems[i].y+appMPlayer.MenuItems[i].height ) )
{
- mplMsgHandle( appMPlayer.MenuItems[i].msg,0 );
+ mplEventHandling( appMPlayer.MenuItems[i].msg,0 );
}
}
@@ -122,7 +122,7 @@ void mplMenuInit( void )
if ( ( mplMenuDrawBuffer = calloc( 1,appMPlayer.menuBase.Bitmap.ImageSize ) ) == NULL )
{
#ifdef DEBUG
- dbprintf( 1,MSGTR_NEMFMR );
+ mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu.h] %s",MSGTR_NEMFMR );
#endif
gtkMessageBox( GTK_MB_FATAL,MSGTR_NEMFMR );
return;
@@ -133,7 +133,7 @@ void mplMenuInit( void )
wsNoBorder,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,wsOverredirect|wsHideFrame|wsMaxSize|wsMinSize|wsHideWindow,"MPlayer menu" );
#ifdef DEBUG
- dbprintf( 1,"[menu.h] menu: 0x%x\n",(int)appMPlayer.menuWindow.WindowID );
+ mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu.h] menu: 0x%x\n",(int)appMPlayer.menuWindow.WindowID );
#endif
appMPlayer.menuWindow.ReDraw=mplMenuDraw;