mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[shared] Remove const qualifiers from interestingRanges
Change-Id: I794aa144af9dc9eab3090eea7fd54a7cdac2fd68
This commit is contained in:
committed by
LeaNumworks
parent
ff220b7103
commit
a8858023ba
@@ -153,7 +153,7 @@ int FunctionGraphController::numberOfCurves() const {
|
||||
return functionStore()->numberOfActiveFunctions();
|
||||
}
|
||||
|
||||
void FunctionGraphController::interestingRanges(InteractiveCurveViewRange * range) const {
|
||||
void FunctionGraphController::interestingRanges(InteractiveCurveViewRange * range) {
|
||||
Poincare::Context * context = textFieldDelegateApp()->localContext();
|
||||
constexpr int maxLength = 10;
|
||||
float xMins[maxLength], xMaxs[maxLength], yMins[maxLength], yMaxs[maxLength];
|
||||
|
||||
@@ -17,7 +17,7 @@ public:
|
||||
void didBecomeFirstResponder() override;
|
||||
void viewWillAppear() override;
|
||||
|
||||
void interestingRanges(Shared::InteractiveCurveViewRange * range) const override;
|
||||
void interestingRanges(Shared::InteractiveCurveViewRange * range) override;
|
||||
|
||||
protected:
|
||||
float cursorTopMarginRatio() override { return 0.068f; }
|
||||
|
||||
@@ -12,7 +12,7 @@ public:
|
||||
static constexpr float k_defaultXHalfRange = 10.0f;
|
||||
virtual float interestingXMin() const { return -k_defaultXHalfRange; }
|
||||
virtual bool defaultRangeIsNormalized() const { return false; }
|
||||
virtual void interestingRanges(InteractiveCurveViewRange * range) const { assert(false); }
|
||||
virtual void interestingRanges(InteractiveCurveViewRange * range) { assert(false); }
|
||||
virtual float addMargin(float x, float range, bool isVertical, bool isMin) = 0;
|
||||
virtual void updateZoomButtons() = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user