26 I18n::Message labels[
k_totalNumberOfCell] = {I18n::Message::XStart, I18n::Message::XEnd, I18n::Message::Step};
35 double IntervalParameterController::parameterAtIndex(
int index) {
41 if (f <= 0.0f && parameterIndex == 2) {
48 if (parameterIndex == 1) {
60 HighlightCell * IntervalParameterController::reusableParameterCell(
int index,
int type) {
63 return m_intervalCells[index];
74 int IntervalParameterController::reusableParameterCellCount(
int type) {
78 void IntervalParameterController::buttonAction() {
81 if (stack->
depth() > 1) {
86 View * IntervalParameterController::loadView() {
94 void IntervalParameterController::unloadView(
View * view) {
96 delete m_intervalCells[i];
97 m_intervalCells[i] =
nullptr;
void(Interval::* SetterPointer)(double)
enum Message uint16_t enum Language uint16_t const char * translate(Message m, Language l=(Language) 0)
StackViewController * stackController()
bool setParameterAtIndex(int parameterIndex, double f) override
void displayWarning(I18n::Message warningMessage)
View * loadView() override
void unloadView(View *view) override
const char * title() override
bool handleEvent(Ion::Events::Event event) override
void setMessage(I18n::Message message)
int numberOfRows() override
void willDisplayCellForIndex(HighlightCell *cell, int index) override
void willDisplayCellForIndex(HighlightCell *cell, int index) override
static constexpr int k_totalNumberOfCell
IntervalParameterController(Responder *parentResponder, Interval *interval)
double(Interval::* GetterPointer)()