Numworks Epsilon  1.4.1
Graphing Calculator Operating System
values_function_parameter_controller.h
Go to the documentation of this file.
1 #ifndef SHARED_VALUES_FUNCTION_PARAM_CONTROLLER_H
2 #define SHARED_VALUES_FUNCTION_PARAM_CONTROLLER_H
3 
4 #include <escher.h>
5 #include "function.h"
6 #include "../i18n.h"
7 
8 namespace Shared {
9 
11 public:
13 
14  View * view() override;
15  const char * title() override;
16  void didBecomeFirstResponder() override;
17  virtual int numberOfRows() override;
18  KDCoordinate cellHeight() override;
19  virtual HighlightCell * reusableCell(int index) override;
20  virtual int reusableCellCount() override;
21  virtual void setFunction(Function * function);
22 protected:
25 private:
26  constexpr static int k_maxNumberOfCharsInTitle = 16;
27  char m_pageTitle[k_maxNumberOfCharsInTitle];
28  Function * m_function;
29  char m_symbol;
30 };
31 
32 }
33 
34 #endif
35 
int16_t KDCoordinate
Definition: coordinate.h:6
virtual HighlightCell * reusableCell(int index) override
Definition: view.h:23