1 #ifndef GRAPH_TANGENT_GRAPH_CONTROLLER_H 2 #define GRAPH_TANGENT_GRAPH_CONTROLLER_H 7 #include "../../shared/simple_interactive_curve_view_controller.h" 8 #include "../../shared/function_banner_delegate.h" 9 #include "../cartesian_function_store.h" 16 const char *
title()
override;
20 constexpr
static float k_cursorTopMarginRatio = 0.07f;
21 constexpr
static float k_cursorBottomMarginRatio = 0.22f;
24 BannerView * bannerView()
override {
return m_bannerView; };
25 void reloadBannerView()
override;
26 bool moveCursorHorizontally(
int direction)
override;
27 bool handleEnter()
override;
const char * title() override
Responder * parentResponder() const
void viewWillAppear() override
void setFunction(CartesianFunction *function)
TangentGraphController(Responder *parentResponder, GraphView *graphView, BannerView *bannerView, Shared::InteractiveCurveViewRange *curveViewRange, Shared::CurveViewCursor *cursor)