void erase_all()
Borra todo el texto del textbox.
Definition: text_box.cpp:19
void add_line(std::string string)
Agrega una nueva linea al textbox.
Definition: text_box.cpp:21
TextBox(SDL_Rect render_area, SDL_Renderer *renderer, int nlines, SDL_Color font_color, SDL_Color background_color, TTF_Font *font)
Crea un objeto TextBox.
Definition: text_box.cpp:5
void render()
Renderiza el textbox.
Definition: text_box.cpp:40
Caja de texto. Usada en el chat.
Definition: text_box.h:14