Mercurial > mplayer.hg
comparison gui/ui/main.c @ 34458:1e84148527ab
Add user event evMenu.
(Unless the skin definable menu can't be properly handled with
mouse over and cursor keys, only the default menu will show up.)
author | ib |
---|---|
date | Thu, 12 Jan 2012 14:21:55 +0000 |
parents | d04da1858866 |
children | c3f95506f756 |
comparison
equal
deleted
inserted
replaced
34457:220497708307 | 34458:1e84148527ab |
---|---|
322 vo_osd_progbar_value=( ( guiInfo.Volume ) * 256.0 ) / 100.0; | 322 vo_osd_progbar_value=( ( guiInfo.Volume ) * 256.0 ) / 100.0; |
323 vo_osd_changed( OSDTYPE_PROGBAR ); | 323 vo_osd_changed( OSDTYPE_PROGBAR ); |
324 } | 324 } |
325 break; | 325 break; |
326 | 326 |
327 | |
328 case evMenu: | |
329 /*if (guiApp.menuIsPresent) NOTE TO MYSELF: Not before mouse over and | |
330 { cursor keys will work there. | |
331 gtkShow( ivHidePopUpMenu,NULL ); | |
332 uiShowMenu( 0,0 ); | |
333 } | |
334 else*/ gtkShow( ivShowPopUpMenu,NULL ); | |
335 break; | |
327 | 336 |
328 case evIconify: | 337 case evIconify: |
329 switch ( iparam ) | 338 switch ( iparam ) |
330 { | 339 { |
331 case 0: wsIconify( guiApp.mainWindow ); break; | 340 case 0: wsIconify( guiApp.mainWindow ); break; |