MCPcopy Create free account
hub / github.com/RenderKit/embree / TreeNodeSetOpen

Method TreeNodeSetOpen

tutorials/common/imgui/imgui_widgets.cpp:5889–5894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5887}
5888
5889void ImGui::TreeNodeSetOpen(ImGuiID id, bool open)
5890{
5891 ImGuiContext& g = *GImGui;
5892 ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage;
5893 storage->SetInt(id, open ? 1 : 0);
5894}
5895
5896bool ImGui::TreeNodeUpdateNextOpen(ImGuiID id, ImGuiTreeNodeFlags flags)
5897{

Callers

nothing calls this directly

Calls 1

SetIntMethod · 0.80

Tested by

no test coverage detected