Mercurial > mplayer.hg
comparison Gui/mplayer/mw.h @ 2854:fd44ecf77f8d
move bug meg fileload bug fixed asszem.
author | pontscho |
---|---|
date | Mon, 12 Nov 2001 15:16:13 +0000 |
parents | b64fa5d25142 |
children | d47cbcdce1a8 |
comparison
equal
deleted
inserted
replaced
2853:af5b47669254 | 2854:fd44ecf77f8d |
---|---|
168 btnModify( evPlaySwitchToPause,btnDisabled ); | 168 btnModify( evPlaySwitchToPause,btnDisabled ); |
169 btnModify( evPauseSwitchToPlay,btnReleased ); | 169 btnModify( evPauseSwitchToPlay,btnReleased ); |
170 } | 170 } |
171 } | 171 } |
172 | 172 |
173 // --- erosen ideiglenes. | |
174 strcpy( gtkShMem->fs.filename,mplShMem->Filename ); | |
175 // --- | |
176 | |
177 if ( mplMainRender ) | 173 if ( mplMainRender ) |
178 { | 174 { |
179 memcpy( mplDrawBuffer,appMPlayer.main.Bitmap.Image,appMPlayer.main.Bitmap.ImageSize ); | 175 memcpy( mplDrawBuffer,appMPlayer.main.Bitmap.Image,appMPlayer.main.Bitmap.ImageSize ); |
180 for( i=0;i < appMPlayer.NumberOfItems + 1;i++ ) | 176 for( i=0;i < appMPlayer.NumberOfItems + 1;i++ ) |
181 { | 177 { |
210 } | 206 } |
211 wsConvert( &appMPlayer.mainWindow,mplDrawBuffer,appMPlayer.main.Bitmap.ImageSize ); | 207 wsConvert( &appMPlayer.mainWindow,mplDrawBuffer,appMPlayer.main.Bitmap.ImageSize ); |
212 mplMainRender=0; | 208 mplMainRender=0; |
213 } | 209 } |
214 wsPutImage( &appMPlayer.mainWindow ); | 210 wsPutImage( &appMPlayer.mainWindow ); |
215 XFlush( wsDisplay ); | 211 // XFlush( wsDisplay ); |
216 } | 212 } |
217 | 213 |
218 #define IZE(x) printf("@@@ " x " @@@\n"); | 214 #define IZE(x) printf("@@@ " x " @@@\n"); |
219 | 215 |
220 extern void exit_player(char* how); | 216 extern void exit_player(char* how); |
499 case wsMoveMouse: | 495 case wsMoveMouse: |
500 item=&appMPlayer.Items[SelectedItem]; | 496 item=&appMPlayer.Items[SelectedItem]; |
501 switch ( itemtype ) | 497 switch ( itemtype ) |
502 { | 498 { |
503 case itPLMButton: | 499 case itPLMButton: |
504 wsMoveWindow( &appMPlayer.mainWindow,RX - abs( sx ),RY - abs( sy ) ); | 500 wsMoveWindow( &appMPlayer.mainWindow,False,RX - abs( sx ),RY - abs( sy ) ); |
505 mplMainRender=0; | 501 mplMainRender=0; |
506 break; | 502 break; |
507 case itPRMButton: | 503 case itPRMButton: |
508 mplMenuMouseHandle( X,Y,RX,RY ); | 504 mplMenuMouseHandle( X,Y,RX,RY ); |
509 break; | 505 break; |