MCPcopy Create free account
hub / github.com/ZeroMemoryEx/Chaos-Rootkit / BringWindowToDisplayBack

Method BringWindowToDisplayBack

ring3-gui/libs/imgui/imgui.cpp:6897–6909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6895}
6896
6897void ImGui::BringWindowToDisplayBack(ImGuiWindow* window)
6898{
6899 ImGuiContext& g = *GImGui;
6900 if (g.Windows[0] == window)
6901 return;
6902 for (int i = 0; i < g.Windows.Size; i++)
6903 if (g.Windows[i] == window)
6904 {
6905 memmove(&g.Windows[1], &g.Windows[0], (size_t)i * sizeof(ImGuiWindow*));
6906 g.Windows[0] = window;
6907 break;
6908 }
6909}
6910
6911void ImGui::BringWindowToDisplayBehind(ImGuiWindow* window, ImGuiWindow* behind_window)
6912{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected