Remove character_length() and render_character() functions

This commit is contained in:
David Capello 2013-01-06 14:49:42 -03:00
parent 7adf1d1a25
commit 370e9cdd08
2 changed files with 0 additions and 17 deletions

View File

@ -448,17 +448,3 @@ void draw_progress_bar(BITMAP* bmp,
rectfill(bmp, x1+u+1, y1+1, x2-1, y2-1,
ui::to_system(theme->getColor(ThemeColor::Background)));
}
/************************************************************************/
/* Font related */
int character_length(FONT* font, int chr)
{
return font->vtable->char_length(font, chr);
}
/* renders a character of the font centered in x and y */
void render_character(BITMAP* bmp, FONT* font, int chr, int x, int y, int fg, int bg)
{
font->vtable->render_char(font, chr, fg, bg, bmp, x, y);
}

View File

@ -48,7 +48,4 @@ void draw_progress_bar(BITMAP* bmp,
int x1, int y1, int x2, int y2,
float progress);
int character_length(FONT* font, int chr);
void render_character(BITMAP* bmp, FONT* font, int chr, int x, int y, int fg, int bg);
#endif