7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2004
9 // Copyright: See COPYING file that comes with this distribution
13 #ifndef SUPERTUX_TEXT_H
14 #define SUPERTUX_TEXT_H
19 typedef struct text_type
22 texture_type shadow_chars;
45 void text_load(text_type* ptext, char* file, int kind, int w, int h);
46 void text_draw(text_type* ptext, char* text, int x, int y, int shadowsize, int update);
47 void text_draw_chars(text_type* ptext, texture_type* pchars, char* text, int x, int y, int update);
48 void text_drawf(text_type* ptext, char* text, int x, int y, int halign, int valign, int shadowsize, int update);
49 void text_free(text_type* ptext);
50 void erasetext(text_type* ptext, char * text, int x, int y, texture_type * surf, int update, int shadowsize);
51 void erasecenteredtext(text_type* ptext, char * text, int y, texture_type * surf, int update, int shadowsize);
53 #endif /*SUPERTUX_TEXT_H*/