mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Implement InteractiveCurveViewController::isCursorVisible
It was a pure virtual method implemented in derived classes Shared::FunctionGraphController, Regression::GraphController. InteractiveCurveViewRange does not need anymore to hold CurveViewCursor * m_cursor.
This commit is contained in:
committed by
Émilie Feral
parent
8629254d9a
commit
67f9f79322
@@ -148,10 +148,6 @@ uint32_t FunctionGraphController::rangeVersion() {
|
||||
return interactiveCurveViewRange()->rangeChecksum();
|
||||
}
|
||||
|
||||
bool FunctionGraphController::isCursorVisible() {
|
||||
return interactiveCurveViewRange()->isCursorVisible(cursorTopMarginRatio(), k_cursorRightMarginRatio, cursorBottomMarginRatio(), k_cursorLeftMarginRatio);
|
||||
}
|
||||
|
||||
bool FunctionGraphController::closestCurveIndexIsSuitable(int newIndex, int currentIndex) const {
|
||||
return newIndex != currentIndex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user