[apps/grah} closestCurveIndexVertically renamed as next...

This commit is contained in:
Léa Saviot
2019-09-23 12:07:51 +02:00
committed by EmilieNumworks
parent 936b624fb9
commit ebfa251db8
5 changed files with 8 additions and 5 deletions

View File

@@ -29,6 +29,9 @@ protected:
virtual FunctionStore * functionStore() const;
// Closest vertical curve helper
virtual int nextCurveIndexVertically(bool goingUp, int currentSelectedCurve, Poincare::Context * context) const {
return closestCurveIndexVertically(goingUp, currentSelectedCurve, context);
}
bool closestCurveIndexIsSuitable(int newIndex, int currentIndex) const override;
int selectedCurveIndex() const override { return *m_indexFunctionSelectedByCursor; }
Poincare::Coordinate2D<double> xyValues(int curveIndex, double t, Poincare::Context * context) const override;