owner_id may be None/Any, but routing_id needs to be always be set, so we default to GetCurrentFocusScope().
| 8067 | |
| 8068 | // owner_id may be None/Any, but routing_id needs to be always be set, so we default to GetCurrentFocusScope(). |
| 8069 | static inline ImGuiID GetRoutingIdFromOwnerId(ImGuiID owner_id) |
| 8070 | { |
| 8071 | ImGuiContext& g = *GImGui; |
| 8072 | return (owner_id != ImGuiKeyOwner_None && owner_id != ImGuiKeyOwner_Any) ? owner_id : g.CurrentFocusScopeId; |
| 8073 | } |
| 8074 | |
| 8075 | ImGuiKeyRoutingData* ImGui::GetShortcutRoutingData(ImGuiKeyChord key_chord) |
| 8076 | { |
no outgoing calls