Numworks Epsilon  1.4.1
Graphing Calculator Operating System
math_toolbox.h
Go to the documentation of this file.
1 #ifndef APPS_MATH_TOOLBOX_H
2 #define APPS_MATH_TOOLBOX_H
3 
4 #define MATRICES_ARE_DEFINED 1
5 #include <escher.h>
6 #include <apps/i18n.h>
7 
8 class MathToolbox : public Toolbox {
9 public:
10  MathToolbox();
11 protected:
12  TextField * sender() override;
13  bool selectLeaf(ToolboxMessageTree * selectedMessageTree) override;
14  const ToolboxMessageTree * rootModel() override;
15  MessageTableCellWithMessage * leafCellAtIndex(int index) override;
16  MessageTableCellWithChevron* nodeCellAtIndex(int index) override;
17  int maxNumberOfDisplayedRows() override;
18  constexpr static int k_maxNumberOfDisplayedRows = 6; // = 240/40
19 private:
22 };
23 
24 #endif
const ToolboxMessageTree * rootModel() override
static constexpr int k_maxNumberOfDisplayedRows
Definition: math_toolbox.h:18
bool selectLeaf(ToolboxMessageTree *selectedMessageTree) override
MessageTableCellWithMessage * leafCellAtIndex(int index) override
int maxNumberOfDisplayedRows() override
TextField * sender() override
MessageTableCellWithChevron * nodeCellAtIndex(int index) override