| 12026 | } |
| 12027 | |
| 12028 | static ImGuiWindow* FindWindowNavFocusable(int i_start, int i_stop, int dir) // FIXME-OPT O(N) |
| 12029 | { |
| 12030 | ImGuiContext& g = *GImGui; |
| 12031 | for (int i = i_start; i >= 0 && i < g.WindowsFocusOrder.Size && i != i_stop; i += dir) |
| 12032 | if (ImGui::IsWindowNavFocusable(g.WindowsFocusOrder[i])) |
| 12033 | return g.WindowsFocusOrder[i]; |
| 12034 | return NULL; |
| 12035 | } |
| 12036 | |
| 12037 | static void NavUpdateWindowingHighlightWindow(int focus_change_dir) |
| 12038 | { |
no outgoing calls
no test coverage detected