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
42 Surface* shadow_chars;
47 Text(const std::string& file, int kind, int w, int h);
50 void draw(const char* text, int x, int y, int shadowsize = 1, int update = NO_UPDATE);
51 void draw_chars(Surface* pchars, const char* text, int x, int y, int update = NO_UPDATE);
52 void drawf(const char* text, int x, int y, TextHAlign halign, TextVAlign valign, int shadowsize, int update = NO_UPDATE);
53 void draw_align(const char* text, int x, int y, TextHAlign halign, TextVAlign valign, int shadowsize = 1, int update = NO_UPDATE);
54 void erasetext(const char * text, int x, int y, Surface* surf, int update, int shadowsize);
55 void erasecenteredtext(const char * text, int y, Surface* surf, int update, int shadowsize);
58 #endif /*SUPERTUX_TEXT_H*/