Numworks Epsilon  1.4.1
Graphing Calculator Operating System
EvenOddBufferTextCell Class Reference

#include <even_odd_buffer_text_cell.h>

Inheritance diagram for EvenOddBufferTextCell:
EvenOddCell HighlightCell View

Public Member Functions

 EvenOddBufferTextCell (KDText::FontSize size=KDText::FontSize::Small, float horizontalAlignment=1.0f, float verticalAlignment=0.5f)
 
const char * text ()
 
void setEven (bool even) override
 
void setHighlighted (bool highlight) override
 
void setText (const char *textContent)
 
void setTextColor (KDColor textColor)
 
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

BufferTextView m_bufferTextView
 
- 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_buffer_text_cell.h.

Constructor & Destructor Documentation

◆ EvenOddBufferTextCell()

EvenOddBufferTextCell::EvenOddBufferTextCell ( KDText::FontSize  size = KDText::FontSize::Small,
float  horizontalAlignment = 1.0f,
float  verticalAlignment = 0.5f 
)

Definition at line 4 of file even_odd_buffer_text_cell.cpp.

Member Function Documentation

◆ layoutSubviews()

void EvenOddBufferTextCell::layoutSubviews ( )
overridevirtual

Reimplemented from View.

Definition at line 41 of file even_odd_buffer_text_cell.cpp.

◆ numberOfSubviews()

int EvenOddBufferTextCell::numberOfSubviews ( ) const
overridevirtual

Reimplemented from View.

Definition at line 32 of file even_odd_buffer_text_cell.cpp.

◆ setEven()

void EvenOddBufferTextCell::setEven ( bool  even)
overridevirtual

Reimplemented from EvenOddCell.

Definition at line 19 of file even_odd_buffer_text_cell.cpp.

◆ setHighlighted()

void EvenOddBufferTextCell::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from HighlightCell.

Definition at line 14 of file even_odd_buffer_text_cell.cpp.

◆ setText()

void EvenOddBufferTextCell::setText ( const char *  textContent)

Definition at line 24 of file even_odd_buffer_text_cell.cpp.

◆ setTextColor()

void EvenOddBufferTextCell::setTextColor ( KDColor  textColor)

Definition at line 28 of file even_odd_buffer_text_cell.cpp.

◆ subviewAtIndex()

View * EvenOddBufferTextCell::subviewAtIndex ( int  index)
overridevirtual

Reimplemented from View.

Definition at line 36 of file even_odd_buffer_text_cell.cpp.

◆ text()

const char * EvenOddBufferTextCell::text ( )

Definition at line 10 of file even_odd_buffer_text_cell.cpp.

Member Data Documentation

◆ m_bufferTextView

BufferTextView EvenOddBufferTextCell::m_bufferTextView
protected

Definition at line 20 of file even_odd_buffer_text_cell.h.


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