Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Graph::FunctionTitleCell Class Reference

#include <function_title_cell.h>

Inheritance diagram for Graph::FunctionTitleCell:
Shared::FunctionTitleCell EvenOddCell HighlightCell View

Public Member Functions

 FunctionTitleCell (Orientation orientation, KDText::FontSize size=KDText::FontSize::Large)
 
void setEven (bool even) override
 
void setHighlighted (bool highlight) override
 
void setColor (KDColor color) override
 
void setText (const char *textContent)
 
int numberOfSubviews () const override
 
ViewsubviewAtIndex (int index) override
 
void layoutSubviews () override
 
- Public Member Functions inherited from Shared::FunctionTitleCell
 FunctionTitleCell (Orientation orientation)
 
void drawRect (KDContext *ctx, KDRect rect) const 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
 

Additional Inherited Members

- Public Types inherited from Shared::FunctionTitleCell
enum  Orientation { Orientation::HorizontalIndicator, Orientation::VerticalIndicator }
 
- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 
- Protected Attributes inherited from Shared::FunctionTitleCell
Orientation m_orientation
 
- Protected Attributes inherited from EvenOddCell
bool m_even
 
- Protected Attributes inherited from HighlightCell
bool m_highlighted
 
- Protected Attributes inherited from View
KDRect m_frame
 
- Static Protected Attributes inherited from Shared::FunctionTitleCell
static constexpr KDCoordinate k_separatorThickness = 1
 
static constexpr KDCoordinate k_colorIndicatorThickness = 2
 

Detailed Description

Definition at line 8 of file function_title_cell.h.

Constructor & Destructor Documentation

◆ FunctionTitleCell()

Graph::FunctionTitleCell::FunctionTitleCell ( Orientation  orientation,
KDText::FontSize  size = KDText::FontSize::Large 
)

Definition at line 8 of file function_title_cell.cpp.

Member Function Documentation

◆ layoutSubviews()

void Graph::FunctionTitleCell::layoutSubviews ( )
overridevirtual

Reimplemented from View.

Definition at line 42 of file function_title_cell.cpp.

◆ numberOfSubviews()

int Graph::FunctionTitleCell::numberOfSubviews ( ) const
overridevirtual

Reimplemented from View.

Definition at line 33 of file function_title_cell.cpp.

◆ setColor()

void Graph::FunctionTitleCell::setColor ( KDColor  color)
overridevirtual

Reimplemented from Shared::FunctionTitleCell.

Definition at line 24 of file function_title_cell.cpp.

◆ setEven()

void Graph::FunctionTitleCell::setEven ( bool  even)
overridevirtual

Reimplemented from EvenOddCell.

Definition at line 19 of file function_title_cell.cpp.

◆ setHighlighted()

void Graph::FunctionTitleCell::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from HighlightCell.

Definition at line 14 of file function_title_cell.cpp.

◆ setText()

void Graph::FunctionTitleCell::setText ( const char *  textContent)

Definition at line 29 of file function_title_cell.cpp.

◆ subviewAtIndex()

View * Graph::FunctionTitleCell::subviewAtIndex ( int  index)
overridevirtual

Reimplemented from View.

Definition at line 37 of file function_title_cell.cpp.


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