mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-19 22:25:36 +00:00
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.
This commit is contained in:
@@ -115,7 +115,7 @@ TableCellPaintingDelegate* AbstractTableView::column_painting_delegate(int colum
|
||||
return const_cast<TableCellPaintingDelegate*>(m_column_painting_delegate.get(column).value_or(nullptr));
|
||||
}
|
||||
|
||||
void AbstractTableView::set_cell_painting_delegate(int column, OwnPtr<TableCellPaintingDelegate> delegate)
|
||||
void AbstractTableView::set_column_painting_delegate(int column, OwnPtr<TableCellPaintingDelegate> delegate)
|
||||
{
|
||||
if (!delegate)
|
||||
m_column_painting_delegate.remove(column);
|
||||
|
||||
Reference in New Issue
Block a user