MCPcopy Create free account
hub / github.com/cinder/Cinder / TreeNodeSetOpen

Method TreeNodeSetOpen

src/imgui/imgui_widgets.cpp:6677–6682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6675}
6676
6677void ImGui::TreeNodeSetOpen(ImGuiID storage_id, bool open)
6678{
6679 ImGuiContext& g = *GImGui;
6680 ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage;
6681 storage->SetInt(storage_id, open ? 1 : 0);
6682}
6683
6684bool ImGui::TreeNodeUpdateNextOpen(ImGuiID storage_id, ImGuiTreeNodeFlags flags)
6685{

Callers

nothing calls this directly

Calls 1

SetIntMethod · 0.80

Tested by

no test coverage detected