Files
Upsilon/apps/graph/values/function_parameter_controller.h
Émilie Feral e58e3e8a66 [apps/sequence][apps/graph] Hide "copy column" functionnality
Change-Id: I5c452faa1ef79bb1eec8bbdd8b69ba684661a38b
2017-04-26 09:39:15 +02:00

31 lines
948 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:
/* TODO: implement copy column */
constexpr static int k_totalNumberOfCell = 1;//2;
MessageTableCellWithSwitch m_displayDerivativeColumn;
CartesianFunction * m_cartesianFunction;
ValuesController * m_valuesController;
};
}
#endif