[DEBUG] Display contents of Columns
| 17242 | |
| 17243 | // [DEBUG] Display contents of Columns |
| 17244 | void ImGui::DebugNodeColumns(ImGuiOldColumns* columns) |
| 17245 | { |
| 17246 | if (!TreeNode((void*)(uintptr_t)columns->ID, "Columns Id: 0x%08X, Count: %d, Flags: 0x%04X", columns->ID, columns->Count, columns->Flags)) |
| 17247 | return; |
| 17248 | BulletText("Width: %.1f (MinX: %.1f, MaxX: %.1f)", columns->OffMaxX - columns->OffMinX, columns->OffMinX, columns->OffMaxX); |
| 17249 | for (ImGuiOldColumnData& column : columns->Columns) |
| 17250 | BulletText("Column %02d: OffsetNorm %.3f (= %.1f px)", (int)columns->Columns.index_from_ptr(&column), column.OffsetNorm, GetColumnOffsetFromNorm(columns, column.OffsetNorm)); |
| 17251 | TreePop(); |
| 17252 | } |
| 17253 | |
| 17254 | // [DEBUG] Display contents of ImDrawList |
| 17255 | 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