[apps/sequence] Clean GraphController

This commit is contained in:
Léa Saviot
2019-01-04 10:44:31 +01:00
parent 4d1114ef63
commit 17a9388623
2 changed files with 8 additions and 36 deletions

View File

@@ -25,18 +25,6 @@ I18n::Message GraphController::emptyMessage() {
return I18n::Message::NoActivatedSequence;
}
TermSumController * GraphController::termSumController() {
return &m_termSumController;
}
int GraphController::numberOfCurves() const {
return m_sequenceStore->numberOfModels();
}
BannerView * GraphController::bannerView() {
return &m_bannerView;
}
bool GraphController::handleEnter() {
m_termSumController.setFunction(m_sequenceStore->activeFunctionAtIndex(indexFunctionSelectedByCursor()));
return FunctionGraphController::handleEnter();
@@ -69,20 +57,4 @@ double GraphController::defaultCursorAbscissa() {
return std::round(Shared::FunctionGraphController::defaultCursorAbscissa());
}
CurveViewRange * GraphController::interactiveCurveViewRange() {
return m_graphRange;
}
SequenceStore * GraphController::functionStore() const {
return m_sequenceStore;
}
GraphView * GraphController::functionGraphView() {
return &m_view;
}
CurveParameterController * GraphController::curveParameterController() {
return &m_curveParameterController;
}
}