Numworks Epsilon  1.4.1
Graphing Calculator Operating System
EvenOddDoubleBufferTextCell Class Reference

#include <even_odd_double_buffer_text_cell.h>

Inheritance diagram for EvenOddDoubleBufferTextCell:
EvenOddCell Responder HighlightCell View

Public Member Functions

 EvenOddDoubleBufferTextCell (Responder *parentResponder=nullptr)
 
const char * firstText ()
 
const char * secondText ()
 
void reloadCell () override
 
void setHighlighted (bool highlight) override
 
Responderresponder () override
 
void setEven (bool even) override
 
bool firstTextSelected ()
 
void selectFirstText (bool selectFirstText)
 
void setFirstText (const char *textContent)
 
void setSecondText (const char *textContent)
 
void setTextColor (KDColor textColor)
 
int numberOfSubviews () const override
 
ViewsubviewAtIndex (int index) override
 
void layoutSubviews () override
 
bool handleEvent (Ion::Events::Event event) 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
 
- 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
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual void didBecomeFirstResponder ()
 
virtual void willResignFirstResponder ()
 
virtual void didEnterResponderChain (Responder *previousFirstResponder)
 
virtual void willExitResponderChain (Responder *nextFirstResponder)
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 

Protected Attributes

bool m_firstTextSelected
 
EvenOddBufferTextCell m_firstBufferTextView
 
EvenOddBufferTextCell m_secondBufferTextView
 
- 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 6 of file even_odd_double_buffer_text_cell.h.

Constructor & Destructor Documentation

◆ EvenOddDoubleBufferTextCell()

EvenOddDoubleBufferTextCell::EvenOddDoubleBufferTextCell ( Responder parentResponder = nullptr)

Definition at line 4 of file even_odd_double_buffer_text_cell.cpp.

Member Function Documentation

◆ firstText()

const char * EvenOddDoubleBufferTextCell::firstText ( )

Definition at line 13 of file even_odd_double_buffer_text_cell.cpp.

◆ firstTextSelected()

bool EvenOddDoubleBufferTextCell::firstTextSelected ( )

Definition at line 21 of file even_odd_double_buffer_text_cell.cpp.

◆ handleEvent()

bool EvenOddDoubleBufferTextCell::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 89 of file even_odd_double_buffer_text_cell.cpp.

◆ layoutSubviews()

void EvenOddDoubleBufferTextCell::layoutSubviews ( )
overridevirtual

Reimplemented from View.

Definition at line 82 of file even_odd_double_buffer_text_cell.cpp.

◆ numberOfSubviews()

int EvenOddDoubleBufferTextCell::numberOfSubviews ( ) const
overridevirtual

Reimplemented from View.

Definition at line 70 of file even_odd_double_buffer_text_cell.cpp.

◆ reloadCell()

void EvenOddDoubleBufferTextCell::reloadCell ( )
overridevirtual

Reimplemented from HighlightCell.

Definition at line 32 of file even_odd_double_buffer_text_cell.cpp.

◆ responder()

Responder* EvenOddDoubleBufferTextCell::responder ( )
inlineoverridevirtual

Reimplemented from HighlightCell.

Definition at line 13 of file even_odd_double_buffer_text_cell.h.

◆ secondText()

const char * EvenOddDoubleBufferTextCell::secondText ( )

Definition at line 17 of file even_odd_double_buffer_text_cell.cpp.

◆ selectFirstText()

void EvenOddDoubleBufferTextCell::selectFirstText ( bool  selectFirstText)

Definition at line 25 of file even_odd_double_buffer_text_cell.cpp.

◆ setEven()

void EvenOddDoubleBufferTextCell::setEven ( bool  even)
overridevirtual

Reimplemented from EvenOddCell.

Definition at line 51 of file even_odd_double_buffer_text_cell.cpp.

◆ setFirstText()

void EvenOddDoubleBufferTextCell::setFirstText ( const char *  textContent)

Definition at line 57 of file even_odd_double_buffer_text_cell.cpp.

◆ setHighlighted()

void EvenOddDoubleBufferTextCell::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from HighlightCell.

Definition at line 37 of file even_odd_double_buffer_text_cell.cpp.

◆ setSecondText()

void EvenOddDoubleBufferTextCell::setSecondText ( const char *  textContent)

Definition at line 61 of file even_odd_double_buffer_text_cell.cpp.

◆ setTextColor()

void EvenOddDoubleBufferTextCell::setTextColor ( KDColor  textColor)

Definition at line 65 of file even_odd_double_buffer_text_cell.cpp.

◆ subviewAtIndex()

View * EvenOddDoubleBufferTextCell::subviewAtIndex ( int  index)
overridevirtual

Reimplemented from View.

Definition at line 74 of file even_odd_double_buffer_text_cell.cpp.

Member Data Documentation

◆ m_firstBufferTextView

EvenOddBufferTextCell EvenOddDoubleBufferTextCell::m_firstBufferTextView
protected

Definition at line 28 of file even_odd_double_buffer_text_cell.h.

◆ m_firstTextSelected

bool EvenOddDoubleBufferTextCell::m_firstTextSelected
protected

Definition at line 27 of file even_odd_double_buffer_text_cell.h.

◆ m_secondBufferTextView

EvenOddBufferTextCell EvenOddDoubleBufferTextCell::m_secondBufferTextView
protected

Definition at line 29 of file even_odd_double_buffer_text_cell.h.


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