MCPcopy Create free account
hub / github.com/Wemino/EchoPatch / DebugNodeStorage

Method DebugNodeStorage

include/imgui/imgui.cpp:17525–17535  ·  view source on GitHub ↗

[DEBUG] Display contents of ImGuiStorage

Source from the content-addressed store, hash-verified

17523
17524// [DEBUG] Display contents of ImGuiStorage
17525void ImGui::DebugNodeStorage(ImGuiStorage* storage, const char* label)
17526{
17527 if (!TreeNode(label, "%s: %d entries, %d bytes", label, storage->Data.Size, storage->Data.size_in_bytes()))
17528 return;
17529 for (const ImGuiStoragePair& p : storage->Data)
17530 {
17531 BulletText("Key 0x%08X Value { i: %d }", p.key, p.val_i); // Important: we currently don't store a type, real value may not be integer.
17532 DebugLocateItemOnHover(p.key);
17533 }
17534 TreePop();
17535}
17536
17537// [DEBUG] Display contents of ImGuiTabBar
17538void ImGui::DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected