mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[shared] Rename methods
This commit is contained in:
committed by
LeaNumworks
parent
1f8ab10ae5
commit
ffebd2e987
@@ -5,7 +5,7 @@
|
||||
|
||||
namespace Shared {
|
||||
|
||||
void InteractiveCurveViewRangeDelegate::InterestingRangesHelper(InteractiveCurveViewRange * range, Poincare::Context * context, FunctionStore * functionStore, float targetRatio) {
|
||||
void InteractiveCurveViewRangeDelegate::DefaultInterestingRanges(InteractiveCurveViewRange * range, Poincare::Context * context, FunctionStore * functionStore, float targetRatio) {
|
||||
constexpr int maxLength = 10;
|
||||
float xMins[maxLength], xMaxs[maxLength], yMins[maxLength], yMaxs[maxLength];
|
||||
int length = functionStore->numberOfActiveFunctions();
|
||||
@@ -26,7 +26,7 @@ void InteractiveCurveViewRangeDelegate::InterestingRangesHelper(InteractiveCurve
|
||||
range->setYMax(yMax);
|
||||
}
|
||||
|
||||
float InteractiveCurveViewRangeDelegate::AddMarginHelper(float x, float range, bool isVertical, bool isMin, float top, float bottom, float left, float right) {
|
||||
float InteractiveCurveViewRangeDelegate::DefaultAddMargin(float x, float range, bool isVertical, bool isMin, float top, float bottom, float left, float right) {
|
||||
/* The provided min or max range limit y is altered by adding a margin.
|
||||
* In pixels, the view's height occupied by the vertical range is equal to
|
||||
* viewHeight - topMargin - bottomMargin.
|
||||
|
||||
Reference in New Issue
Block a user