Mercurial > mplayer.hg
comparison Gui/interface.c @ 5955:caac20b1ca79
fix xmga fs, resize to movie size and mouse auto hide + dga
author | pontscho |
---|---|
date | Fri, 03 May 2002 20:57:13 +0000 |
parents | f9fe22a52e80 |
children | 1e6273906977 |
comparison
equal
deleted
inserted
replaced
5954:70b326241d52 | 5955:caac20b1ca79 |
---|---|
94 break; | 94 break; |
95 case guiReDrawSubWindow: | 95 case guiReDrawSubWindow: |
96 wsPostRedisplay( &appMPlayer.subWindow ); | 96 wsPostRedisplay( &appMPlayer.subWindow ); |
97 break; | 97 break; |
98 case guiSetShVideo: | 98 case guiSetShVideo: |
99 if ( arg ) | |
100 { | 99 { |
101 tmp_sh_video_t * sh_video = (tmp_sh_video_t *)arg; | |
102 mplResizeToMovieSize( vo_dwidth,vo_dheight ); | 100 mplResizeToMovieSize( vo_dwidth,vo_dheight ); |
103 guiIntfStruct.MovieWidth=sh_video->disp_w; | 101 guiIntfStruct.MovieWidth=vo_dwidth; |
104 guiIntfStruct.MovieHeight=sh_video->disp_h; | 102 guiIntfStruct.MovieHeight=vo_dwidth; |
105 } | 103 } |
106 break; | 104 break; |
107 #ifdef USE_DVDREAD | 105 #ifdef USE_DVDREAD |
108 case guiSetDVD: | 106 case guiSetDVD: |
109 guiIntfStruct.DVD.titles=dvdp->vmg_file->tt_srpt->nr_of_srpts; | 107 guiIntfStruct.DVD.titles=dvdp->vmg_file->tt_srpt->nr_of_srpts; |