mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
31 lines
889 B
C++
31 lines
889 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, const char * symbol);
|
|
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
|