comparison gui/ui/menu.c @ 35782:e30d541b3ea6

Relocate menu window initialization debug message.
author ib
date Fri, 25 Jan 2013 12:47:01 +0000
parents 4073fff5efc7
children 497a1c45a597
comparison
equal deleted inserted replaced
35781:454b0d784d95 35782:e30d541b3ea6
112 112
113 wsWindowCreate( &guiApp.menuWindow, 113 wsWindowCreate( &guiApp.menuWindow,
114 guiApp.menu.x,guiApp.menu.y,guiApp.menu.width,guiApp.menu.height, 114 guiApp.menu.x,guiApp.menu.y,guiApp.menu.width,guiApp.menu.height,
115 wsOverredirect|wsHideFrame|wsMaxSize|wsMinSize|wsHideWindow,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,"MPlayer menu" ); 115 wsOverredirect|wsHideFrame|wsMaxSize|wsMinSize|wsHideWindow,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,"MPlayer menu" );
116 116
117 mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu] menuWindow ID: 0x%x\n",(int)guiApp.menuWindow.WindowID );
118
117 wsWindowShape( &guiApp.menuWindow,guiApp.menu.Mask.Image ); 119 wsWindowShape( &guiApp.menuWindow,guiApp.menu.Mask.Image );
118
119 mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu] menuWindow ID: 0x%x\n",(int)guiApp.menuWindow.WindowID );
120 120
121 menuIsInitialized=True; 121 menuIsInitialized=True;
122 guiApp.menuWindow.DrawHandler=uiMenuDraw; 122 guiApp.menuWindow.DrawHandler=uiMenuDraw;
123 guiApp.menuWindow.MouseHandler=uiMenuMouse; 123 guiApp.menuWindow.MouseHandler=uiMenuMouse;
124 // guiApp.menuWindow.KeyHandler=guiApp.mainWindow.KeyHandler; 124 // guiApp.menuWindow.KeyHandler=guiApp.mainWindow.KeyHandler;