You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImGuiTableColumnFlags_PreferSortAscending = 1 << 13, // Make the initial sort direction Ascending when first sorting on this column (default).
1111
1112
ImGuiTableColumnFlags_PreferSortDescending = 1 << 14, // Make the initial sort direction Descending when first sorting on this column.
1112
-
ImGuiTableColumnFlags_IndentEnable = 1 << 15, // Use current Indent value when entering cell (default for 1st column).
1113
-
ImGuiTableColumnFlags_IndentDisable = 1 << 16, // Ignore current Indent value when entering cell (default for columns after the 1st one). Indentation changes _within_ the cell will still be honored.
1113
+
ImGuiTableColumnFlags_IndentEnable = 1 << 15, // Use current Indent value when entering cell (default for column 0).
1114
+
ImGuiTableColumnFlags_IndentDisable = 1 << 16, // Ignore current Indent value when entering cell (default for columns > 0). Indentation changes _within_ the cell will still be honored.
// We use the terminology "Visible" to refer to a columns that are not Hidden by user or settings. However it may still be out of view and clipped (and IsClipped would be set).
1901
+
// We use the terminology "Enabled" to refer to a column that is not Hidden by user/api.
1902
+
// We use the terminology "Clipped" to refer to a column that is out of sight because of scrolling/clipping.
1902
1903
// This is in contrast with some user-facing api such as IsItemVisible() / IsRectVisible() which use "Visible" to mean "not clipped".
1903
1904
structImGuiTableColumn
1904
1905
{
@@ -1932,7 +1933,7 @@ struct ImGuiTableColumn
1932
1933
bool IsEnabled; // Is the column not marked Hidden by the user? (even if off view, e.g. clipped by scrolling).
1933
1934
bool IsEnabledNextFrame;
1934
1935
bool IsClipped; // Is not actually in view (e.g. not overlapping the host window clipping rectangle).
1935
-
bool IsSkipItems; // Do we want item submissions to this column to be ignored early on.
1936
+
bool IsSkipItems; // Do we want item submissions to this column to be completely ignored (no layout will happen).
1936
1937
ImS8 NavLayerCurrent; // ImGuiNavLayer in 1 byte
1937
1938
ImS8 SortDirection; // ImGuiSortDirection_Ascending or ImGuiSortDirection_Descending
1938
1939
ImU8 AutoFitQueue; // Queue of 8 values for the next 8 frames to request auto-fit
@@ -1969,9 +1970,9 @@ struct ImGuiTable
1969
1970
ImSpan<ImGuiTableColumn> Columns; // Point within RawData[]
1970
1971
ImSpan<ImGuiTableColumnIdx> DisplayOrderToIndex; // Point within RawData[]. Store display order of columns (when not reordered, the values are 0...Count-1)
1971
1972
ImSpan<ImGuiTableCellData> RowCellData; // Point within RawData[]. Store cells background requests for current row.
1972
-
ImU64 EnabledMaskByIndex; // Column Index -> IsEnabled map (== not hidden by user/api) in a format adequate for iterating column without touching cold data
ImU64 EnabledUnclippedMaskByIndex;// Enabled and not Clipped, aka "actually visible" "not hidden by some scrolling"
1975
+
ImU64 EnabledMaskByIndex; // Column Index -> IsEnabled map (== not hidden by user/api) in a format adequate for iterating column without touching cold data
1975
1976
ImGuiTableFlags SettingsLoadedFlags; // Which data were loaded from the .ini file (e.g. when order is not altered we won't save order)
0 commit comments