mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Remove from derived classes: - apps/calculation/scrollable_expression_view - apps/code/consol_line_cell - apps/shared/scrollable_exact_approximate_expressions_view - escher/layout_field - escher/table_view - escher/text_field
24 lines
592 B
C++
24 lines
592 B
C++
#include "scrollable_expression_view.h"
|
|
#include <assert.h>
|
|
using namespace Poincare;
|
|
|
|
namespace Calculation {
|
|
|
|
ScrollableExpressionView::ScrollableExpressionView(Responder * parentResponder) :
|
|
ScrollableView(parentResponder, &m_expressionView, this),
|
|
m_expressionView()
|
|
{
|
|
}
|
|
|
|
void ScrollableExpressionView::setLayout(Layout layout) {
|
|
m_expressionView.setLayout(layout);
|
|
layoutSubviews();
|
|
}
|
|
|
|
void ScrollableExpressionView::setBackgroundColor(KDColor backgroundColor) {
|
|
m_expressionView.setBackgroundColor(backgroundColor);
|
|
ScrollableView::setBackgroundColor(backgroundColor);
|
|
}
|
|
|
|
}
|