[DEBUG] Display contents of ImGuiStorage
| 12737 | |
| 12738 | // [DEBUG] Display contents of ImGuiStorage |
| 12739 | void ImGui::DebugNodeStorage(ImGuiStorage* storage, const char* label) |
| 12740 | { |
| 12741 | if (!TreeNode(label, "%s: %d entries, %d bytes", label, storage->Data.Size, storage->Data.size_in_bytes())) |
| 12742 | return; |
| 12743 | for (int n = 0; n < storage->Data.Size; n++) |
| 12744 | { |
| 12745 | const ImGuiStorage::ImGuiStoragePair& p = storage->Data[n]; |
| 12746 | 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. |
| 12747 | } |
| 12748 | TreePop(); |
| 12749 | } |
| 12750 | |
| 12751 | // [DEBUG] Display contents of ImGuiTabBar |
| 12752 | void ImGui::DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label) |
nothing calls this directly
no test coverage detected