Numworks Epsilon  1.4.1
Graphing Calculator Operating System
go_to_parameter_controller.h
Go to the documentation of this file.
1 #ifndef SHARED_GO_TO_PARAMETER_CONTROLLER_H
2 #define SHARED_GO_TO_PARAMETER_CONTROLLER_H
3 
4 #include <escher.h>
6 #include "curve_view_cursor.h"
8 
9 namespace Shared {
10 
12 public:
13  GoToParameterController(Responder * parentResponder, InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor, I18n::Message symbol);
14  int numberOfRows() override;
15  bool handleEvent(Ion::Events::Event event) override;
16 protected:
17  constexpr static double k_maxDisplayableFloat = 1E8;
20 private:
21  void buttonAction() override;
22  HighlightCell * reusableParameterCell(int index, int type) override;
23  int reusableParameterCellCount(int type) override;
24  View * loadView() override;
25  void unloadView(View * view) override;
27  MessageTableCellWithEditableText * m_abscisseCell;
28  I18n::Message m_abscissaSymbol;
29 };
30 
31 }
32 
33 #endif
Responder * parentResponder() const
Definition: responder.cpp:12
bool handleEvent(Ion::Events::Event event) override
static constexpr double k_maxDisplayableFloat
InteractiveCurveViewRange * m_graphRange
Definition: view.h:23
GoToParameterController(Responder *parentResponder, InteractiveCurveViewRange *graphRange, CurveViewCursor *cursor, I18n::Message symbol)