Moved textbox input code out of InputManager
This commit is contained in:
parent
df3a78be1f
commit
262bf23bce
19 changed files with 343 additions and 329 deletions
|
|
@ -752,7 +752,7 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event) {
|
|||
mS.m->input.backend_key_up_update(event->key);
|
||||
break;
|
||||
case SDL_EVENT_TEXT_INPUT:
|
||||
mS.m->input.add_text_to_textbox(event->text.text);
|
||||
mS.m->input.backend_input_text_event(event->text.text);
|
||||
break;
|
||||
case SDL_EVENT_DROP_FILE:
|
||||
mS.m->update_scale_and_density();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue