Files
Upsilon/apps/shared/function_curve_parameter_controller.h
Émilie Feral 3f98061a4c [escher] Extrude the model in selectable table view controller to its
delegate

Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
2017-05-03 10:22:01 +02:00

31 lines
935 B
C++

#ifndef SHARED_FUNCTION_CURVE_PARAMETER_CONTROLLER_H
#define SHARED_FUNCTION_CURVE_PARAMETER_CONTROLLER_H
#include <escher.h>
#include "function_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 SelectableTableViewDelegate {
public:
FunctionCurveParameterController(InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor);
View * view() override;
void didBecomeFirstResponder() override;
KDCoordinate cellHeight() override;
void setFunction(Function * function);
protected:
bool handleGotoSelection();
MessageTableCellWithChevron m_goToCell;
SelectableTableView m_selectableTableView;
private:
virtual FunctionGoToParameterController * goToParameterController() = 0;
Function * m_function;
};
}
#endif