Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_spreadsheet/spreadsheet_layout.hh
| Show All 26 Lines | |||||
| struct ColumnLayout { | struct ColumnLayout { | ||||
| const ColumnValues *values; | const ColumnValues *values; | ||||
| int width; | int width; | ||||
| }; | }; | ||||
| /* Layout information for the entire spreadsheet. */ | /* Layout information for the entire spreadsheet. */ | ||||
| struct SpreadsheetLayout { | struct SpreadsheetLayout { | ||||
| Vector<ColumnLayout> columns; | Vector<ColumnLayout> columns; | ||||
| Span<int64_t> row_indices; | IndexMask row_indices; | ||||
| int index_column_width = 100; | int index_column_width = 100; | ||||
| }; | }; | ||||
| std::unique_ptr<SpreadsheetDrawer> spreadsheet_drawer_from_layout( | std::unique_ptr<SpreadsheetDrawer> spreadsheet_drawer_from_layout( | ||||
| const SpreadsheetLayout &spreadsheet_layout); | const SpreadsheetLayout &spreadsheet_layout); | ||||
| } // namespace blender::ed::spreadsheet | } // namespace blender::ed::spreadsheet | ||||