mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[poincare/zoom] Move automatic zoom to Poincare
Change-Id: I7a70ab54b33b9150682cc4f999ff4999a8288b7f
This commit is contained in:
committed by
Émilie Feral
parent
7499a9e0a4
commit
d2b36be846
@@ -55,7 +55,7 @@ public:
|
||||
virtual Poincare::Expression sumBetweenBounds(double start, double end, Poincare::Context * context) const = 0;
|
||||
|
||||
// Range
|
||||
virtual void rangeForDisplay(float * xMin, float * xMax, float * yMin, float * yMax, Poincare::Context * context, bool tuneXRange = true) const;
|
||||
virtual void rangeForDisplay(float * xMin, float * xMax, float * yMin, float * yMax, Poincare::Context * context, bool tuneXRange = true) const = 0;
|
||||
|
||||
protected:
|
||||
/* RecordDataBuffer is the layout of the data buffer of Record
|
||||
@@ -93,11 +93,9 @@ protected:
|
||||
bool m_active;
|
||||
};
|
||||
|
||||
void protectedRefinedYRangeForDisplay(float xMin, float xMax, float * yMin, float * yMax, Poincare::Context * context, bool boundByMagnitude) const;
|
||||
void protectedRangeForDisplay(float * xMin, float * xMax, float * yMin, float * yMax, Poincare::Context * context, bool tuneXRange, bool boundByMagnitude) const;
|
||||
|
||||
private:
|
||||
virtual void refinedYRangeForDisplay(float xMin, float xMax, float * yMin, float * yMax, Poincare::Context * context) const = 0;
|
||||
|
||||
RecordDataBuffer * recordData() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user