Numworks Epsilon  1.4.1
Graphing Calculator Operating System
graph_controller.h
Go to the documentation of this file.
1 #ifndef GRAPH_GRAPH_CONTROLLER_H
2 #define GRAPH_GRAPH_CONTROLLER_H
3 
4 #include "graph_view.h"
6 #include "banner_view.h"
8 #include "../../shared/function_graph_controller.h"
9 #include "../../shared/curve_view_cursor.h"
10 #include "../../shared/round_cursor_view.h"
11 #include "../../shared/interactive_curve_view_range.h"
12 #include "../cartesian_function_store.h"
13 
14 namespace Graph {
15 
17 public:
19  I18n::Message emptyMessage() override;
20  void viewWillAppear() override;
21  bool displayDerivativeInBanner() const;
22  void setDisplayDerivativeInBanner(bool displayDerivative);
23  float interestingXRange() override;
24 private:
25  void selectFunctionWithCursor(int functionIndex) override;
26  BannerView * bannerView() override;
27  void reloadBannerView() override;
28  bool moveCursorHorizontally(int direction) override;
29  void initCursorParameters() override;
30  Shared::InteractiveCurveViewRange * interactiveCurveViewRange() override;
31  CartesianFunctionStore * functionStore() const override;
32  GraphView * functionGraphView() override;
33  View * cursorView() override {
34  return &m_cursorView;
35  }
36  CurveParameterController * curveParameterController() override;
37  Shared::RoundCursorView m_cursorView;
38  BannerView m_bannerView;
39  GraphView m_view;
40  Shared::InteractiveCurveViewRange * m_graphRange;
41  CurveParameterController m_curveParameterController;
42  CartesianFunctionStore * m_functionStore;
43  bool m_displayDerivativeInBanner;
44 };
45 
46 }
47 
48 #endif
bool displayDerivativeInBanner() const
Responder * parentResponder() const
Definition: responder.cpp:12
GraphController(Responder *parentResponder, CartesianFunctionStore *functionStore, Shared::InteractiveCurveViewRange *curveViewRange, Shared::CurveViewCursor *cursor, int *indexFunctionSelectedByCursor, uint32_t *modelVersion, uint32_t *rangeVersion, Poincare::Expression::AngleUnit *angleUnitVersion, ButtonRowController *header)
I18n::Message emptyMessage() override
float interestingXRange() override
Definition: app.cpp:9
void viewWillAppear() override
ButtonRowController * header()
unsigned int uint32_t
Definition: stdint.h:6
void setDisplayDerivativeInBanner(bool displayDerivative)
Definition: view.h:23