mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[shared] Factorize GraphController::initCursorParameters of Graph and
Sequence
This commit is contained in:
committed by
EmilieNumworks
parent
9dc775295b
commit
66d920a280
@@ -26,6 +26,7 @@ protected:
|
||||
return *m_indexFunctionSelectedByCursor;
|
||||
}
|
||||
virtual void selectFunctionWithCursor(int functionIndex);
|
||||
virtual double defaultCursorAbscissa();
|
||||
private:
|
||||
/* When y auto is ticked, we use a display margin to be ensure that the user
|
||||
* can move the cursor along the curve without panning the window */
|
||||
@@ -36,6 +37,7 @@ private:
|
||||
float addMargin(float x, float range, bool isMin) override;
|
||||
|
||||
void initRangeParameters() override;
|
||||
void initCursorParameters() override;
|
||||
bool moveCursorVertically(int direction) override;
|
||||
CurveView * curveView() override;
|
||||
uint32_t modelVersion() override;
|
||||
|
||||
Reference in New Issue
Block a user