[apps/sequence] Change name: addCells->setExtraCells

Change-Id: I1d19283fe2997668e78e91881f31f28efcbffe66
This commit is contained in:
Émilie Feral
2017-03-02 15:11:08 +01:00
committed by Romain Goyet
parent 695c8812bb
commit 78de0de16a
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ int SequenceToolbox::typeAtLocation(int i, int j) {
return MathToolbox::typeAtLocation(i,mathToolboxIndex(j));
}
void SequenceToolbox::addCells(const char * sequenceName, int recurrenceDepth) {
void SequenceToolbox::setExtraCells(const char * sequenceName, int recurrenceDepth) {
m_numberOfAddedCells = recurrenceDepth;
for (int j = 0; j < recurrenceDepth; j++) {
m_addedCellLayout[j] = new BaselineRelativeLayout(new StringLayout(sequenceName, 1, KDText::FontSize::Large), new StringLayout((char *)(j == 0? "n" : "n+1"), strlen((char *)(j == 0? "n" : "n+1")), KDText::FontSize::Small), BaselineRelativeLayout::Type::Subscript);