1 #ifndef ESCHER_EXPRESSION_VIEW_H 2 #define ESCHER_EXPRESSION_VIEW_H 16 ExpressionView(
float horizontalAlignment = 0.0f,
float verticalAlignment = 0.5f,
23 void setAlignment(
float horizontalAlignment,
float verticalAlignment);
32 float m_horizontalAlignment;
33 float m_verticalAlignment;
void setBackgroundColor(KDColor backgroundColor)
void setExpression(Poincare::ExpressionLayout *expressionLayout)
KDSize minimalSizeForOptimalDisplay() const override
void setAlignment(float horizontalAlignment, float verticalAlignment)
constexpr KDColor KDColorWhite
ExpressionView(float horizontalAlignment=0.0f, float verticalAlignment=0.5f, KDColor textColor=KDColorBlack, KDColor backgroundColor=KDColorWhite)
Poincare::ExpressionLayout * expressionLayout() const
constexpr KDColor KDColorBlack
void setTextColor(KDColor textColor)
void drawRect(KDContext *ctx, KDRect rect) const override