diff --git a/apps/graph/graph/storage_graph_controller.cpp b/apps/graph/graph/storage_graph_controller.cpp index 7b5f81563..ac47d44f9 100644 --- a/apps/graph/graph/storage_graph_controller.cpp +++ b/apps/graph/graph/storage_graph_controller.cpp @@ -69,7 +69,7 @@ void StorageGraphController::reloadBannerView() { } StorageCartesianFunction f = m_functionStore->activeFunctionAtIndex(indexFunctionSelectedByCursor()); TextFieldDelegateApp * myApp = (TextFieldDelegateApp *)app(); - //TODO reloadDerivativeInBannerViewForCursorOnFunction(m_cursor, &f, myApp); + reloadDerivativeInBannerViewForCursorOnFunction(m_cursor, &f, myApp); } bool StorageGraphController::moveCursorHorizontally(int direction) { diff --git a/apps/shared/storage_function_graph_controller.h b/apps/shared/storage_function_graph_controller.h index a3abf0500..671cdc991 100644 --- a/apps/shared/storage_function_graph_controller.h +++ b/apps/shared/storage_function_graph_controller.h @@ -60,11 +60,11 @@ protected: return; } T f = functionStore()->activeFunctionAtIndex(indexFunctionSelectedByCursor()); - //TODO reloadBannerViewForCursorOnFunction(m_cursor, &f, functionStore()->symbol()); + this->reloadBannerViewForCursorOnFunction(m_cursor, &f, functionStore()->symbol()); } bool handleEnter() override { T f = functionStore()->activeFunctionAtIndex(indexFunctionSelectedByCursor()); - //TODO curveParameterController()->setFunction(&f); + curveParameterController()->setFunction(&f); StackViewController * stack = stackController(); stack->push(curveParameterController()); return true; @@ -156,10 +156,9 @@ private: nextFunction = f; } } - /* TODO - * if (nextFunction == actualFunction) { + if (nextFunction == actualFunction) { return false; - }*/ + } m_cursor->moveTo(m_cursor->x(), nextY); interactiveCurveViewRange()->panToMakePointVisible(m_cursor->x(), m_cursor->y(), k_cursorTopMarginRatio, k_cursorRightMarginRatio, k_cursorBottomMarginRatio, k_cursorLeftMarginRatio); return true;