mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
(used in regression, graph, sequence) Change-Id: I5e54bca17f9de7b21aeb705ea87818b064662904
26 lines
721 B
C++
26 lines
721 B
C++
#ifndef REGRESSION_GO_TO_PARAMETER_CONTROLLER_H
|
|
#define REGRESSION_GO_TO_PARAMETER_CONTROLLER_H
|
|
|
|
#include <escher.h>
|
|
#include "../shared/go_to_parameter_controller.h"
|
|
#include "store.h"
|
|
|
|
namespace Regression {
|
|
|
|
class GoToParameterController : public Shared::GoToParameterController {
|
|
public:
|
|
GoToParameterController(Responder * parentResponder, Store * store, Shared::CurveViewCursor * cursor);
|
|
void setXPrediction(bool xPrediction);
|
|
const char * title() override;
|
|
void willDisplayCellForIndex(HighlightCell * cell, int index) override;
|
|
private:
|
|
float parameterAtIndex(int index) override;
|
|
bool setParameterAtIndex(int parameterIndex, float f) override;
|
|
Store * m_store;
|
|
bool m_xPrediction;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|