mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
(used in regression, graph, sequence) Change-Id: I5e54bca17f9de7b21aeb705ea87818b064662904
23 lines
657 B
C++
23 lines
657 B
C++
#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);
|
|
private:
|
|
float parameterAtIndex(int index) override;
|
|
bool setParameterAtIndex(int parameterIndex, float f) override;
|
|
Function * m_function;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|