comparison Gui/mplayer/play.c @ 2911:7a8cc25832fa

skin change bug fix
author pontscho
date Wed, 14 Nov 2001 23:47:08 +0000
parents fd44ecf77f8d
children 6d341644ee28
comparison
equal deleted inserted replaced
2910:56428bdf583e 2911:7a8cc25832fa
183 if ( ( !appMPlayer.subWindow.isFullScreen )&&( !mplShMem->Playing ) ) 183 if ( ( !appMPlayer.subWindow.isFullScreen )&&( !mplShMem->Playing ) )
184 { 184 {
185 wsResizeWindow( &appMPlayer.subWindow,appMPlayer.sub.width,appMPlayer.sub.height ); 185 wsResizeWindow( &appMPlayer.subWindow,appMPlayer.sub.width,appMPlayer.sub.height );
186 wsMoveWindow( &appMPlayer.subWindow,True,appMPlayer.sub.x,appMPlayer.sub.y ); 186 wsMoveWindow( &appMPlayer.subWindow,True,appMPlayer.sub.x,appMPlayer.sub.y );
187 } 187 }
188 wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB );
189 if ( appMPlayer.sub.Bitmap.Image ) wsConvert( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Image,appMPlayer.sub.Bitmap.ImageSize ); 188 if ( appMPlayer.sub.Bitmap.Image ) wsConvert( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Image,appMPlayer.sub.Bitmap.ImageSize );
190 if ( !mplShMem->Playing ) 189 if ( !mplShMem->Playing )
191 { 190 {
192 mplSubRender=1; 191 mplSubRender=1;
192 wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB );
193 wsClearWindow( appMPlayer.subWindow ); 193 wsClearWindow( appMPlayer.subWindow );
194 wsPostRedisplay( &appMPlayer.subWindow ); 194 wsPostRedisplay( &appMPlayer.subWindow );
195 } 195 }
196 196
197 if ( mplDrawBuffer ) free( mplDrawBuffer ); 197 if ( mplDrawBuffer ) free( mplDrawBuffer );