1 #ifndef SHARED_FLOAT_PARAMETER_CONTROLLER_H 2 #define SHARED_FLOAT_PARAMETER_CONTROLLER_H 38 constexpr
static int k_buttonMargin = 6;
39 virtual void buttonAction();
40 virtual I18n::Message okButtonText();
41 virtual int reusableParameterCellCount(
int type) = 0;
42 virtual HighlightCell * reusableParameterCell(
int index,
int type) = 0;
44 virtual bool setParameterAtIndex(
int parameterIndex,
double f) = 0;
int indexFromCumulatedHeight(KDCoordinate offsetY) override
Responder * parentResponder() const
int reusableCellCount(int type) override
virtual SelectableTableView * selectableTableView()
FloatParameterController(Responder *parentResponder)
HighlightCell * reusableCell(int index, int type) override
int typeAtLocation(int i, int j) override
StackViewController * stackController()
void didBecomeFirstResponder() override
View * loadView() override
void unloadView(View *view) override
void willExitResponderChain(Responder *nextFirstResponder) override
virtual double parameterAtIndex(int index)=0
bool textFieldShouldFinishEditing(TextField *textField, Ion::Events::Event event) override
void willDisplayCellForIndex(HighlightCell *cell, int index) override
bool handleEvent(Ion::Events::Event event) override
bool textFieldDidFinishEditing(TextField *textField, const char *text, Ion::Events::Event event) override
KDCoordinate cumulatedHeightFromIndex(int j) override
KDCoordinate rowHeight(int j) override
void viewWillAppear() override