comparison gui/ui/menu.c @ 35683:75155d8a9c7e

Remove parameter for border_width from wsWindowCreate(). It's nothing but 0 anyway. Additionally, switch position of mouse cursor and window properties parameters.
author ib
date Fri, 18 Jan 2013 01:13:50 +0000
parents 80c5c89f77d6
children bfe51acc36fb
comparison
equal deleted inserted replaced
35682:fcb8f12cefa7 35683:75155d8a9c7e
158 return; 158 return;
159 } 159 }
160 160
161 wsWindowCreate( &guiApp.menuWindow, 161 wsWindowCreate( &guiApp.menuWindow,
162 guiApp.menu.x,guiApp.menu.y,guiApp.menu.width,guiApp.menu.height, 162 guiApp.menu.x,guiApp.menu.y,guiApp.menu.width,guiApp.menu.height,
163 0,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,wsOverredirect|wsHideFrame|wsMaxSize|wsMinSize|wsHideWindow,"MPlayer menu" ); 163 wsOverredirect|wsHideFrame|wsMaxSize|wsMinSize|wsHideWindow,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,"MPlayer menu" );
164 164
165 wsWindowShape( &guiApp.menuWindow,guiApp.menu.Mask.Image ); 165 wsWindowShape( &guiApp.menuWindow,guiApp.menu.Mask.Image );
166 166
167 mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu] menuWindow ID: 0x%x\n",(int)guiApp.menuWindow.WindowID ); 167 mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu] menuWindow ID: 0x%x\n",(int)guiApp.menuWindow.WindowID );
168 168