diff --git a/apps/shared/sum_graph_controller.cpp b/apps/shared/sum_graph_controller.cpp index 2db803aad..06b8ed49a 100644 --- a/apps/shared/sum_graph_controller.cpp +++ b/apps/shared/sum_graph_controller.cpp @@ -150,7 +150,7 @@ void SumGraphController::reloadBannerView() { m_legendView.setEditableZone(m_cursor->x()); result = NAN; } - m_legendView.setSumSymbol(m_step, m_startSum, endSum, result, functionLayout); + m_legendView.setSumLayout(m_step, m_startSum, endSum, result, functionLayout); } /* Legend View */ @@ -185,7 +185,7 @@ void SumGraphController::LegendView::setEditableZone(double d) { m_editableZone.setText(buffer); } -void SumGraphController::LegendView::setSumSymbol(Step step, double start, double end, double result, Layout functionLayout) { +void SumGraphController::LegendView::setSumLayout(Step step, double start, double end, double result, Layout functionLayout) { assert(step == Step::Result || functionLayout.isUninitialized()); constexpr int sigmaLength = 2; const CodePoint sigma[sigmaLength] = {' ', m_sumSymbol}; diff --git a/apps/shared/sum_graph_controller.h b/apps/shared/sum_graph_controller.h index c8ba87936..de57d7691 100644 --- a/apps/shared/sum_graph_controller.h +++ b/apps/shared/sum_graph_controller.h @@ -55,7 +55,7 @@ private: void drawRect(KDContext * ctx, KDRect rect) const override; void setLegendMessage(I18n::Message message, Step step); void setEditableZone(double d); - void setSumSymbol(Step step, double start, double end, double result, Poincare::Layout functionLayout); + void setSumLayout(Step step, double start, double end, double result, Poincare::Layout functionLayout); private: constexpr static KDCoordinate k_editableZoneBufferSize = Poincare::PrintFloat::k_maxFloatCharSize; constexpr static KDCoordinate k_legendHeight = 35;