[MPlayer-cvslog] r34059 - in trunk/gui: skin/font.c skin/font.h ui/render.c

ib subversion at mplayerhq.hu
Mon Sep 5 18:19:05 CEST 2011


Author: ib
Date: Mon Sep  5 18:19:04 2011
New Revision: 34059

Log:
Cosmetic: Rename fntRender() fntTextRender().

Modified:
   trunk/gui/skin/font.c
   trunk/gui/skin/font.h
   trunk/gui/ui/render.c

Modified: trunk/gui/skin/font.c
==============================================================================
--- trunk/gui/skin/font.c	Mon Sep  5 18:08:16 2011	(r34058)
+++ trunk/gui/skin/font.c	Mon Sep  5 18:19:04 2011	(r34059)
@@ -270,7 +270,7 @@ static int fntTextHeight(int id, char *s
     return max;
 }
 
-guiImage *fntRender(wItem *item, int px, char *txt)
+guiImage *fntTextRender(wItem *item, int px, char *txt)
 {
     unsigned char *u;
     unsigned int i;

Modified: trunk/gui/skin/font.h
==============================================================================
--- trunk/gui/skin/font.h	Mon Sep  5 18:08:16 2011	(r34058)
+++ trunk/gui/skin/font.h	Mon Sep  5 18:19:04 2011	(r34059)
@@ -43,7 +43,7 @@ typedef struct {
 int fntFindID(char *name);
 void fntFreeFont(void);
 int fntRead(char *path, char *fname);
-guiImage *fntRender(wItem *item, int px, char *txt);
+guiImage *fntTextRender(wItem *item, int px, char *txt);
 int fntTextWidth(int id, char *str);
 
 #endif /* MPLAYER_GUI_FONT_H */

Modified: trunk/gui/ui/render.c
==============================================================================
--- trunk/gui/ui/render.c	Mon Sep  5 18:08:16 2011	(r34058)
+++ trunk/gui/ui/render.c	Mon Sep  5 18:19:04 2011	(r34059)
@@ -429,7 +429,7 @@ void RenderAll(wsTWindow *window, wItem 
         case itSLabel:
             if (item->width == -1)
                 item->width = fntTextWidth(item->fontid, item->label);
-            image = fntRender(item, 0, item->label);
+            image = fntTextRender(item, 0, item->label);
             if (image)
                 PutImage(image, item->x, item->y, 1, 0);
             break;
@@ -467,7 +467,7 @@ void RenderAll(wsTWindow *window, wItem 
                 }
             }
 
-            image = fntRender(item, x, t);
+            image = fntTextRender(item, x, t);
         }
 
             if (image)


More information about the MPlayer-cvslog mailing list