Numworks Epsilon  1.4.1
Graphing Calculator Operating System
store_parameter_controller.h
Go to the documentation of this file.
1 #ifndef SHARED_STORE_PARAM_CONTROLLER_H
2 #define SHARED_STORE_PARAM_CONTROLLER_H
3 
4 #include <escher.h>
5 #include "float_pair_store.h"
6 #include "../i18n.h"
7 
8 namespace Shared {
9 
11 public:
13  void selectXColumn(bool xColumnSelected);
14  View * view() override;
15  const char * title() override;
16  bool handleEvent(Ion::Events::Event event) override;
17  void didBecomeFirstResponder() override;
18  int numberOfRows() override;
19  KDCoordinate cellHeight() override;
20  HighlightCell * reusableCell(int index) override;
21  int reusableCellCount() override;
22 private:
23 #if COPY_IMPORT_LIST
24  constexpr static int k_totalNumberOfCell = 3;
25  MessageTableCellWithChevron m_copyColumn;
26  MessageTableCellWithChevron m_importList;
27 #else
28  constexpr static int k_totalNumberOfCell = 1;
29 #endif
30  MessageTableCell m_deleteColumn;
31  SelectableTableView m_selectableTableView;
32  FloatPairStore * m_store;
33  bool m_xColumnSelected;
34 };
35 
36 }
37 
38 #endif
int16_t KDCoordinate
Definition: coordinate.h:6
Responder * parentResponder() const
Definition: responder.cpp:12
StoreParameterController(Responder *parentResponder, FloatPairStore *store)
bool handleEvent(Ion::Events::Event event) override
HighlightCell * reusableCell(int index) override
Definition: view.h:23