Files
Upsilon/apps/statistics/histogram_parameter_controller.h
Émilie Feral aa91ebfb14 [apps] Delete useless obsoletfunction in float parameter controller
Change-Id: I2421de22519aacc2ef329cca12dc6fa3b6ad845d
2017-01-09 15:08:55 +01:00

30 lines
869 B
C++

#ifndef STATISTICS_HISTOGRAM_PARAMETER_CONTROLLER_H
#define STATISTICS_HISTOGRAM_PARAMETER_CONTROLLER_H
#include <escher.h>
#include "../float_parameter_controller.h"
#include "data.h"
namespace Statistics {
class HistogramParameterController : public FloatParameterController {
public:
HistogramParameterController(Responder * parentResponder, Data * data);
const char * title() const override;
int numberOfRows() override;
TableViewCell * reusableCell(int index) override;
int reusableCellCount() override;
void setFunction(Function * function);
private:
float parameterAtIndex(int index) override;
void setParameterAtIndex(int parameterIndex, float f) override;
char m_draftTextBuffer[EditableTextMenuListCell::k_bufferLength];
EditableTextMenuListCell m_binWidthCell;
EditableTextMenuListCell m_minValueCell;
Data * m_data;
};
}
#endif