This is a shortcut for not taking ownership of 100+ keys, frequently used by drag operations. FIXME: It might be undesirable that this will likely disable KeyOwner-aware shortcuts systems. Consider a more fine-tuned version if needed?
| 6388 | // This is a shortcut for not taking ownership of 100+ keys, frequently used by drag operations. |
| 6389 | // FIXME: It might be undesirable that this will likely disable KeyOwner-aware shortcuts systems. Consider a more fine-tuned version if needed? |
| 6390 | void ImGui::SetActiveIdUsingAllKeyboardKeys() |
| 6391 | { |
| 6392 | ImGuiContext& g = *GImGui; |
| 6393 | IM_ASSERT(g.ActiveId != 0); |
| 6394 | g.ActiveIdUsingNavDirMask = (1 << ImGuiDir_COUNT) - 1; |
| 6395 | g.ActiveIdUsingAllKeyboardKeys = true; |
| 6396 | NavMoveRequestCancel(); |
| 6397 | } |
| 6398 | |
| 6399 | ImGuiID ImGui::GetItemID() |
| 6400 | { |
nothing calls this directly
no outgoing calls
no test coverage detected