mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 23:30:37 +01:00
[apps/sequence] Change name: addCells->setExtraCells
Change-Id: I1d19283fe2997668e78e91881f31f28efcbffe66
This commit is contained in:
committed by
Romain Goyet
parent
695c8812bb
commit
78de0de16a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user