Numworks Epsilon  1.4.1
Graphing Calculator Operating System
EvenOddMessageTextCell Class Reference

#include <even_odd_message_text_cell.h>

Inheritance diagram for EvenOddMessageTextCell:
EvenOddCell HighlightCell View

Public Member Functions

 EvenOddMessageTextCell (KDText::FontSize size=KDText::FontSize::Large)
 
void setEven (bool even) override
 
void setHighlighted (bool highlight) override
 
void setMessage (I18n::Message textContent, KDColor textColor=KDColorBlack)
 
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)
 
virtual KDSize minimalSizeForOptimalDisplay () const
 

Protected Attributes

MessageTextView m_messageTextView
 
- 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 8 of file even_odd_message_text_cell.h.

Constructor & Destructor Documentation

◆ EvenOddMessageTextCell()

EvenOddMessageTextCell::EvenOddMessageTextCell ( KDText::FontSize  size = KDText::FontSize::Large)

Definition at line 4 of file even_odd_message_text_cell.cpp.

Member Function Documentation

◆ layoutSubviews()

void EvenOddMessageTextCell::layoutSubviews ( )
overridevirtual

Reimplemented from View.

Definition at line 38 of file even_odd_message_text_cell.cpp.

◆ numberOfSubviews()

int EvenOddMessageTextCell::numberOfSubviews ( ) const
overridevirtual

Reimplemented from View.

Definition at line 29 of file even_odd_message_text_cell.cpp.

◆ setAlignment()

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

Definition at line 25 of file even_odd_message_text_cell.cpp.

◆ setEven()

void EvenOddMessageTextCell::setEven ( bool  even)
overridevirtual

Reimplemented from EvenOddCell.

Definition at line 15 of file even_odd_message_text_cell.cpp.

◆ setHighlighted()

void EvenOddMessageTextCell::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from HighlightCell.

Definition at line 10 of file even_odd_message_text_cell.cpp.

◆ setMessage()

void EvenOddMessageTextCell::setMessage ( I18n::Message  textContent,
KDColor  textColor = KDColorBlack 
)

Definition at line 20 of file even_odd_message_text_cell.cpp.

◆ subviewAtIndex()

View * EvenOddMessageTextCell::subviewAtIndex ( int  index)
overridevirtual

Reimplemented from View.

Definition at line 33 of file even_odd_message_text_cell.cpp.

Member Data Documentation

◆ m_messageTextView

MessageTextView EvenOddMessageTextCell::m_messageTextView
protected

Definition at line 19 of file even_odd_message_text_cell.h.


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