1 #ifndef SEQUENCE_LIST_CONTROLLER_H 2 #define SEQUENCE_LIST_CONTROLLER_H 5 #include "../sequence_title_cell.h" 6 #include "../sequence_store.h" 7 #include "../../shared/function_expression_cell.h" 9 #include "../../shared/new_function_cell.h" 10 #include "../../shared/list_controller.h" 11 #include "../../shared/text_field_delegate.h" 20 const char *
title()
override;
30 int maxNumberOfRows()
override;
33 void willDisplayTitleCellAtIndex(
HighlightCell * cell,
int j)
override;
34 void willDisplayExpressionCellAtIndex(
HighlightCell * cell,
int j)
override;
35 int functionIndexForRow(
int j)
override;
36 const char * textForRow(
int j)
override;
37 int sequenceDefinitionForRow(
int j);
38 void addEmptyFunction()
override;
42 View * loadView()
override;
43 void unloadView(
View *
view)
override;
45 constexpr
static int k_maxNumberOfRows = 3*MaxNumberOfSequences;
Responder * parentResponder() const
int numberOfRows() override
void willDisplayCellAtLocation(HighlightCell *cell, int i, int j) override
void selectPreviousNewSequenceCell()
virtual KDCoordinate rowHeight(int j) override
const char * title() override
ListController(Responder *parentResponder, SequenceStore *sequenceStore, ButtonRowController *header, ButtonRowController *footer)
Toolbox * toolboxForTextInput(TextInput *textInput) override