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

Method DockNodeApplyPosSizeToWindows

imgui_tiny_app/imgui/imgui.cpp:18771–18778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18769}
18770
18771static void ImGui::DockNodeApplyPosSizeToWindows(ImGuiDockNode* node)
18772{
18773 for (ImGuiWindow* window : node->Windows)
18774 {
18775 SetWindowPos(window, node->Pos, ImGuiCond_Always); // We don't assign directly to Pos because it can break the calculation of SizeContents on next frame
18776 SetWindowSize(window, node->Size, ImGuiCond_Always);
18777 }
18778}
18779
18780static void ImGui::DockNodeHideHostWindow(ImGuiDockNode* node)
18781{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected