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
:
20
MessageTableCellWithMessage
m_leafCells[
k_maxNumberOfDisplayedRows
];
21
MessageTableCellWithChevron
m_nodeCells[
k_maxNumberOfDisplayedRows
];
22
};
23
24
#endif
TextField
Definition:
text_field.h:8
Toolbox
Definition:
toolbox.h:12
ToolboxMessageTree
Definition:
toolbox_message_tree.h:6
MathToolbox::MathToolbox
MathToolbox()
Definition:
math_toolbox.cpp:104
escher.h
MathToolbox::rootModel
const ToolboxMessageTree * rootModel() override
Definition:
math_toolbox.cpp:123
MathToolbox::k_maxNumberOfDisplayedRows
static constexpr int k_maxNumberOfDisplayedRows
Definition:
math_toolbox.h:18
MessageTableCellWithMessage
Definition:
message_table_cell_with_message.h:6
MathToolbox::selectLeaf
bool selectLeaf(ToolboxMessageTree *selectedMessageTree) override
Definition:
math_toolbox.cpp:112
MathToolbox::leafCellAtIndex
MessageTableCellWithMessage * leafCellAtIndex(int index) override
Definition:
math_toolbox.cpp:127
MathToolbox::maxNumberOfDisplayedRows
int maxNumberOfDisplayedRows() override
Definition:
math_toolbox.cpp:137
MathToolbox::sender
TextField * sender() override
Definition:
math_toolbox.cpp:108
MathToolbox
Definition:
math_toolbox.h:8
MathToolbox::nodeCellAtIndex
MessageTableCellWithChevron * nodeCellAtIndex(int index) override
Definition:
math_toolbox.cpp:132
MessageTableCellWithChevron
Definition:
message_table_cell_with_chevron.h:7
epsilon
apps
math_toolbox.h
Generated by
1.8.14