MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / TreeNodeSetOpen

Method TreeNodeSetOpen

Dependencies/ImGui/src/imgui_widgets.cpp:6502–6507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6500}
6501
6502void ImGui::TreeNodeSetOpen(ImGuiID storage_id, bool open)
6503{
6504 ImGuiContext& g = *GImGui;
6505 ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage;
6506 storage->SetInt(storage_id, open ? 1 : 0);
6507}
6508
6509bool ImGui::TreeNodeUpdateNextOpen(ImGuiID storage_id, ImGuiTreeNodeFlags flags)
6510{

Callers

nothing calls this directly

Calls 1

SetIntMethod · 0.80

Tested by

no test coverage detected