changeset 33971:922771be85f6

Cosmetic: Rename fntRender() fntTextRender().
author ib
date Mon, 05 Sep 2011 16:19:04 +0000
parents 9b28414785e1
children 91882b432024
files gui/skin/font.c gui/skin/font.h gui/ui/render.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/font.c	Mon Sep 05 16:08:16 2011 +0000
+++ b/gui/skin/font.c	Mon Sep 05 16:19:04 2011 +0000
@@ -270,7 +270,7 @@
     return max;
 }
 
-guiImage *fntRender(wItem *item, int px, char *txt)
+guiImage *fntTextRender(wItem *item, int px, char *txt)
 {
     unsigned char *u;
     unsigned int i;
--- a/gui/skin/font.h	Mon Sep 05 16:08:16 2011 +0000
+++ b/gui/skin/font.h	Mon Sep 05 16:19:04 2011 +0000
@@ -43,7 +43,7 @@
 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 */
--- a/gui/ui/render.c	Mon Sep 05 16:08:16 2011 +0000
+++ b/gui/ui/render.c	Mon Sep 05 16:19:04 2011 +0000
@@ -429,7 +429,7 @@
         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 @@
                 }
             }
 
-            image = fntRender(item, x, t);
+            image = fntTextRender(item, x, t);
         }
 
             if (image)