1 /* file created on Wed Aug 28 15:38:28 CEST 2002 by doom */ 2 3 #ifndef _scrollingtext_H 4 #define _scrollingtext_H 5 6 /// SCROLLING TEXT 7 8 #include "sofont.h" 9 #include "glSDL.h" 10 11 typedef struct _SCROLLING_TEXT ScrollingText; 12 13 /// mettre NULL pour cr�er un objet vide.. et affecter ce qu'on veut + tard 14 ScrollingText *scrolling_text_new (const char *text, SoFont * font); 15 void scrolling_text_set_font (ScrollingText * st, SoFont * font); 16 void scrolling_text_set_text (ScrollingText * st, const char *text); 17 18 void scrolling_text_update (ScrollingText * st, SDL_Surface * surf); 19 void scrolling_text_draw (ScrollingText * st, SDL_Surface * surf, int y); 20 21 #endif /* _scrollingtext_H */ 22