[MPlayer-cvslog] r32827 - in trunk: DOCS/xml/de/skin.xml DOCS/xml/en/skin.xml gui/skin/skin.c

ib subversion at mplayerhq.hu
Sat Jan 29 16:13:55 CET 2011


Author: ib
Date: Sat Jan 29 16:13:55 2011
New Revision: 32827

Log:
Remove needless fontid.

The parameter fontid isn't used anywhere.
The documentation is wrong and very confusing to skin designers.

Modified:
   trunk/gui/skin/skin.c

Changes in other areas also in this revision:
Modified:
   trunk/DOCS/xml/de/skin.xml
   trunk/DOCS/xml/en/skin.xml

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Fri Jan 28 20:06:27 2011	(r32826)
+++ trunk/gui/skin/skin.c	Sat Jan 29 16:13:55 2011	(r32827)
@@ -471,9 +471,8 @@ static int cmd_potmeter( char * in )
 }
 
 static int cmd_font( char * in )
-{ // font=fontname,fontid
+{ // font=fontname
  char    name[512];
- char    id[512];
  wItem * item;
 
  CHECKDEFLIST( "font" );
@@ -483,7 +482,6 @@ static int cmd_font( char * in )
  CHECK( "menu" );
 
  cutItem( in,name,',',0 );
- cutItem( in,id,',',1 );
 
  mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"\n[skin] font\n" );
  mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"[skin]  name: %s\n",name );
@@ -542,7 +540,7 @@ static int cmd_slabel( char * in )
 }
 
 static int cmd_dlabel( char * in )
-{ // dlabel=x,y,sx,align,fontid,string ...
+{ // dlabel=x,y,sx,align,fontfile,string ...
  char    tmp[512];
  char    sid[63];
  int     x,y,sx,id,a;


More information about the MPlayer-cvslog mailing list