[apps] Define InteractiveCurveViewController::selectedCurveIndex

This commit is contained in:
Ruben Dashyan
2019-03-25 15:38:10 +01:00
committed by Émilie Feral
parent 3d71397949
commit 0f98face6a
3 changed files with 5 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ private:
CurveView * curveView() override;
uint32_t modelVersion() override;
uint32_t rangeVersion() override;
int selectedCurveIndex() const override { return *m_indexFunctionSelectedByCursor; }
bool closestCurveIndexIsSuitable(int newIndex, int currentIndex) const override;
double yValue(int curveIndex, double x, Poincare::Context * context) const override;
int numberOfCurves() const override;