mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
[apps/sequence/graph] Improve term sum controller
Change-Id: Ic2b81e7f1c608e5a9f4f8c5a8de116433f930042
This commit is contained in:
@@ -29,15 +29,19 @@ const char * GraphController::emptyMessage() {
|
||||
return "Aucune suite activee";
|
||||
}
|
||||
|
||||
void GraphController::displayTermSumController() {
|
||||
m_termSumController.setSequence(m_sequenceStore->activeFunctionAtIndex(m_indexFunctionSelectedByCursor));
|
||||
stackController()->push(&m_termSumController);
|
||||
TermSumController * GraphController::termSumController() {
|
||||
return &m_termSumController;
|
||||
}
|
||||
|
||||
BannerView * GraphController::bannerView() {
|
||||
return &m_bannerView;
|
||||
}
|
||||
|
||||
bool GraphController::handleEnter() {
|
||||
m_termSumController.setSequence(m_sequenceStore->activeFunctionAtIndex(m_indexFunctionSelectedByCursor));
|
||||
return FunctionGraphController::handleEnter();
|
||||
}
|
||||
|
||||
bool GraphController::moveCursorHorizontally(int direction) {
|
||||
float xCursorPosition = roundf(m_cursor.x());
|
||||
if (direction < 0 && xCursorPosition <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user