Mercurial > mplayer.hg
comparison Gui/mplayer/play.c @ 8864:b8c271750450
- sync with x11_common
- half rewrited font render engine (disabled by default)
author | pontscho |
---|---|
date | Thu, 09 Jan 2003 20:47:14 +0000 |
parents | 9ea5f18a7957 |
children | d07ab8e088a9 |
comparison
equal
deleted
inserted
replaced
8863:46440d3621a8 | 8864:b8c271750450 |
---|---|
236 | 236 |
237 if ( mplDrawBuffer ) free( mplDrawBuffer ); | 237 if ( mplDrawBuffer ) free( mplDrawBuffer ); |
238 if ( ( mplDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.main.Bitmap.ImageSize ) ) == NULL ) | 238 if ( ( mplDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.main.Bitmap.ImageSize ) ) == NULL ) |
239 { mp_msg( MSGT_GPLAYER,MSGL_STATUS,MSGTR_NEMDB ); return; } | 239 { mp_msg( MSGT_GPLAYER,MSGL_STATUS,MSGTR_NEMDB ); return; } |
240 | 240 |
241 if ( wsWMType == wsWMUnknown ) wsVisibleWindow( &appMPlayer.mainWindow,wsHideWindow ); | 241 if ( vo_wm_type == vo_wm_Unknown ) wsVisibleWindow( &appMPlayer.mainWindow,wsHideWindow ); |
242 wsResizeWindow( &appMPlayer.mainWindow,appMPlayer.main.width,appMPlayer.main.height ); | 242 wsResizeWindow( &appMPlayer.mainWindow,appMPlayer.main.width,appMPlayer.main.height ); |
243 wsMoveWindow( &appMPlayer.mainWindow,True,appMPlayer.main.x,appMPlayer.main.y ); | 243 wsMoveWindow( &appMPlayer.mainWindow,True,appMPlayer.main.x,appMPlayer.main.y ); |
244 wsResizeImage( &appMPlayer.mainWindow,appMPlayer.main.width,appMPlayer.main.height ); | 244 wsResizeImage( &appMPlayer.mainWindow,appMPlayer.main.width,appMPlayer.main.height ); |
245 wsSetShape( &appMPlayer.mainWindow,appMPlayer.main.Mask.Image ); | 245 wsSetShape( &appMPlayer.mainWindow,appMPlayer.main.Mask.Image ); |
246 wsWindowDecoration( &appMPlayer.mainWindow,appMPlayer.mainDecoration ); | 246 wsWindowDecoration( &appMPlayer.mainWindow,appMPlayer.mainDecoration ); |