Files
Upsilon/apps/sequence/graph/curve_parameter_controller.h
Émilie Feral 43f17faa2e [apps/sequence/graph] Display the term sum controller from the curve
parameter page

Change-Id: Ice645614e67ed40e0001a48b69a8c4d8b284179d
2017-03-03 09:38:53 +01:00

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