MCPcopy Create free account
hub / github.com/Raais/ImStudio / BringWindowToDisplayBack

Method BringWindowToDisplayBack

src/third-party/imgui/imgui.cpp:6684–6696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6682}
6683
6684void ImGui::BringWindowToDisplayBack(ImGuiWindow* window)
6685{
6686 ImGuiContext& g = *GImGui;
6687 if (g.Windows[0] == window)
6688 return;
6689 for (int i = 0; i < g.Windows.Size; i++)
6690 if (g.Windows[i] == window)
6691 {
6692 memmove(&g.Windows[1], &g.Windows[0], (size_t)i * sizeof(ImGuiWindow*));
6693 g.Windows[0] = window;
6694 break;
6695 }
6696}
6697
6698void ImGui::BringWindowToDisplayBehind(ImGuiWindow* window, ImGuiWindow* behind_window)
6699{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected