mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 06:10:31 +01:00
[apps/sequence] Clean term sum controller
Change-Id: Ide724bbf8aafe01f5685f9126feae29a0099b810
This commit is contained in:
@@ -203,7 +203,6 @@ void TermSumController::LegendView::setSumSubscript(float start) {
|
||||
m_sumLayout = new CondensedSumLayout(new StringLayout(sigma, 2), new StringLayout(buffer, strlen(buffer), KDText::FontSize::Small), nullptr);
|
||||
m_sum.setExpression(m_sumLayout);
|
||||
m_sum.setAlignment(0.0f, 0.5f);
|
||||
layoutSubviews();
|
||||
}
|
||||
|
||||
void TermSumController::LegendView::setSumSuperscript(float start, float end) {
|
||||
@@ -219,7 +218,6 @@ void TermSumController::LegendView::setSumSuperscript(float start, float end) {
|
||||
m_sumLayout = new CondensedSumLayout(new StringLayout(sigma, 2), new StringLayout(bufferStart, strlen(bufferStart), KDText::FontSize::Small), new StringLayout(bufferEnd, strlen(bufferEnd), KDText::FontSize::Small));
|
||||
m_sum.setExpression(m_sumLayout);
|
||||
m_sum.setAlignment(0.0f, 0.5f);
|
||||
layoutSubviews();
|
||||
}
|
||||
|
||||
void TermSumController::LegendView::setSumResult(const char * sequenceName, float result) {
|
||||
@@ -233,7 +231,6 @@ void TermSumController::LegendView::setSumResult(const char * sequenceName, floa
|
||||
m_sumLayout = new HorizontalLayout(childrenLayouts, 3);
|
||||
m_sum.setExpression(m_sumLayout);
|
||||
m_sum.setAlignment(0.5f, 0.5f);
|
||||
layoutSubviews();
|
||||
}
|
||||
|
||||
int TermSumController::LegendView::numberOfSubviews() const {
|
||||
|
||||
Reference in New Issue
Block a user