Blame view

build3/apps/shared/function_go_to_parameter_controller.h 670 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
  #ifndef SHARED_FUNCTION_GO_TO_PARAMETER_CONTROLLER_H
  #define SHARED_FUNCTION_GO_TO_PARAMETER_CONTROLLER_H
  
  #include "go_to_parameter_controller.h"
  #include "function.h"
  
  namespace Shared {
  
  class FunctionGoToParameterController : public GoToParameterController {
  public:
    FunctionGoToParameterController(Responder * parentResponder, InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor, I18n::Message symbol);
    const char * title() override;
    void setFunction(Function * function);
  protected:
    bool setParameterAtIndex(int parameterIndex, double f) override;
    Function * m_function;
  private:
    double parameterAtIndex(int index) override;
  };
  
  }
  
  #endif