[Mplayer-cvslog] CVS: main/Gui/skin skin.c,1.19,1.20 skin.h,1.2,1.3

Zoltan Ponekker pontscho at mplayerhq.hu
Mon Nov 25 18:33:35 CET 2002


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

Modified Files:
	skin.c skin.h 
Log Message:
no seeking if stream is STREAMTYPE_STREAM (net/stdin)

Index: skin.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/skin/skin.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- skin.c	3 Jul 2002 08:55:26 -0000	1.19
+++ skin.c	25 Nov 2002 17:33:30 -0000	1.20
@@ -635,33 +635,3 @@
   }
  return 0;
 }
-
-void btnModify( int event,float state )
-{
- int j;
- for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ )
-  if ( appMPlayer.Items[j].msg == event )
-   {
-    switch ( appMPlayer.Items[j].type )
-     {
-      case itButton:
-           appMPlayer.Items[j].pressed=(int)state;
-           appMPlayer.Items[j].tmp=(int)state;
-           break;
-      case itPotmeter:
-      case itHPotmeter:
-           if ( state < 0.0f ) state=0.0f;
-           if ( state > 100.f ) state=100.0f;
-           appMPlayer.Items[j].value=state;
-           break;
-     }
-   }
-}
-
-float btnGetValue( int event )
-{
- int j;
- for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ )
-  if ( appMPlayer.Items[j].msg == event ) return appMPlayer.Items[j].value;
- return 0;
-}

Index: skin.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/skin/skin.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- skin.h	28 Aug 2001 15:55:02 -0000	1.2
+++ skin.h	25 Nov 2002 17:33:30 -0000	1.3
@@ -11,9 +11,6 @@
 extern int skinRead( char * dname  );
 extern int skinBPRead( char * fname, txSample * bf );
 
-extern void btnModify( int event,float state );
-extern float btnGetValue( int event );
-
 // ---
 
 extern char * strdelspacesbeforecommand( char * in );




More information about the MPlayer-cvslog mailing list