#include "SDL.h" #include "SDL_ttf.h" #ifndef TEXT_H #define TEXT_H typedef struct { SDL_Surface * Surface; SDL_Rect Rect; } Text_t; Text_t * CreateText(TTF_Font * Font, const char * text, SDL_Color * components); void UpdateText(Text_t * tobeupdated, TTF_Font * Font, const char * text, SDL_Color * components); void DeleteText(Text_t * Text); #endif