1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

Spreadsheet: Add CellChange constructor for changes in type metadata

Allows the creation of CellChanges where the change is in the type
metadata instead of in data.
This commit is contained in:
huttongrabiel 2023-04-02 16:26:54 -07:00 committed by Sam Atkins
parent cd33f271b1
commit 40725c7c8c
4 changed files with 18 additions and 0 deletions

View file

@ -74,6 +74,7 @@ struct Cell : public Weakable<Cell> {
void set_type(StringView name);
void set_type(CellType const*);
void set_type_metadata(CellTypeMetadata const&);
void set_type_metadata(CellTypeMetadata&&);
Position const& position() const { return m_position; }