MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / TreeNodeSetOpen

Method TreeNodeSetOpen

extern/imgui/imgui_widgets.cpp:5897–5902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5895}
5896
5897void ImGui::TreeNodeSetOpen(ImGuiID id, bool open)
5898{
5899 ImGuiContext& g = *GImGui;
5900 ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage;
5901 storage->SetInt(id, open ? 1 : 0);
5902}
5903
5904bool ImGui::TreeNodeUpdateNextOpen(ImGuiID id, ImGuiTreeNodeFlags flags)
5905{

Callers

nothing calls this directly

Calls 1

SetIntMethod · 0.80

Tested by

no test coverage detected