Numworks Epsilon  1.4.1
Graphing Calculator Operating System
EvenOddCell Class Reference

#include <even_odd_cell.h>

Inheritance diagram for EvenOddCell:
HighlightCell View Calculation::HistoryViewCell Calculation::OutputExpressionsView EvenOddBufferTextCell EvenOddCellWithEllipsis EvenOddDoubleBufferTextCell EvenOddEditableTextCell EvenOddExpressionCell EvenOddMessageTextCell Shared::FunctionExpressionCell Shared::FunctionTitleCell Shared::NewFunctionCell

Public Member Functions

 EvenOddCell ()
 
virtual void setEven (bool even)
 
virtual KDColor backgroundColor () const
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
- Public Member Functions inherited from HighlightCell
 HighlightCell ()
 
virtual void setHighlighted (bool highlight)
 
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

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_cell.h.

Constructor & Destructor Documentation

◆ EvenOddCell()

EvenOddCell::EvenOddCell ( )

Definition at line 4 of file even_odd_cell.cpp.

Member Function Documentation

◆ backgroundColor()

KDColor EvenOddCell::backgroundColor ( ) const
virtual

Reimplemented in Calculation::HistoryViewCell, and Calculation::OutputExpressionsView.

Definition at line 17 of file even_odd_cell.cpp.

◆ drawRect()

void EvenOddCell::drawRect ( KDContext ctx,
KDRect  rect 
) const
overridevirtual

Reimplemented from View.

Definition at line 24 of file even_odd_cell.cpp.

◆ setEven()

Member Data Documentation

◆ m_even

bool EvenOddCell::m_even
protected

Definition at line 13 of file even_odd_cell.h.


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