mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 23:30:37 +01:00
ranges) and of curve views/curve view controllers. Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
32 lines
1.0 KiB
C++
32 lines
1.0 KiB
C++
#ifndef GRAPH_GRAPH_GOTO_PARAMETER_CONTROLLER_H
|
|
#define GRAPH_GRAPH_GOTO_PARAMETER_CONTROLLER_H
|
|
|
|
#include <escher.h>
|
|
#include "graph_view.h"
|
|
#include "../../float_parameter_controller.h"
|
|
#include "../../curve_view_cursor.h"
|
|
#include "../../interactive_curve_view_range.h"
|
|
|
|
namespace Graph {
|
|
class GoToParameterController : public FloatParameterController {
|
|
public:
|
|
GoToParameterController(Responder * parentResponder, InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor);
|
|
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;
|
|
char m_draftTextBuffer[EditableTextMenuListCell::k_bufferLength];
|
|
EditableTextMenuListCell m_abscisseCell;
|
|
InteractiveCurveViewRange * m_graphRange;
|
|
CurveViewCursor * m_cursor;
|
|
Function * m_function;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|