Numworks Epsilon  1.4.1
Graphing Calculator Operating System
sequence_toolbox.h
Go to the documentation of this file.
1 #ifndef SEQUENCE_SEQUENCE_TOOLBOX_H
2 #define SEQUENCE_SEQUENCE_TOOLBOX_H
3 
4 #include "../../math_toolbox.h"
5 
6 namespace Sequence {
7 
8 class SequenceToolbox : public MathToolbox {
9 public:
12  SequenceToolbox(const SequenceToolbox& other) = delete;
13  SequenceToolbox(SequenceToolbox&& other) = delete;
14  SequenceToolbox& operator=(const SequenceToolbox& other) = delete;
15  SequenceToolbox& operator=(SequenceToolbox&& other) = delete;
16  bool handleEvent(Ion::Events::Event event) override;
17  int numberOfRows() override;
18  HighlightCell * reusableCell(int index, int type) override;
19  void willDisplayCellForIndex(HighlightCell * cell, int index) override;
20  int typeAtLocation(int i, int j) override;
21  void setExtraCells(const char * sequenceName, int recurrenceDepth);
22 private:
23  bool selectAddedCell(int selectedRow);
24  int mathToolboxIndex(int index);
27  int m_numberOfAddedCells;
28 };
29 
30 }
31 
32 #endif
SequenceToolbox & operator=(const SequenceToolbox &other)=delete
void setExtraCells(const char *sequenceName, int recurrenceDepth)
int typeAtLocation(int i, int j) override
static constexpr int k_maxNumberOfDisplayedRows
Definition: math_toolbox.h:18
bool handleEvent(Ion::Events::Event event) override
Definition: app.cpp:7
HighlightCell * reusableCell(int index, int type) override
void willDisplayCellForIndex(HighlightCell *cell, int index) override