Rarely used helper
| 10632 | |
| 10633 | // Rarely used helper |
| 10634 | void ImGui::SetKeyOwnersForKeyChord(ImGuiKeyChord key_chord, ImGuiID owner_id, ImGuiInputFlags flags) |
| 10635 | { |
| 10636 | if (key_chord & ImGuiMod_Ctrl) { SetKeyOwner(ImGuiMod_Ctrl, owner_id, flags); } |
| 10637 | if (key_chord & ImGuiMod_Shift) { SetKeyOwner(ImGuiMod_Shift, owner_id, flags); } |
| 10638 | if (key_chord & ImGuiMod_Alt) { SetKeyOwner(ImGuiMod_Alt, owner_id, flags); } |
| 10639 | if (key_chord & ImGuiMod_Super) { SetKeyOwner(ImGuiMod_Super, owner_id, flags); } |
| 10640 | if (key_chord & ~ImGuiMod_Mask_) { SetKeyOwner((ImGuiKey)(key_chord & ~ImGuiMod_Mask_), owner_id, flags); } |
| 10641 | } |
| 10642 | |
| 10643 | // This is more or less equivalent to: |
| 10644 | // if (IsItemHovered() || IsItemActive()) |
nothing calls this directly
no outgoing calls
no test coverage detected