mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[apps/sequence] Change method name
This commit is contained in:
@@ -91,7 +91,7 @@ Toolbox * ListController::toolboxForSender(Responder * sender) {
|
||||
if (sequenceDefinition == 0) {
|
||||
recurrenceDepth = sequence->numberOfElements()-1;
|
||||
}
|
||||
m_sequenceToolbox.setExtraCells(sequence->name(), recurrenceDepth);
|
||||
m_sequenceToolbox.buildExtraCellsLayouts(sequence->name(), recurrenceDepth);
|
||||
// Set sender
|
||||
m_sequenceToolbox.setSender(sender);
|
||||
return &m_sequenceToolbox;
|
||||
|
||||
@@ -68,7 +68,7 @@ int SequenceToolbox::typeAtLocation(int i, int j) {
|
||||
return MathToolbox::typeAtLocation(i,mathToolboxIndex(j));
|
||||
}
|
||||
|
||||
void SequenceToolbox::setExtraCells(const char * sequenceName, int recurrenceDepth) {
|
||||
void SequenceToolbox::buildExtraCellsLayouts(const char * sequenceName, int recurrenceDepth) {
|
||||
for (int i = 0; i < k_maxNumberOfDisplayedRows; i++) {
|
||||
if (m_addedCellLayout[i]) {
|
||||
delete m_addedCellLayout[i];
|
||||
|
||||
@@ -18,7 +18,7 @@ public:
|
||||
HighlightCell * reusableCell(int index, int type) override;
|
||||
void willDisplayCellForIndex(HighlightCell * cell, int index) override;
|
||||
int typeAtLocation(int i, int j) override;
|
||||
void setExtraCells(const char * sequenceName, int recurrenceDepth);
|
||||
void buildExtraCellsLayouts(const char * sequenceName, int recurrenceDepth);
|
||||
private:
|
||||
bool selectAddedCell(int selectedRow);
|
||||
int mathToolboxIndex(int index);
|
||||
|
||||
Reference in New Issue
Block a user