Files
Upsilon/apps/shared/function_curve_parameter_controller.h
Émilie Feral 0bd796310c [apps/shared] Move partial classes from grpah/graph to shared to be used
by sequence

Change-Id: I0e18be96cfaa92b6a51836ae8aa072fa6cf0f1af
2017-03-03 09:38:46 +01:00

31 lines
868 B
C++

#ifndef SHARED_FUNCTION_CURVE_PARAMETER_CONTROLLER_H
#define SHARED_FUNCTION_CURVE_PARAMETER_CONTROLLER_H
#include <escher.h>
#include "go_to_parameter_controller.h"
#include "function.h"
#include "curve_view_cursor.h"
#include "interactive_curve_view_range.h"
namespace Shared {
class FunctionCurveParameterController : public ViewController, public SimpleListViewDataSource {
public:
FunctionCurveParameterController(InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor);
View * view() override;
void didBecomeFirstResponder() override;
KDCoordinate cellHeight() override;
void setFunction(Function * function);
protected:
bool handleGotoSelection();
PointerTableCellWithChevron m_goToCell;
SelectableTableView m_selectableTableView;
private:
GoToParameterController m_goToParameterController;
Function * m_function;
};
}
#endif