[DEBUG] Display contents of Columns
| 17151 | |
| 17152 | // [DEBUG] Display contents of Columns |
| 17153 | void ImGui::DebugNodeColumns(ImGuiOldColumns* columns) |
| 17154 | { |
| 17155 | if (!TreeNode((void*)(uintptr_t)columns->ID, "Columns Id: 0x%08X, Count: %d, Flags: 0x%04X", columns->ID, columns->Count, columns->Flags)) |
| 17156 | return; |
| 17157 | BulletText("Width: %.1f (MinX: %.1f, MaxX: %.1f)", columns->OffMaxX - columns->OffMinX, columns->OffMinX, columns->OffMaxX); |
| 17158 | for (ImGuiOldColumnData& column : columns->Columns) |
| 17159 | BulletText("Column %02d: OffsetNorm %.3f (= %.1f px)", (int)columns->Columns.index_from_ptr(&column), column.OffsetNorm, GetColumnOffsetFromNorm(columns, column.OffsetNorm)); |
| 17160 | TreePop(); |
| 17161 | } |
| 17162 | |
| 17163 | // [DEBUG] Display contents of ImDrawList |
| 17164 | void ImGui::DebugNodeDrawList(ImGuiWindow* window, ImGuiViewportP* viewport, const ImDrawList* draw_list, const char* label) |
nothing calls this directly
no outgoing calls
no test coverage detected