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