MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / BringWindowToDisplayBack

Method BringWindowToDisplayBack

include/imgui/imgui.cpp:12971–12983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12969}
12970
12971void ImGui::BringWindowToDisplayBack(ImGuiWindow* window)
12972{
12973 ImGuiContext& g = *GImGui;
12974 if (g.Windows[0] == window)
12975 return;
12976 for (int i = 0; i < g.Windows.Size; i++)
12977 if (g.Windows[i] == window)
12978 {
12979 memmove(&g.Windows[1], &g.Windows[0], (size_t)i * sizeof(ImGuiWindow*));
12980 g.Windows[0] = window;
12981 break;
12982 }
12983}
12984
12985void ImGui::BringWindowToDisplayBehind(ImGuiWindow* window, ImGuiWindow* behind_window)
12986{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected