Numworks Epsilon  1.4.1
Graphing Calculator Operating System
histogram_parameter_controller.h
Go to the documentation of this file.
1 #ifndef STATISTICS_HISTOGRAM_PARAMETER_CONTROLLER_H
2 #define STATISTICS_HISTOGRAM_PARAMETER_CONTROLLER_H
3 
4 #include <escher.h>
5 #include "../shared/float_parameter_controller.h"
6 #include "store.h"
7 
8 namespace Statistics {
9 
11 public:
13  const char * title() override;
14  int numberOfRows() override;
15  void willDisplayCellForIndex(HighlightCell * cell, int index) override;
16 private:
17  HighlightCell * reusableParameterCell(int index, int type) override;
18  int reusableParameterCellCount(int type) override;
19  double parameterAtIndex(int index) override;
20  bool setParameterAtIndex(int parameterIndex, double f) override;
21  View * loadView() override;
22  void unloadView(View * view) override;
24  constexpr static int k_numberOfCells = 2;
25  MessageTableCellWithEditableText * m_cells[k_numberOfCells];
26  Store * m_store;
27 };
28 
29 }
30 
31 #endif
HistogramParameterController(Responder *parentResponder, Store *store)
Responder * parentResponder() const
Definition: responder.cpp:12
void willDisplayCellForIndex(HighlightCell *cell, int index) override
Definition: view.h:23