mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Shared: Move part of the implementation of TermSumController to
shared (Integral Graph Controller) and improve bound edition in TermSumController.
This commit is contained in:
committed by
EmilieNumworks
parent
31afd260a4
commit
7ea0dbeb56
@@ -18,14 +18,6 @@ GraphController::GraphController(Responder * parentResponder, SequenceStore * se
|
||||
m_graphRange->setDelegate(this);
|
||||
}
|
||||
|
||||
void GraphController::viewWillAppear() {
|
||||
m_view.setVerticalCursor(false);
|
||||
m_view.setCursorView(&m_cursorView);
|
||||
m_view.setBannerView(&m_bannerView);
|
||||
m_view.setHighlight(-1.0f, -1.0f);
|
||||
FunctionGraphController::viewWillAppear();
|
||||
}
|
||||
|
||||
I18n::Message GraphController::emptyMessage() {
|
||||
if (m_sequenceStore->numberOfDefinedFunctions() == 0) {
|
||||
return I18n::Message::NoSequence;
|
||||
@@ -42,7 +34,7 @@ BannerView * GraphController::bannerView() {
|
||||
}
|
||||
|
||||
bool GraphController::handleEnter() {
|
||||
m_termSumController.setSequence(m_sequenceStore->activeFunctionAtIndex(m_indexFunctionSelectedByCursor));
|
||||
m_termSumController.setFunction(m_sequenceStore->activeFunctionAtIndex(m_indexFunctionSelectedByCursor));
|
||||
return FunctionGraphController::handleEnter();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user