Numworks Epsilon  1.4.1
Graphing Calculator Operating System
scrollable_expression_view.cpp
Go to the documentation of this file.
2 #include <assert.h>
3 using namespace Poincare;
4 
5 namespace Calculation {
6 
7 ScrollableExpressionView::ScrollableExpressionView(Responder * parentResponder) :
8  ScrollableView(parentResponder, &m_expressionView, this),
9  m_expressionView()
10 {
11 }
12 
14  m_expressionView.setExpression(expressionLayout);
16 }
17 
19  m_expressionView.setBackgroundColor(backgroundColor);
20 }
21 
23  return m_expressionView.minimalSizeForOptimalDisplay();
24 }
25 
26 }
void setBackgroundColor(KDColor backgroundColor)
void setExpression(Poincare::ExpressionLayout *expressionLayout)
void setBackgroundColor(KDColor backgroundColor)
void setExpression(Poincare::ExpressionLayout *expressionLayout)
KDSize minimalSizeForOptimalDisplay() const override
KDColor backgroundColor() const
Definition: scroll_view.h:33
Definition: size.h:6
Definition: color.h:6
void layoutSubviews() override