MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / BringWindowToDisplayBack

Method BringWindowToDisplayBack

imgui_tiny_app/imgui/imgui.cpp:13600–13612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13598}
13599
13600void ImGui::BringWindowToDisplayBack(ImGuiWindow* window)
13601{
13602 ImGuiContext& g = *GImGui;
13603 if (g.Windows[0] == window)
13604 return;
13605 for (int i = 0; i < g.Windows.Size; i++)
13606 if (g.Windows[i] == window)
13607 {
13608 memmove(&g.Windows[1], &g.Windows[0], (size_t)i * sizeof(ImGuiWindow*));
13609 g.Windows[0] = window;
13610 break;
13611 }
13612}
13613
13614void ImGui::BringWindowToDisplayBehind(ImGuiWindow* window, ImGuiWindow* behind_window)
13615{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected