|
|
|
@ -2505,9 +2505,16 @@ void ImGui::DebugNodeTable(ImGuiTable* table)
|
|
|
|
|
(column->Flags & ImGuiTableColumnFlags_WidthAlwaysAutoResize) ? "WidthAlwaysAutoResize " : "",
|
|
|
|
|
(column->Flags & ImGuiTableColumnFlags_NoResize) ? "NoResize " : "");
|
|
|
|
|
}
|
|
|
|
|
ImGuiTableSettings* settings = TableFindSettings(table);
|
|
|
|
|
if (settings && TreeNode("Settings"))
|
|
|
|
|
{
|
|
|
|
|
if (ImGuiTableSettings* settings = TableFindSettings(table))
|
|
|
|
|
DebugNodeTableSettings(settings);
|
|
|
|
|
TreePop();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ImGui::DebugNodeTableSettings(ImGuiTableSettings* settings)
|
|
|
|
|
{
|
|
|
|
|
if (!TreeNode((void*)(intptr_t)settings->ID, "Settings 0x%08X (%d columns)", settings->ID, settings->ColumnsCount))
|
|
|
|
|
return;
|
|
|
|
|
BulletText("SaveFlags: 0x%08X", settings->SaveFlags);
|
|
|
|
|
BulletText("ColumnsCount: %d (max %d)", settings->ColumnsCount, settings->ColumnsCountMax);
|
|
|
|
|
for (int n = 0; n < settings->ColumnsCount; n++)
|
|
|
|
@ -2520,10 +2527,8 @@ void ImGui::DebugNodeTable(ImGuiTable* table)
|
|
|
|
|
column_settings->Visible, column_settings->UserID, column_settings->WidthOrWeight);
|
|
|
|
|
}
|
|
|
|
|
TreePop();
|
|
|
|
|
}
|
|
|
|
|
TreePop();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif // #ifndef IMGUI_DISABLE_METRICS_WINDOW
|
|
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|