mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
22 lines
528 B
C++
22 lines
528 B
C++
#ifndef CALCULATION_SCROLLABLE_EXPRESSION_VIEW_H
|
|
#define CALCULATION_SCROLLABLE_EXPRESSION_VIEW_H
|
|
|
|
#include <escher.h>
|
|
|
|
namespace Calculation {
|
|
|
|
class ScrollableExpressionView : public ScrollableView {
|
|
public:
|
|
ScrollableExpressionView(Responder * parentResponder);
|
|
void setExpression(Poincare::ExpressionLayout * expressionLayout);
|
|
void setBackgroundColor(KDColor backgroundColor);
|
|
KDSize minimalSizeForOptimalDisplay() const override;
|
|
private:
|
|
View * view() override;
|
|
ExpressionView m_expressionView;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|