Skip to content

Commit bf197c7

Browse files
committed
Tables: storing WorkMaxX, made offset_x == MinX to be clearer, clip rect merge uses ClipRect.max.x directly, removed unused ShrinkWidth code, metrics.
1 parent 5465d30 commit bf197c7

File tree

4 files changed

+42
-76
lines changed

4 files changed

+42
-76
lines changed

imgui.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10591,6 +10591,7 @@ void ImGui::ShowMetricsWindow(bool* p_open)
1059110591
if (IsItemHovered())
1059210592
GetForegroundDrawList()->AddRect(table->OuterRect.Min - ImVec2(1, 1), table->OuterRect.Max + ImVec2(1, 1), IM_COL32(255, 255, 0, 255), 0.0f, ~0, 2.0f);
1059310593
Indent();
10594+
char buf[128];
1059410595
for (int rect_n = 0; rect_n < TRT_Count; rect_n++)
1059510596
{
1059610597
if (rect_n >= TRT_ColumnsRect)
@@ -10600,15 +10601,17 @@ void ImGui::ShowMetricsWindow(bool* p_open)
1060010601
for (int column_n = 0; column_n < table->ColumnsCount; column_n++)
1060110602
{
1060210603
ImRect r = Funcs::GetTableRect(table, rect_n, column_n);
10603-
Text("(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) Col %d %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), column_n, trt_rects_names[rect_n]);
10604+
ImFormatString(buf, IM_ARRAYSIZE(buf), "(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) Col %d %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), column_n, trt_rects_names[rect_n]);
10605+
Selectable(buf);
1060410606
if (IsItemHovered())
1060510607
GetForegroundDrawList()->AddRect(r.Min - ImVec2(1, 1), r.Max + ImVec2(1, 1), IM_COL32(255, 255, 0, 255), 0.0f, ~0, 2.0f);
1060610608
}
1060710609
}
1060810610
else
1060910611
{
1061010612
ImRect r = Funcs::GetTableRect(table, rect_n, -1);
10611-
Text("(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), trt_rects_names[rect_n]);
10613+
ImFormatString(buf, IM_ARRAYSIZE(buf), "(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), trt_rects_names[rect_n]);
10614+
Selectable(buf);
1061210615
if (IsItemHovered())
1061310616
GetForegroundDrawList()->AddRect(r.Min - ImVec2(1, 1), r.Max + ImVec2(1, 1), IM_COL32(255, 255, 0, 255), 0.0f, ~0, 2.0f);
1061410617
}

imgui_demo.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3966,6 +3966,11 @@ static void ShowDemoWindowTables()
39663966
PushStyleCompact();
39673967
ImGui::SetNextItemWidth(TEXT_BASE_WIDTH * 22);
39683968
ImGui::Combo("Contents", &contents_type, "Short Text\0Long Text\0Button\0Fill Button\0InputText\0");
3969+
if (contents_type == CT_FillButton)
3970+
{
3971+
ImGui::SameLine();
3972+
HelpMarker("Be mindful that using right-alignment (e.g. size.x = -FLT_MIN) creates a feedback loop where contents width can feed into auto-column width can feed into contents width.");
3973+
}
39693974
ImGui::SetNextItemWidth(TEXT_BASE_WIDTH * 22);
39703975
ImGui::DragInt("Columns", &column_count, 0.1f, 1, 64, "%d", ImGuiSliderFlags_AlwaysClamp);
39713976
ImGui::CheckboxFlags("ImGuiTableFlags_BordersInnerH", &flags, ImGuiTableFlags_BordersInnerH);
@@ -4516,7 +4521,7 @@ static void ShowDemoWindowTables()
45164521
ImGui::TreePop();
45174522
}
45184523

4519-
if (ImGui::TreeNodeEx("Sizing:", ImGuiTreeNodeFlags_DefaultOpen))
4524+
if (ImGui::TreeNodeEx("Padding:", ImGuiTreeNodeFlags_DefaultOpen))
45204525
{
45214526
ImGui::CheckboxFlags("ImGuiTableFlags_PadOuterX", &flags, ImGuiTableFlags_PadOuterX);
45224527
ImGui::CheckboxFlags("ImGuiTableFlags_NoPadOuterX", &flags, ImGuiTableFlags_NoPadOuterX);

imgui_internal.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@ struct ImGuiTabBar
18921892
#define IMGUI_TABLE_MAX_COLUMNS 64 // sizeof(ImU64) * 8. This is solely because we frequently encode columns set in a ImU64.
18931893
#define IMGUI_TABLE_MAX_DRAW_CHANNELS (1 + 2 + 64 * 2) // See TableUpdateDrawChannels()
18941894

1895-
// [Internal] sizeof() ~ 96
1895+
// [Internal] sizeof() ~ 100
18961896
// We use the terminology "Visible" to refer to a column that is not Hidden by user or settings. However it may still be out of view and clipped (see IsClipped).
18971897
struct ImGuiTableColumn
18981898
{
@@ -1908,6 +1908,7 @@ struct ImGuiTableColumn
19081908
float WidthRequest; // Master width absolute value when !(Flags & _WidthStretch). When Stretch this is derived every frame from StretchWeight in TableUpdateLayout()
19091909
float WidthGiven; // Final/actual width visible == (MaxX - MinX), locked in TableUpdateLayout(). May be > WidthRequest to honor minimum width, may be < WidthRequest to honor shrinking columns down in tight space.
19101910
float WorkMinX; // Start position for the frame, currently ~(MinX + CellPaddingX)
1911+
float WorkMaxX;
19111912
float ContentMaxXFrozen; // Contents maximum position for frozen rows (apart from headers), from which we can infer content width.
19121913
float ContentMaxXUnfrozen;
19131914
float ContentMaxXHeadersUsed; // Contents maximum position for headers rows (regardless of freezing). TableHeader() automatically softclip itself + report ideal desired size, to avoid creating extraneous draw calls

imgui_tables.cpp

Lines changed: 29 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ void ImGui::TableUpdateLayout(ImGuiTable* table)
610610
// (can't make auto padding larger than what WorkRect knows about so right-alignment matches)
611611
const ImRect work_rect = table->WorkRect;
612612
const float min_column_width = TableGetMinColumnWidth();
613-
const float min_column_width_padded = min_column_width + table->CellPaddingX * 2.0f;
613+
const float min_column_distance = min_column_width + table->CellPaddingX * 2.0f;
614614

615615
int count_fixed = 0;
616616
float sum_weights_stretched = 0.0f; // Sum of all weights for weighted columns.
@@ -641,7 +641,7 @@ void ImGui::TableUpdateLayout(ImGuiTable* table)
641641
float width_auto = content_width_body;
642642
if (!(table->Flags & ImGuiTableFlags_NoHeadersWidth) && !(column->Flags & ImGuiTableColumnFlags_NoHeaderWidth))
643643
width_auto = ImMax(width_auto, content_width_headers);
644-
width_auto = ImMax(width_auto, min_column_width); // Without padding
644+
width_auto = ImMax(width_auto, min_column_width);
645645

646646
// Non-resizable columns also submit their requested width
647647
if ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && column->InitStretchWeightOrWidth > 0.0f)
@@ -731,31 +731,6 @@ void ImGui::TableUpdateLayout(ImGuiTable* table)
731731
table->ColumnsAutoFitWidth += column->WidthAuto + table->CellPaddingX * 2.0f;
732732
}
733733

734-
#if 0
735-
const float width_excess = table->ColumnsTotalWidth - work_rect.GetWidth();
736-
if ((table->Flags & ImGuiTableFlags_SizingPolicyStretchX) && width_excess > 0.0f)
737-
{
738-
// Shrink widths when the total does not fit
739-
// FIXME-TABLE: This is working but confuses/conflicts with manual resizing.
740-
// FIXME-TABLE: Policy to shrink down below below ideal/requested width if there's no room?
741-
g.ShrinkWidthBuffer.resize(table->ColumnsVisibleCount);
742-
for (int order_n = 0, visible_n = 0; order_n < table->ColumnsCount; order_n++)
743-
{
744-
if (!(table->VisibleMaskByDisplayOrder & ((ImU64)1 << order_n)))
745-
continue;
746-
const int column_n = table->DisplayOrder[order_n];
747-
g.ShrinkWidthBuffer[visible_n].Index = column_n;
748-
g.ShrinkWidthBuffer[visible_n].Width = table->Columns[column_n].WidthGiven;
749-
visible_n++;
750-
}
751-
ShrinkWidths(g.ShrinkWidthBuffer.Data, g.ShrinkWidthBuffer.Size, width_excess);
752-
for (int n = 0; n < g.ShrinkWidthBuffer.Size; n++)
753-
table->Columns[g.ShrinkWidthBuffer.Data[n].Index].WidthGiven = ImMax(g.ShrinkWidthBuffer.Data[n].Width, min_column_size);
754-
// FIXME: Need to alter table->ColumnsTotalWidth
755-
}
756-
else
757-
#endif
758-
759734
// Redistribute remainder width due to rounding (remainder width is < 1.0f * number of Stretch column).
760735
// Using right-to-left distribution (more likely to match resizing cursor), could be adjusted depending
761736
// on where the mouse cursor is and/or relative weights.
@@ -780,6 +755,7 @@ void ImGui::TableUpdateLayout(ImGuiTable* table)
780755
int visible_n = 0;
781756
float offset_x = (table->FreezeColumnsCount > 0) ? table->OuterRect.Min.x : work_rect.Min.x;
782757
offset_x += table->OuterPaddingX;
758+
offset_x -= table->CellSpacingX1;
783759
ImRect host_clip_rect = table->InnerClipRect;
784760
for (int order_n = 0; order_n < table->ColumnsCount; order_n++)
785761
{
@@ -795,11 +771,9 @@ void ImGui::TableUpdateLayout(ImGuiTable* table)
795771
{
796772
// Hidden column: clear a few fields and we are done with it for the remainder of the function.
797773
// We set a zero-width clip rect but set Min.y/Max.y properly to not interfere with the clipper.
798-
column->MinX = column->MaxX = column->WorkMinX = offset_x;
774+
column->MinX = column->MaxX = column->WorkMinX = column->ClipRect.Min.x = column->ClipRect.Max.x = offset_x;
799775
column->WidthGiven = 0.0f;
800-
column->ClipRect.Min.x = offset_x;
801776
column->ClipRect.Min.y = work_rect.Min.y;
802-
column->ClipRect.Max.x = offset_x;
803777
column->ClipRect.Max.y = FLT_MAX;
804778
column->ClipRect.ClipWithFull(host_clip_rect);
805779
column->IsClipped = column->IsSkipItems = true;
@@ -811,23 +785,23 @@ void ImGui::TableUpdateLayout(ImGuiTable* table)
811785
{
812786
// Frozen columns can't reach beyond visible width else scrolling will naturally break.
813787
if (order_n < table->FreezeColumnsRequest)
814-
max_x = table->InnerClipRect.Max.x - (table->FreezeColumnsRequest - order_n) * min_column_width_padded - table->OuterPaddingX;
788+
max_x = table->InnerClipRect.Max.x - (table->FreezeColumnsRequest - order_n) * min_column_distance - table->OuterPaddingX;
815789
}
816790
else if ((table->Flags & ImGuiTableFlags_NoKeepColumnsVisible) == 0)
817791
{
818792
// If horizontal scrolling if disabled, we apply a final lossless shrinking of columns in order to make
819793
// sure they are all visible. Because of this we also know that all of the columns will always fit in
820794
// table->WorkRect and therefore in table->InnerRect (because ScrollX is off)
821-
max_x = table->WorkRect.Max.x - (table->ColumnsVisibleCount - (column->IndexWithinVisibleSet + 1)) * min_column_width_padded - table->OuterPaddingX;
795+
max_x = table->WorkRect.Max.x - (table->ColumnsVisibleCount - (column->IndexWithinVisibleSet + 1)) * min_column_distance - table->OuterPaddingX;
822796
}
823-
if (offset_x + column->WidthGiven + table->CellPaddingX * 2.0f > max_x)
824-
column->WidthGiven = ImMax(max_x - offset_x - table->CellPaddingX * 2.0f, min_column_width);
825-
826-
// Min, Max + starting positions
827-
column->MinX = offset_x - table->CellSpacingX1;
828-
column->MaxX = offset_x + column->WidthGiven + table->CellSpacingX2 + table->CellPaddingX * 2.0f;
829-
column->WorkMinX = offset_x + table->CellPaddingX;
830-
797+
if (offset_x + column->WidthGiven + table->CellPaddingX * 2.0f + table->CellSpacingX1 > max_x)
798+
column->WidthGiven = ImMax(max_x - offset_x - table->CellPaddingX * 2.0f - table->CellSpacingX1, min_column_width);
799+
800+
// Lock all our positions
801+
column->MinX = offset_x;
802+
column->MaxX = offset_x + column->WidthGiven + table->CellSpacingX1 + table->CellSpacingX2 + table->CellPaddingX * 2.0f;
803+
column->WorkMinX = column->MinX + table->CellPaddingX + table->CellSpacingX1;
804+
column->WorkMaxX = column->MaxX - table->CellPaddingX - table->CellSpacingX2; // Expected max
831805
column->ClipRect.Min.x = column->MinX;
832806
column->ClipRect.Min.y = work_rect.Min.y;
833807
column->ClipRect.Max.x = column->MaxX;
@@ -844,24 +818,6 @@ void ImGui::TableUpdateLayout(ImGuiTable* table)
844818
if (is_hovering_table && g.IO.MousePos.x >= column->ClipRect.Min.x && g.IO.MousePos.x < column->ClipRect.Max.x)
845819
table->HoveredColumnBody = (ImS8)column_n;
846820

847-
// [DEBUG] Display overlay
848-
#if 0
849-
if (g.IO.KeyShift)
850-
{
851-
// Note that ClipRect should always cover MinX..MaxX (in order to guarantee that draw calls can be merged into parent)
852-
float y1 = table->WorkRect.Min.y;
853-
float y2 = table->WorkRect.Min.y + table->LastOuterHeight;
854-
//GetForegroundDrawList()->AddLine(ImVec2(column->MinX, y1 - 5.0f), ImVec2(column->MinX, y2 + 5.0f), IM_COL32(0, 255, 50, 255));
855-
//GetForegroundDrawList()->AddLine(ImVec2(column->MaxX, y1 - 5.0f), ImVec2(column->MaxX, y2 + 5.0f), IM_COL32(0, 255, 50, 255));
856-
//GetForegroundDrawList()->AddRect(ImVec2(column->ClipRect.Min.x, y1), ImVec2(column->ClipRect.Max.x, y2), IM_COL32(255, 0, 0, 255), 0.0f, 0, 1.0f);
857-
//GetForegroundDrawList()->AddRect(ImVec2(column->MinX + table->CellPaddingX, y1), ImVec2(column->MaxX - table->CellPaddingX, y2), IM_COL32(255, 255, 0, 255));
858-
char buf[128];
859-
ImFormatString(buf, IM_ARRAYSIZE(buf), "(cont_w)\n%.2f\n(max-min)\n%.2f", column->MaxX - table->CellPaddingX - column->StartX, column->MaxX - column->MinX);
860-
GetForegroundDrawList()->AddRectFilled(ImVec2(column->MinX, y1), ImVec2(column->MaxX, y2), IM_COL32(0, 0, 0, 200));
861-
GetForegroundDrawList()->AddText(ImVec2(column->StartX, y1), IM_COL32(255, 255, 255, 255), buf);
862-
}
863-
#endif
864-
865821
// Alignment
866822
// FIXME-TABLE: This align based on the whole column width, not per-cell, and therefore isn't useful in
867823
// many cases (to be able to honor this we might be able to store a log of cells width, per row, for
@@ -1078,12 +1034,12 @@ void ImGui::EndTable()
10781034
else if (table->LastResizedColumn != -1 && table->ResizedColumn == -1 && inner_window->ScrollbarX && table->InstanceInteracted == table->InstanceCurrent)
10791035
{
10801036
// When releasing a column being resized, scroll to keep the resulting column in sight
1081-
const float min_column_width_padded = TableGetMinColumnWidth() + table->CellPaddingX * 2.0f;
1037+
const float neighbor_width_to_keep_visible = TableGetMinColumnWidth() + table->CellPaddingX * 2.0f;
10821038
ImGuiTableColumn* column = &table->Columns[table->LastResizedColumn];
10831039
if (column->MaxX < table->InnerClipRect.Min.x)
1084-
SetScrollFromPosX(inner_window, column->MaxX - inner_window->Pos.x - min_column_width_padded, 1.0f);
1040+
SetScrollFromPosX(inner_window, column->MaxX - inner_window->Pos.x - neighbor_width_to_keep_visible, 1.0f);
10851041
else if (column->MaxX > table->InnerClipRect.Max.x)
1086-
SetScrollFromPosX(inner_window, column->MaxX - inner_window->Pos.x + min_column_width_padded, 1.0f);
1042+
SetScrollFromPosX(inner_window, column->MaxX - inner_window->Pos.x + neighbor_width_to_keep_visible, 1.0f);
10871043
}
10881044

10891045
// Apply resizing/dragging at the end of the frame
@@ -1469,8 +1425,7 @@ void ImGui::TableReorderDrawChannelsForMerge(ImGuiTable* table)
14691425
content_max_x = ImMax(column->ContentMaxXFrozen, column->ContentMaxXHeadersUsed); // Row freeze: use width before freeze
14701426
else
14711427
content_max_x = column->ContentMaxXUnfrozen; // Row freeze: use width after freeze
1472-
float content_width = content_max_x - column->WorkMinX;
1473-
if (content_width > column->WidthGiven + table->CellPaddingX * 1.0f)
1428+
if (content_max_x > column->ClipRect.Max.x)
14741429
continue;
14751430
}
14761431

@@ -1805,10 +1760,11 @@ void ImGui::TableEndRow(ImGuiTable* table)
18051760
ImGuiTableCellData* cell_data_end = &table->RowCellData[table->RowCellDataCurrent];
18061761
for (ImGuiTableCellData* cell_data = &table->RowCellData[0]; cell_data <= cell_data_end; cell_data++)
18071762
{
1763+
const ImGuiTableColumn* column = &table->Columns[cell_data->Column];
18081764
ImRect cell_bg_rect = TableGetCellBgRect(table, cell_data->Column);
18091765
cell_bg_rect.ClipWith(table->BgClipRect);
1810-
cell_bg_rect.Min.x = ImMax(cell_bg_rect.Min.x, table->Columns[cell_data->Column].ClipRect.Min.x);
1811-
cell_bg_rect.Max.x = ImMin(cell_bg_rect.Max.x, table->Columns[cell_data->Column].ClipRect.Max.x);
1766+
cell_bg_rect.Min.x = ImMax(cell_bg_rect.Min.x, column->ClipRect.Min.x); // So that first column after frozen one gets clipped
1767+
cell_bg_rect.Max.x = ImMin(cell_bg_rect.Max.x, column->ClipRect.Max.x);
18121768
window->DrawList->AddRectFilled(cell_bg_rect.Min, cell_bg_rect.Max, cell_data->BgColor);
18131769
}
18141770
}
@@ -1887,7 +1843,7 @@ void ImGui::TableBeginCell(ImGuiTable* table, int column_n)
18871843

18881844
window->WorkRect.Min.y = window->DC.CursorPos.y;
18891845
window->WorkRect.Min.x = column->WorkMinX;
1890-
window->WorkRect.Max.x = column->MaxX - table->CellPaddingX - table->CellSpacingX2;
1846+
window->WorkRect.Max.x = column->WorkMaxX;
18911847

18921848
// To allow ImGuiListClipper to function we propagate our row height
18931849
if (!column->IsVisible)
@@ -2962,26 +2918,27 @@ void ImGui::DebugNodeTable(ImGuiTable* table)
29622918
if (!open)
29632919
return;
29642920
BulletText("OuterRect: Pos: (%.1f,%.1f) Size: (%.1f,%.1f)", table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.GetWidth(), table->OuterRect.GetHeight());
2965-
BulletText("InnerWidth: %.1f%s", table->InnerWidth, table->InnerWidth == 0.0f ? " (auto)" : "");
2966-
BulletText("ColumnsWidth: %.1f, AutoFitWidth: %.1f", table->ColumnsTotalWidth, table->ColumnsAutoFitWidth);
2921+
BulletText("ColumnsWidth: %.1f, AutoFitWidth: %.1f, InnerWidth: %.1f%s", table->ColumnsTotalWidth, table->ColumnsAutoFitWidth, table->InnerWidth, table->InnerWidth == 0.0f ? " (auto)" : "");
29672922
BulletText("CellPaddingX: %.1f, CellSpacingX: %.1f/%.1f, OuterPaddingX: %.1f", table->CellPaddingX, table->CellSpacingX1, table->CellSpacingX2, table->OuterPaddingX);
29682923
BulletText("HoveredColumnBody: %d, HoveredColumnBorder: %d", table->HoveredColumnBody, table->HoveredColumnBorder);
29692924
BulletText("ResizedColumn: %d, ReorderColumn: %d, HeldHeaderColumn: %d", table->ResizedColumn, table->ReorderColumn, table->HeldHeaderColumn);
2970-
BulletText("BgDrawChannels: %d/%d", 0, table->BgDrawChannelUnfrozen);
2925+
//BulletText("BgDrawChannels: %d/%d", 0, table->BgDrawChannelUnfrozen);
29712926
for (int n = 0; n < table->ColumnsCount; n++)
29722927
{
29732928
ImGuiTableColumn* column = &table->Columns[n];
29742929
const char* name = TableGetColumnName(table, n);
29752930
ImFormatString(buf, IM_ARRAYSIZE(buf),
2976-
"Column %d order %d name '%s': +%.1f to +%.1f\n"
2931+
"Column %d order %d name '%s': offset %+.2f to %+.2f\n"
29772932
"Visible: %d, Clipped: %d, DrawChannels: %d,%d\n"
2978-
"WidthGiven: %.2f, Request/Auto: %.2f/%.2f, StretchWeight: %.3f\n"
2979-
"ContentWidth: %.2f,%.2f, HeadersUsed/Ideal %.2f/%.2f\n"
2933+
"WidthGiven: %.1f, Request/Auto: %.1f/%.1f, StretchWeight: %.3f\n"
2934+
"MinX: %.1f, MaxX: %.1f (%+.1f), ClipRect: %.1f to %.1f (+%.1f)\n"
2935+
"ContentWidth: %.1f,%.1f, HeadersUsed/Ideal %.1f/%.1f\n"
29802936
"SortOrder: %d, SortDir: %s\n"
29812937
"UserID: 0x%08X, Flags: 0x%04X: %s%s%s%s..",
29822938
n, column->DisplayOrder, name, column->MinX - table->WorkRect.Min.x, column->MaxX - table->WorkRect.Min.x,
29832939
column->IsVisible, column->IsClipped, column->DrawChannelFrozen, column->DrawChannelUnfrozen,
29842940
column->WidthGiven, column->WidthRequest, column->WidthAuto, column->StretchWeight,
2941+
column->MinX, column->MaxX, column->MaxX - column->MinX, column->ClipRect.Min.x, column->ClipRect.Max.x, column->ClipRect.Max.x - column->ClipRect.Min.x,
29852942
column->ContentMaxXFrozen - column->WorkMinX, column->ContentMaxXUnfrozen - column->WorkMinX, column->ContentMaxXHeadersUsed - column->WorkMinX, column->ContentMaxXHeadersIdeal - column->WorkMinX,
29862943
column->SortOrder, (column->SortDirection == ImGuiSortDirection_Ascending) ? "Ascending" : (column->SortDirection == ImGuiSortDirection_Descending) ? "Descending" : "None",
29872944
column->UserID, column->Flags,

0 commit comments

Comments
 (0)