Numworks Epsilon  1.4.1
Graphing Calculator Operating System
calculation_parameter_controller.h
Go to the documentation of this file.
1 #ifndef GRAPH_CALCULATION_PARAMETER_CONTROLLER_H
2 #define GRAPH_CALCULATION_PARAMETER_CONTROLLER_H
3 
4 #include <escher.h>
5 #include "../cartesian_function.h"
10 #include "root_graph_controller.h"
11 #include "graph_view.h"
12 #include "banner_view.h"
13 #include "../../i18n.h"
14 
15 namespace Graph {
16 
18 public:
20  View * view() override;
21  const char * title() override;
22  bool handleEvent(Ion::Events::Event event) override;
23  void didBecomeFirstResponder() override;
24  int numberOfRows() override;
25  KDCoordinate cellHeight() override;
26  HighlightCell * reusableCell(int index) override;
27  int reusableCellCount() override;
28  void willDisplayCellForIndex(HighlightCell * cell, int index) override;
29  void setFunction(CartesianFunction * function);
30 private:
31  constexpr static int k_totalNumberOfCells = 6;
32  MessageTableCell m_cells[k_totalNumberOfCells];
33  SelectableTableView m_selectableTableView;
34  CartesianFunction * m_function;
35  TangentGraphController m_tangentGraphController;
36  IntegralGraphController m_integralGraphController;
37  MinimumGraphController m_minimumGraphController;
38  MaximumGraphController m_maximumGraphController;
39  RootGraphController m_rootGraphController;
40  IntersectionGraphController m_intersectionGraphController;
41 };
42 
43 }
44 
45 #endif
46 
int16_t KDCoordinate
Definition: coordinate.h:6
Responder * parentResponder() const
Definition: responder.cpp:12
Definition: app.cpp:9
HighlightCell * reusableCell(int index) override
bool handleEvent(Ion::Events::Event event) override
Definition: view.h:23
CalculationParameterController(Responder *parentResponder, GraphView *graphView, BannerView *bannerView, Shared::InteractiveCurveViewRange *range, Shared::CurveViewCursor *cursor, CartesianFunctionStore *functionStore)
void willDisplayCellForIndex(HighlightCell *cell, int index) override