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

Method DockBuilderSetNodePos

imgui_tiny_app/imgui/imgui.cpp:20709–20717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20707}
20708
20709void ImGui::DockBuilderSetNodePos(ImGuiID node_id, ImVec2 pos)
20710{
20711 ImGuiContext& g = *GImGui;
20712 ImGuiDockNode* node = DockContextFindNodeByID(&g, node_id);
20713 if (node == NULL)
20714 return;
20715 node->Pos = pos;
20716 node->AuthorityForPos = ImGuiDataAuthority_DockNode;
20717}
20718
20719void ImGui::DockBuilderSetNodeSize(ImGuiID node_id, ImVec2 size)
20720{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected