diff options
Started work on making edit work with cells, referenced by formulas
1 files changed, 5 insertions, 1 deletions
| -rw-r--r-- | src/Models/CellFormula.h | 6 |
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h index 2aaba0f..3387c4a 100644 --- a/src/Models/CellFormula.h +++ b/src/Models/CellFormula.h @@ -7,10 +7,14 @@ #include "../Generic/Pair/Pair.hpp" class CellFormula : public Cell { + struct CellLoc { + int firstInd; + int secondInd; + }; const List<List<Cell*>>* tableCells; List<CellDouble> localCells; - List<Pair<Cell*, char>> formula; + List<Pair<CellLoc, char>> formula; String rawFormula; double calculate(unsigned index = 0); |
