Moved textbox input code out of InputManager

This commit is contained in:
Yousef Khadadeh 2026-04-03 23:02:33 +03:00
parent df3a78be1f
commit 262bf23bce
19 changed files with 343 additions and 329 deletions

View file

@ -119,6 +119,14 @@ void GUIHolder::draw(SkCanvas* canvas, bool skiaAA) {
canvas->restore();
}
void GUIHolder::input_text_key_callback(const InputManager::KeyCallbackArgs& key) {
gui.input_text_key_callback(key);
}
void GUIHolder::input_text_callback(const std::string& str) {
gui.input_text_callback(str);
}
void GUIHolder::input_key_callback(const InputManager::KeyCallbackArgs& key) {
gui.input_key_callback(key);
}