Mercurial > mplayer.hg
comparison gui/ui/menu.c @ 33993:57d711d3dcca
Change parameter b of wsMoveWindow().
Make it Bool, rename it abs and reverse its meaning. The parameter now
indicates whether x and y shall be handled as real, absolute position
values or as possibly mock ones.
author | ib |
---|---|
date | Thu, 08 Sep 2011 11:11:02 +0000 |
parents | 3a93b9227b01 |
children | c34052f0594d |
comparison
equal
deleted
inserted
replaced
33992:4dda3e85b298 | 33993:57d711d3dcca |
---|---|
105 | 105 |
106 menuX=x; menuY=y; | 106 menuX=x; menuY=y; |
107 | 107 |
108 menuItem = 0; | 108 menuItem = 0; |
109 | 109 |
110 wsMoveWindow( &guiApp.menuWindow,False,x,y ); | 110 wsMoveWindow( &guiApp.menuWindow,True,x,y ); |
111 wsRaiseWindowTop( wsDisplay,guiApp.menuWindow.WindowID ); | 111 wsRaiseWindowTop( wsDisplay,guiApp.menuWindow.WindowID ); |
112 wsSetLayer( wsDisplay,guiApp.menuWindow.WindowID,1 ); | 112 wsSetLayer( wsDisplay,guiApp.menuWindow.WindowID,1 ); |
113 menuRender=1; | 113 menuRender=1; |
114 wsVisibleWindow( &guiApp.menuWindow,wsShowWindow ); | 114 wsVisibleWindow( &guiApp.menuWindow,wsShowWindow ); |
115 wsPostRedisplay( &guiApp.menuWindow ); | 115 wsPostRedisplay( &guiApp.menuWindow ); |