[Internal] Do not use directly (should read io.KeyMods instead)
| 4159 | |
| 4160 | // [Internal] Do not use directly (should read io.KeyMods instead) |
| 4161 | static ImGuiKeyChord GetMergedModsFromBools() |
| 4162 | { |
| 4163 | ImGuiContext& g = *GImGui; |
| 4164 | ImGuiKeyChord key_chord = 0; |
| 4165 | if (g.IO.KeyCtrl) { key_chord |= ImGuiMod_Ctrl; } |
| 4166 | if (g.IO.KeyShift) { key_chord |= ImGuiMod_Shift; } |
| 4167 | if (g.IO.KeyAlt) { key_chord |= ImGuiMod_Alt; } |
| 4168 | if (g.IO.KeySuper) { key_chord |= ImGuiMod_Super; } |
| 4169 | return key_chord; |
| 4170 | } |
| 4171 | |
| 4172 | static void ImGui::UpdateKeyboardInputs() |
| 4173 | { |
no outgoing calls
no test coverage detected