Files
Upsilon/apps/graph/values/function_parameter_controller.h
Émilie Feral 1f21251011 [escher] Change name: pointer->message
Change-Id: I0bd7a7d8da047b03342bec1ff31f29ad7efcc2f6
2017-03-16 15:12:12 +01:00

30 lines
908 B
C++

#ifndef GRAPH_FUNCTION_PARAM_CONTROLLER_H
#define GRAPH_FUNCTION_PARAM_CONTROLLER_H
#include "../cartesian_function.h"
#include "../../shared/values_function_parameter_controller.h"
namespace Graph {
class ValuesController;
class FunctionParameterController : public Shared::ValuesFunctionParameterController {
public:
FunctionParameterController(ValuesController * valuesController);
bool handleEvent(Ion::Events::Event event) override;
int numberOfRows() override;
HighlightCell * reusableCell(int index) override;
int reusableCellCount() override;
void willDisplayCellForIndex(HighlightCell * cell, int index) override;
void setFunction(Shared::Function * function) override;
private:
constexpr static int k_totalNumberOfCell = 2;
MessageTableCellWithSwitch m_displayDerivativeColumn;
CartesianFunction * m_cartesianFunction;
ValuesController * m_valuesController;
};
}
#endif