MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / OnKeyPressed

Method OnKeyPressed

extern/imgui/imgui_widgets.cpp:3742–3747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3740} // namespace ImStb
3741
3742void ImGuiInputTextState::OnKeyPressed(int key)
3743{
3744 stb_textedit_key(this, &Stb, key);
3745 CursorFollow = true;
3746 CursorAnimReset();
3747}
3748
3749ImGuiInputTextCallbackData::ImGuiInputTextCallbackData()
3750{

Callers 1

InputTextExMethod · 0.80

Calls 2

stb_textedit_keyFunction · 0.85
CursorAnimResetFunction · 0.85

Tested by

no test coverage detected