mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
30 lines
869 B
C++
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
|