| 7154 | } |
| 7155 | |
| 7156 | int ImGui::FindWindowDisplayIndex(ImGuiWindow* window) |
| 7157 | { |
| 7158 | ImGuiContext& g = *GImGui; |
| 7159 | return g.Windows.index_from_ptr(g.Windows.find(window)); |
| 7160 | } |
| 7161 | |
| 7162 | // Moving window to front of display and set focus (which happens to be back of our sorted list) |
| 7163 | void ImGui::FocusWindow(ImGuiWindow* window, ImGuiFocusRequestFlags flags) |