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
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue