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
ImSpan<ImGuiTableColumn> Columns; // Point within RawData[]
1965
1965
ImSpan<ImS8> DisplayOrderToIndex; // Point within RawData[]. Store display order of columns (when not reordered, the values are 0...Count-1)
1966
1966
ImSpan<ImGuiTableCellData> RowCellData; // Point within RawData[]. Store cells background requests for current row.
1967
-
ImU64 VisibleMaskByIndex; // Column Index -> IsVisible map (== not hidden by user/api) in a format adequate for iterating column without touching cold data
ImU64 VisibleUnclippedMaskByIndex;//Visible and not Clipped, aka "actually visible" "not hidden by some scrolling"
1967
+
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"
1970
1970
ImGuiTableFlags SettingsLoadedFlags; // Which data were loaded from the .ini file (e.g. when order is not altered we won't save order)
1971
1971
int SettingsOffset; // Offset in g.SettingsTables
1972
1972
int LastFrameActive;
@@ -2021,8 +2021,8 @@ struct ImGuiTable
2021
2021
ImVector<ImGuiTableSortSpecsColumn> SortSpecsData; // FIXME-OPT: Fixed-size array / small-vector pattern, optimize for single sort spec
2022
2022
ImGuiTableSortSpecs SortSpecs; // Public facing sorts specs, this is what we return in TableGetSortSpecs()
2023
2023
ImS8 SortSpecsCount;
2024
-
ImS8 ColumnsVisibleCount; // Number of non-hidden columns (<= ColumnsCount)
2025
-
ImS8 ColumnsVisibleFixedCount; // Number of non-hidden columns (<= ColumnsCount)
2024
+
ImS8 ColumnsEnabledCount; // Number of enabled columns (<= ColumnsCount)
2025
+
ImS8 ColumnsEnabledFixedCount; // Number of enabled columns (<= ColumnsCount)
2026
2026
ImS8 DeclColumnsCount; // Count calls to TableSetupColumn()
2027
2027
ImS8 HoveredColumnBody; // Index of column whose visible region is being hovered. Important: == ColumnsCount when hovering empty region after the right-most column!
2028
2028
ImS8 HoveredColumnBorder; // Index of column whose right-border is being hovered (for resizing).
@@ -2032,7 +2032,7 @@ struct ImGuiTable
2032
2032
ImS8 HeldHeaderColumn; // Index of column header being held.
2033
2033
ImS8 ReorderColumn; // Index of column being reordered. (not cleared)
2034
2034
ImS8 ReorderColumnDir; // -1 or +1
2035
-
ImS8 RightMostVisibleColumn; // Index of right-most non-hidden column.
2035
+
ImS8 RightMostEnabledColumn; // Index of right-most non-hidden column.
2036
2036
ImS8 LeftMostStretchedColumnDisplayOrder; // Display order of left-most stretched column.
2037
2037
ImS8 ContextPopupColumn; // Column right-clicked on, of -1 if opening context menu from a neutral/empty spot
IMGUI_API boolTableGetColumnIsEnabled(int column_n = -1); // Return false when column is disabled (hidden) by user (e.g. via context menu, or _DefaultHide flag)
0 commit comments