Files
Upsilon/apps/regression/go_to_parameter_controller.h
Émilie Feral 5259b3ab94 [apps/regression] When predicting regression, select the line instead of
dots

Change-Id: Ia86c06fa64af8aec68ea9b53ba8534e58be1b64b
2017-05-19 15:00:24 +02:00

29 lines
819 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 GraphController;
class GoToParameterController : public Shared::GoToParameterController {
public:
GoToParameterController(Responder * parentResponder, Store * store, Shared::CurveViewCursor * cursor, GraphController * graphController);
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;
GraphController * m_graphController;
};
}
#endif