| 400 | } |
| 401 | |
| 402 | void Window::DoTextInput(String text) |
| 403 | { |
| 404 | if (debugMode) |
| 405 | return; |
| 406 | //on key unpress |
| 407 | if (focusedComponent_ != nullptr) |
| 408 | { |
| 409 | if (focusedComponent_->Enabled && focusedComponent_->Visible) |
| 410 | focusedComponent_->OnTextInput(text); |
| 411 | } |
| 412 | |
| 413 | if (!stop) |
| 414 | OnTextInput(text); |
| 415 | if (destruct) |
| 416 | finalise(); |
| 417 | } |
| 418 | |
| 419 | void Window::DoTextEditing(String text) |
| 420 | { |
no test coverage detected