diff options
Diffstat (limited to 'Gui/mplayer/mw.h')
-rw-r--r-- | Gui/mplayer/mw.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/Gui/mplayer/mw.h b/Gui/mplayer/mw.h index 56f1bfc214..3aab21bc94 100644 --- a/Gui/mplayer/mw.h +++ b/Gui/mplayer/mw.h @@ -351,6 +351,9 @@ NoPause: mplMainRender=1; gtkShow( evLoadSubtitle,NULL ); break; + case evLoadAudioFile: + gtkShow( evLoadAudioFile,NULL ); + break; case evPrev: mplPrev(); mplMainRender=1; @@ -413,28 +416,28 @@ set_volume: case 1: wsIconify( appMPlayer.subWindow ); break; } break; - case evNormalSize: + case evDoubleSize: if ( guiIntfStruct.Playing ) { appMPlayer.subWindow.isFullScreen=True; - appMPlayer.subWindow.OldX=( wsMaxX - guiIntfStruct.MovieWidth ) / 2; - appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight ) / 2; - appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight; + appMPlayer.subWindow.OldX=( wsMaxX - guiIntfStruct.MovieWidth * 2 ) / 2; + appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight * 2 ) / 2; + appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth * 2; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight * 2; wsFullScreen( &appMPlayer.subWindow ); vo_fs=0; } break; - case evDoubleSize: + case evNormalSize: if ( guiIntfStruct.Playing ) { appMPlayer.subWindow.isFullScreen=True; - appMPlayer.subWindow.OldX=( wsMaxX - guiIntfStruct.MovieWidth * 2 ) / 2; - appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight * 2 ) / 2; - appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth * 2; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight * 2; + appMPlayer.subWindow.OldX=( wsMaxX - guiIntfStruct.MovieWidth ) / 2; + appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight ) / 2; + appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight; wsFullScreen( &appMPlayer.subWindow ); vo_fs=0; - } - break; + break; + } else if ( !appMPlayer.subWindow.isFullScreen ) break; case evFullScreen: for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ ) { |