Rarely used helper
| 10703 | |
| 10704 | // Rarely used helper |
| 10705 | void ImGui::SetKeyOwnersForKeyChord(ImGuiKeyChord key_chord, ImGuiID owner_id, ImGuiInputFlags flags) |
| 10706 | { |
| 10707 | if (key_chord & ImGuiMod_Ctrl) { SetKeyOwner(ImGuiMod_Ctrl, owner_id, flags); } |
| 10708 | if (key_chord & ImGuiMod_Shift) { SetKeyOwner(ImGuiMod_Shift, owner_id, flags); } |
| 10709 | if (key_chord & ImGuiMod_Alt) { SetKeyOwner(ImGuiMod_Alt, owner_id, flags); } |
| 10710 | if (key_chord & ImGuiMod_Super) { SetKeyOwner(ImGuiMod_Super, owner_id, flags); } |
| 10711 | if (key_chord & ~ImGuiMod_Mask_) { SetKeyOwner((ImGuiKey)(key_chord & ~ImGuiMod_Mask_), owner_id, flags); } |
| 10712 | } |
| 10713 | |
| 10714 | // This is more or less equivalent to a fancier version of: |
| 10715 | // if (IsItemHovered() || IsItemActive()) |
nothing calls this directly
no outgoing calls
no test coverage detected