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

Method TreeNodeGetOpen

src/imgui/imgui_widgets.cpp:6670–6675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6668}
6669
6670bool ImGui::TreeNodeGetOpen(ImGuiID storage_id)
6671{
6672 ImGuiContext& g = *GImGui;
6673 ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage;
6674 return storage->GetInt(storage_id, 0) != 0;
6675}
6676
6677void ImGui::TreeNodeSetOpen(ImGuiID storage_id, bool open)
6678{

Callers

nothing calls this directly

Calls 1

GetIntMethod · 0.80

Tested by

no test coverage detected