diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-26 00:15:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-26 00:51:35 +0200 |
commit | cfc30b11ba2910e70d4dc42cd6682854231a8a3b (patch) | |
tree | 4392ef68bb431ba9e477d0e583c342731445d09c /Applications/Spreadsheet | |
parent | 44e371635ea614e48c57e1e1f8215ca4b6228ce3 (diff) | |
download | serenity-cfc30b11ba2910e70d4dc42cd6682854231a8a3b.zip |
LibGUI: Rename table view's "cell painting delegate" to "column *"
What you install with this API is a delegate that manages painting of
all the items in a specific column, so let's make the API reflect that.
Diffstat (limited to 'Applications/Spreadsheet')
-rw-r--r-- | Applications/Spreadsheet/SpreadsheetView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Spreadsheet/SpreadsheetView.cpp b/Applications/Spreadsheet/SpreadsheetView.cpp index b82eb1a38f..bb400567ca 100644 --- a/Applications/Spreadsheet/SpreadsheetView.cpp +++ b/Applications/Spreadsheet/SpreadsheetView.cpp @@ -62,7 +62,7 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet) // FIXME: This is dumb. for (size_t i = 0; i < m_sheet->column_count(); ++i) { - m_table_view->set_cell_painting_delegate(i + 1, make<TableCellPainter>(*m_table_view)); + m_table_view->set_column_painting_delegate(i + 1, make<TableCellPainter>(*m_table_view)); m_table_view->set_column_width(i + 1, 50); m_table_view->set_column_header_alignment(i + 1, Gfx::TextAlignment::Center); } |