Mercurial > mplayer.hg
comparison Gui/mplayer/play.c @ 6089:39c2bfe5c267
small fixes
author | pontscho |
---|---|
date | Tue, 14 May 2002 11:41:02 +0000 |
parents | b5fb9a927bf3 |
children | b9651eb9749e |
comparison
equal
deleted
inserted
replaced
6088:99d7f3e033ae | 6089:39c2bfe5c267 |
---|---|
179 if ( skinRead( name ) ) | 179 if ( skinRead( name ) ) |
180 { | 180 { |
181 mainVisible=1; | 181 mainVisible=1; |
182 return; | 182 return; |
183 } | 183 } |
184 | |
185 if ( appMPlayer.menuBase.Bitmap.Image ) | 184 if ( appMPlayer.menuBase.Bitmap.Image ) |
186 { | 185 { |
187 if ( mplMenuDrawBuffer ) free( mplMenuDrawBuffer ); | 186 if ( mplMenuDrawBuffer ) free( mplMenuDrawBuffer ); |
188 if ( ( mplMenuDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.menuBase.Bitmap.ImageSize ) ) == NULL ) | 187 if ( ( mplMenuDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.menuBase.Bitmap.ImageSize ) ) == NULL ) |
189 { mp_msg( MSGT_GPLAYER,MSGL_STATUS,MSGTR_NEMDB ); return; } | 188 { mp_msg( MSGT_GPLAYER,MSGL_STATUS,MSGTR_NEMDB ); return; } |
190 wsResizeWindow( &appMPlayer.menuWindow,appMPlayer.menuBase.width,appMPlayer.menuBase.height ); | 189 wsResizeWindow( &appMPlayer.menuWindow,appMPlayer.menuBase.width,appMPlayer.menuBase.height ); |
191 wsResizeImage( &appMPlayer.menuWindow,appMPlayer.menuBase.width,appMPlayer.menuBase.height ); | 190 wsResizeImage( &appMPlayer.menuWindow,appMPlayer.menuBase.width,appMPlayer.menuBase.height ); |
191 wsVisibleWindow( &appMPlayer.menuWindow,wsHideWindow ); | |
192 } | 192 } |
193 | 193 |
194 if ( appMPlayer.sub.Bitmap.Image ) wsResizeImage( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Width,appMPlayer.sub.Bitmap.Height ); | 194 if ( appMPlayer.sub.Bitmap.Image ) wsResizeImage( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Width,appMPlayer.sub.Bitmap.Height ); |
195 if ( ( !appMPlayer.subWindow.isFullScreen )&&( !guiIntfStruct.Playing ) ) | 195 if ( ( !appMPlayer.subWindow.isFullScreen )&&( !guiIntfStruct.Playing ) ) |
196 { | 196 { |