[DEBUG] Display contents of ImGuiStorage
| 17614 | |
| 17615 | // [DEBUG] Display contents of ImGuiStorage |
| 17616 | void ImGui::DebugNodeStorage(ImGuiStorage* storage, const char* label) |
| 17617 | { |
| 17618 | if (!TreeNode(label, "%s: %d entries, %d bytes", label, storage->Data.Size, storage->Data.size_in_bytes())) |
| 17619 | return; |
| 17620 | for (const ImGuiStoragePair& p : storage->Data) |
| 17621 | { |
| 17622 | 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. |
| 17623 | DebugLocateItemOnHover(p.key); |
| 17624 | } |
| 17625 | TreePop(); |
| 17626 | } |
| 17627 | |
| 17628 | // [DEBUG] Display contents of ImGuiTabBar |
| 17629 | void ImGui::DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label) |
nothing calls this directly
no outgoing calls
no test coverage detected