mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared/sum_graph_controller] Rename setSumSymbol to setSumLayout
This commit is contained in:
committed by
LeaNumworks
parent
e1624c79aa
commit
6b527d3b00
@@ -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};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user