Numworks Epsilon  1.4.1
Graphing Calculator Operating System
EvenOddExpressionCell Class Reference

#include <even_odd_expression_cell.h>

Inheritance diagram for EvenOddExpressionCell:
EvenOddCell HighlightCell View

Public Member Functions

 EvenOddExpressionCell (float horizontalAlignment=0.0f, float verticalAlignment=0.5f, KDColor textColor=KDColorBlack, KDColor backgroundColor=KDColorWhite)
 
void setEven (bool even) override
 
void setHighlighted (bool highlight) override
 
void setExpression (Poincare::ExpressionLayout *expressionLayout)
 
void setBackgroundColor (KDColor backgroundColor)
 
void setTextColor (KDColor textColor)
 
KDSize minimalSizeForOptimalDisplay () const override
 
void setAlignment (float horizontalAlignment, float verticalAlignment)
 
int numberOfSubviews () const override
 
ViewsubviewAtIndex (int index) override
 
void layoutSubviews () override
 
- Public Member Functions inherited from EvenOddCell
 EvenOddCell ()
 
virtual KDColor backgroundColor () const
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
- Public Member Functions inherited from HighlightCell
 HighlightCell ()
 
bool isHighlighted () const
 
virtual void reloadCell ()
 
virtual Responderresponder ()
 
- Public Member Functions inherited from View
 View ()
 
virtual ~View ()
 
 View (const View &other)=delete
 
 View (View &&other)=delete
 
Viewoperator= (const View &other)=delete
 
Viewoperator= (View &&other)=delete
 
void resetSuperview ()
 
void setSize (KDSize size)
 
void setFrame (KDRect frame)
 
KDPoint pointFromPointInView (View *view, KDPoint point)
 
KDRect bounds () const
 
Viewsubview (int index)
 

Protected Attributes

ExpressionView m_expressionView
 
- Protected Attributes inherited from EvenOddCell
bool m_even
 
- Protected Attributes inherited from HighlightCell
bool m_highlighted
 
- Protected Attributes inherited from View
KDRect m_frame
 

Additional Inherited Members

- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 

Detailed Description

Definition at line 7 of file even_odd_expression_cell.h.

Constructor & Destructor Documentation

◆ EvenOddExpressionCell()

EvenOddExpressionCell::EvenOddExpressionCell ( float  horizontalAlignment = 0.0f,
float  verticalAlignment = 0.5f,
KDColor  textColor = KDColorBlack,
KDColor  backgroundColor = KDColorWhite 
)

Definition at line 5 of file even_odd_expression_cell.cpp.

Member Function Documentation

◆ layoutSubviews()

void EvenOddExpressionCell::layoutSubviews ( )
overridevirtual

Reimplemented from View.

Definition at line 47 of file even_odd_expression_cell.cpp.

◆ minimalSizeForOptimalDisplay()

KDSize EvenOddExpressionCell::minimalSizeForOptimalDisplay ( ) const
overridevirtual

Reimplemented from View.

Definition at line 34 of file even_odd_expression_cell.cpp.

◆ numberOfSubviews()

int EvenOddExpressionCell::numberOfSubviews ( ) const
overridevirtual

Reimplemented from View.

Definition at line 38 of file even_odd_expression_cell.cpp.

◆ setAlignment()

void EvenOddExpressionCell::setAlignment ( float  horizontalAlignment,
float  verticalAlignment 
)

◆ setBackgroundColor()

void EvenOddExpressionCell::setBackgroundColor ( KDColor  backgroundColor)

Definition at line 26 of file even_odd_expression_cell.cpp.

◆ setEven()

void EvenOddExpressionCell::setEven ( bool  even)
overridevirtual

Reimplemented from EvenOddCell.

Definition at line 17 of file even_odd_expression_cell.cpp.

◆ setExpression()

void EvenOddExpressionCell::setExpression ( Poincare::ExpressionLayout expressionLayout)

Definition at line 22 of file even_odd_expression_cell.cpp.

◆ setHighlighted()

void EvenOddExpressionCell::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from HighlightCell.

Definition at line 12 of file even_odd_expression_cell.cpp.

◆ setTextColor()

void EvenOddExpressionCell::setTextColor ( KDColor  textColor)

Definition at line 30 of file even_odd_expression_cell.cpp.

◆ subviewAtIndex()

View * EvenOddExpressionCell::subviewAtIndex ( int  index)
overridevirtual

Reimplemented from View.

Definition at line 42 of file even_odd_expression_cell.cpp.

Member Data Documentation

◆ m_expressionView

ExpressionView EvenOddExpressionCell::m_expressionView
protected

Definition at line 22 of file even_odd_expression_cell.h.


The documentation for this class was generated from the following files: