| 420 | } |
| 421 | |
| 422 | void ImGuiWidget::onSelectText(const SelectTextEvent& e) |
| 423 | { |
| 424 | ImGui::SetCurrentContext(imData->context); |
| 425 | |
| 426 | ImGuiIO& io(ImGui::GetIO()); |
| 427 | io.AddInputCharacter(e.codepoint); |
| 428 | |
| 429 | if (io.WantCaptureKeyboard) |
| 430 | e.consume(this); |
| 431 | } |
| 432 | |
| 433 | void ImGuiWidget::step() |
| 434 | { |
nothing calls this directly
no test coverage detected