Numworks Epsilon  1.4.1
Graphing Calculator Operating System
derivative_parameter_controller.h
Go to the documentation of this file.
1 #ifndef GRAPH_DERIVATIVE_PARAM_CONTROLLER_H
2 #define GRAPH_DERIVATIVE_PARAM_CONTROLLER_H
3 
4 #include <escher.h>
5 #include "../cartesian_function.h"
6 
7 namespace Graph {
8 
9 class ValuesController;
10 
12 public:
14 
15  View * view() override;
16  const char * title() override;
17  bool handleEvent(Ion::Events::Event event) override;
18  void didBecomeFirstResponder() override;
19  int numberOfRows() override;
20  KDCoordinate cellHeight() override;
21  HighlightCell * reusableCell(int index) override;
22  int reusableCellCount() override;
23 
24  void setFunction(CartesianFunction * function);
25 private:
26 #if COPY_COLUMN
27  constexpr static int k_totalNumberOfCell = 2;
28 #else
29  constexpr static int k_totalNumberOfCell = 1;
30 #endif
31  constexpr static int k_maxNumberOfCharsInTitle = 16;
32  char m_pageTitle[k_maxNumberOfCharsInTitle];
33  MessageTableCell m_hideColumn;
34 #if COPY_COLUMN
35  MessageTableCellWithChevron m_copyColumn;
36 #endif
37  SelectableTableView m_selectableTableView;
38  CartesianFunction * m_function;
39  ValuesController * m_valuesController;
40 };
41 
42 }
43 
44 #endif
int16_t KDCoordinate
Definition: coordinate.h:6
DerivativeParameterController(ValuesController *valuesController)
Definition: app.cpp:9
bool handleEvent(Ion::Events::Event event) override
HighlightCell * reusableCell(int index) override
Definition: view.h:23