[Mplayer-cvslog] CVS: main/Gui app.c,1.10,1.11 interface.h,1.6,1.7
Zoltan Ponekker
pontscho at mplayer.dev.hu
Thu Mar 7 16:06:04 CET 2002
Update of /cvsroot/mplayer/main/Gui
In directory mplayer:/var/tmp.root/cvs-serv601
Modified Files:
app.c interface.h
Log Message:
PlayToPause bug with mouse fixed
Index: app.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- app.c 23 Feb 2002 15:12:50 -0000 1.10
+++ app.c 7 Mar 2002 15:06:01 -0000 1.11
@@ -11,6 +11,7 @@
#include "wm/wskeys.h"
#include "skin/skin.h"
#include "mplayer/mplayer.h"
+#include "interface.h"
listItems appMPlayer;
@@ -27,12 +28,12 @@
item->px=0; item->py=0; item->psx=0; item->psy=0;
// ---
item->msg=0; item->msg2=0;
- item->pressed=0;
+ item->pressed=btnReleased;
item->tmp=0;
item->key=0; item->key2=0;
item->Bitmap.Width=0; item->Bitmap.Height=0; item->Bitmap.BPP=0; item->Bitmap.ImageSize=0;
- if ( item->Bitmap.Image )
- { free( item->Bitmap.Image ); item->Bitmap.Image=NULL; }
+ if ( item->Bitmap.Image ) free( item->Bitmap.Image );
+ item->Bitmap.Image=NULL;
// ---
item->fontid=0;
if ( item->label ) free( item->label ); item->label=NULL;
Index: interface.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- interface.h 7 Mar 2002 11:57:32 -0000 1.6
+++ interface.h 7 Mar 2002 15:06:01 -0000 1.7
@@ -101,6 +101,8 @@
#define guiSetPlay 1
#define guiSetPause 2
+extern char *get_path(char *filename);
+
extern void guiInit( int argc,char* argv[], char *envp[] );
extern void guiDone( void );
extern void guiGetEvent( int type,char * arg );
More information about the MPlayer-cvslog
mailing list