mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
28 lines
812 B
C++
28 lines
812 B
C++
#ifndef SEQUENCE_CURVE_PARAMETER_CONTROLLER_H
|
|
#define SEQUENCE_CURVE_PARAMETER_CONTROLLER_H
|
|
|
|
#include <escher.h>
|
|
#include "../../shared/function_curve_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() const 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;
|
|
PointerTableCell m_sumCell;
|
|
GraphController * m_graphController;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|