-
Notifications
You must be signed in to change notification settings - Fork 1
Text_input
fgrimau edited this page Dec 28, 2019
·
12 revisions
Handle a complete text input, drawing, handling events (such as copy/paste), and text keeping
TextInput()TextInput(const TextInput&)~TextInput()TextInput& operator=(const TextInput&)
bool collide(SDL_Event*) constbool collide(int, int) const
void set_text_size(int, int)
int draw(Screen*)int update(SDL_Event*, Screen*, TTF_Font*)void update_image(Screen*, TTF_Font*)