Blame view

build1/epsilon-master/apps/sequence/graph/curve_parameter_controller.h 963 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  #ifndef SEQUENCE_CURVE_PARAMETER_CONTROLLER_H
  #define SEQUENCE_CURVE_PARAMETER_CONTROLLER_H
  
  #include <escher.h>
  #include "../../shared/function_curve_parameter_controller.h"
  #include "go_to_parameter_controller.h"
  
  namespace Sequence {
  
  class GraphController;
  
  class CurveParameterController : public Shared::FunctionCurveParameterController {
  public:
    CurveParameterController(GraphController * graphController, Shared::InteractiveCurveViewRange * graphRange, Shared::CurveViewCursor * cursor);
    const char * title() override;
    bool handleEvent(Ion::Events::Event event) override;
    int numberOfRows() override;
    HighlightCell * reusableCell(int index) override;
    int reusableCellCount() override;
  private:
    constexpr static int k_totalNumberOfCells = 2;
    GoToParameterController * goToParameterController() override;
    GoToParameterController m_goToParameterController;
    MessageTableCell m_sumCell;
    GraphController * m_graphController;
  };
  
  }
  
  #endif