Searched refs:OnKeyPressed (Results 1 – 2 of 2) sorted by relevance
2999 void ImGuiInputTextState::OnKeyPressed(int key) in OnKeyPressed() function in ImGuiInputTextState3310 edit_state.OnKeyPressed(STB_TEXTEDIT_K_WORDLEFT); in InputTextEx()3311 edit_state.OnKeyPressed(STB_TEXTEDIT_K_WORDRIGHT | STB_TEXTEDIT_K_SHIFT); in InputTextEx()3341 edit_state.OnKeyPressed((int)c); in InputTextEx()3368 …if (IsKeyPressedMap(ImGuiKey_LeftArrow)) { edit_state.OnKeyPressed((is_star… in InputTextEx()3369 …else if (IsKeyPressedMap(ImGuiKey_RightArrow)) { edit_state.OnKeyPressed((is_star… in InputTextEx()3370 …ow, ImMax(draw_window->Scroll.y - g.FontSize, 0.0f)); else edit_state.OnKeyPressed((is_startend_ke… in InputTextEx()3371 …raw_window->Scroll.y + g.FontSize, GetScrollMaxY())); else edit_state.OnKeyPressed((is_startend_ke… in InputTextEx()3372 …else if (IsKeyPressedMap(ImGuiKey_Home)) { edit_state.OnKeyPressed(io.KeyCt… in InputTextEx()3373 …else if (IsKeyPressedMap(ImGuiKey_End)) { edit_state.OnKeyPressed(io.KeyCt… in InputTextEx()[all …]
586 …void OnKeyPressed(int key); // Cannot be inline because we call in code in stb…