[Mplayer-cvslog] CVS: main/Gui app.c,1.16,1.17 app.h,1.11,1.12 interface.c,1.59,1.60

Zoltan Ponekker pontscho at mplayerhq.hu
Thu Nov 28 00:11:52 CET 2002


Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv27138

Modified Files:
	app.c app.h interface.c 
Log Message:
10l fix in item disabling (vagymi)

Index: app.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- app.c	25 Nov 2002 17:33:02 -0000	1.16
+++ app.c	27 Nov 2002 23:11:39 -0000	1.17
@@ -189,6 +189,6 @@
 {
  int j;
  for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ )
-   if ( appMPlayer.Items[j].msg == event ) appMPlayer.Items[j].disabled=set;
+   if ( appMPlayer.Items[j].msg == event ) appMPlayer.Items[j].pressed=set;
 }
 												    

Index: app.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- app.h	25 Nov 2002 17:33:02 -0000	1.11
+++ app.h	27 Nov 2002 23:11:39 -0000	1.12
@@ -120,7 +120,7 @@
  int        px,py,psx,psy;
 // ---
  int        msg,msg2;
- int        pressed,disabled,tmp;
+ int        pressed,tmp;
  int        key,key2;
  int        phases;
  float      value;

Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- interface.c	25 Nov 2002 18:18:43 -0000	1.59
+++ interface.c	27 Nov 2002 23:11:39 -0000	1.60
@@ -545,8 +545,8 @@
 
 	if ( guiIntfStruct.NoWindow ) wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
 	
-	if ( guiIntfStruct.StreamType == STREAMTYPE_STREAM ) btnSet( evSetMoviePosition,1 );
-	 else btnSet( evSetMoviePosition,0 );
+	if ( guiIntfStruct.StreamType == STREAMTYPE_STREAM ) btnSet( evSetMoviePosition,btnDisabled );
+	 else btnSet( evSetMoviePosition,btnReleased );
 	 
 	if ( gtkCacheOn ) stream_cache_size=gtkCacheSize;
 	 else stream_cache_size=-1;




More information about the MPlayer-cvslog mailing list