Mercurial > mplayer.hg
diff gui/win32/interface.c @ 31312:0b7792622c88
Remove Gui-specific slave commands and associated key-bindings and other code.
author | reimar |
---|---|
date | Sun, 13 Jun 2010 11:34:14 +0000 |
parents | 76a13038105e |
children | 2392ad3cec9c |
line wrap: on
line diff
--- a/gui/win32/interface.c Sun Jun 13 11:17:26 2010 +0000 +++ b/gui/win32/interface.c Sun Jun 13 11:34:14 2010 +0000 @@ -676,7 +676,7 @@ /* MPlayer asks us to quit */ switch((int) arg) { - case MP_CMD_GUI_FULLSCREEN: + case MP_CMD_VO_FULLSCREEN: mplFullScreen(); break; case MP_CMD_QUIT: @@ -687,32 +687,6 @@ exit_player(EXIT_QUIT); return 0; } - case MP_CMD_GUI_STOP: - guiGetEvent(guiCEvent, (void *) guiSetStop); - break; - case MP_CMD_GUI_PLAY: - guiGetEvent(guiCEvent, (void *) guiSetPlay); - break; - case MP_CMD_GUI_SKINBROWSER: - if(fullscreen) guiSetEvent(evFullScreen); - PostMessage(mygui->mainwindow, WM_COMMAND, (WPARAM) ID_SKINBROWSER, 0); - break; - case MP_CMD_GUI_PLAYLIST: - if(fullscreen) guiSetEvent(evFullScreen); - PostMessage(mygui->mainwindow, WM_COMMAND, (WPARAM) ID_PLAYLIST, 0); - break; - case MP_CMD_GUI_PREFERENCES: - if(fullscreen) guiSetEvent(evFullScreen); - PostMessage(mygui->mainwindow, WM_COMMAND, (WPARAM) ID_PREFS, 0); - break; - case MP_CMD_GUI_LOADFILE: - if(fullscreen) guiSetEvent(evFullScreen); - PostMessage(mygui->mainwindow, WM_COMMAND, (WPARAM) IDFILE_OPEN, 0); - break; - case MP_CMD_GUI_LOADSUBTITLE: - if(fullscreen) guiSetEvent(evFullScreen); - PostMessage(mygui->mainwindow, WM_COMMAND, (WPARAM) IDSUBTITLE_OPEN, 0); - break; default: break; }