MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / FixupKeyChord

Method FixupKeyChord

TheForceEngine/TFE_Ui/imGUI/imgui.cpp:8438–8445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8436}
8437
8438ImGuiKeyChord ImGui::FixupKeyChord(ImGuiKeyChord key_chord)
8439{
8440 // Add ImGuiMod_XXXX when a corresponding ImGuiKey_LeftXXX/ImGuiKey_RightXXX is specified.
8441 ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_);
8442 if (IsModKey(key))
8443 key_chord |= GetModForModKey(key);
8444 return key_chord;
8445}
8446
8447ImGuiKeyData* ImGui::GetKeyData(ImGuiContext* ctx, ImGuiKey key)
8448{

Callers

nothing calls this directly

Calls 2

IsModKeyFunction · 0.85
GetModForModKeyFunction · 0.85

Tested by

no test coverage detected