mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 08:41:01 +01:00
30 lines
877 B
C++
30 lines
877 B
C++
#ifndef GRAPH_GRAPH_GOTO_PARAMETER_CONTROLLER_H
|
|
#define GRAPH_GRAPH_GOTO_PARAMETER_CONTROLLER_H
|
|
|
|
#include <escher.h>
|
|
#include "axis_interval.h"
|
|
#include "graph_view.h"
|
|
#include "../../float_parameter_controller.h"
|
|
|
|
namespace Graph {
|
|
class GoToParameterController : public FloatParameterController {
|
|
public:
|
|
GoToParameterController(Responder * parentResponder, GraphView * graphView);
|
|
ExpressionTextFieldDelegate * textFieldDelegate() override;
|
|
const char * title() const override;
|
|
int numberOfRows() override;
|
|
TableViewCell * reusableCell(int index) override;
|
|
int reusableCellCount() override;
|
|
void setFunction(Function * function);
|
|
private:
|
|
float parameterAtIndex(int index) override;
|
|
void setParameterAtIndex(int parameterIndex, float f) override;
|
|
EditableTextMenuListCell m_abscisseCell;
|
|
GraphView * m_graphView;
|
|
Function * m_function;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|