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

#include <function_title_cell.h>

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

Public Types

enum  Orientation { Orientation::HorizontalIndicator, Orientation::VerticalIndicator }
 

Public Member Functions

 FunctionTitleCell (Orientation orientation)
 
virtual void setColor (KDColor color)
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
- Public Member Functions inherited from EvenOddCell
 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

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

static constexpr KDCoordinate k_separatorThickness = 1
 
static constexpr KDCoordinate k_colorIndicatorThickness = 2
 

Additional Inherited Members

- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 

Detailed Description

Definition at line 8 of file function_title_cell.h.

Member Enumeration Documentation

◆ Orientation

Enumerator
HorizontalIndicator 
VerticalIndicator 

Definition at line 10 of file function_title_cell.h.

Constructor & Destructor Documentation

◆ FunctionTitleCell()

Shared::FunctionTitleCell::FunctionTitleCell ( Orientation  orientation)

Definition at line 6 of file function_title_cell.cpp.

Member Function Documentation

◆ drawRect()

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

Reimplemented from View.

Definition at line 17 of file function_title_cell.cpp.

◆ setColor()

void Shared::FunctionTitleCell::setColor ( KDColor  color)
virtual

Reimplemented in Sequence::SequenceTitleCell, and Graph::FunctionTitleCell.

Definition at line 12 of file function_title_cell.cpp.

Member Data Documentation

◆ k_colorIndicatorThickness

constexpr KDCoordinate Shared::FunctionTitleCell::k_colorIndicatorThickness = 2
staticprotected

Definition at line 19 of file function_title_cell.h.

◆ k_separatorThickness

constexpr KDCoordinate Shared::FunctionTitleCell::k_separatorThickness = 1
staticprotected

Definition at line 18 of file function_title_cell.h.

◆ m_orientation

Orientation Shared::FunctionTitleCell::m_orientation
protected

Definition at line 20 of file function_title_cell.h.


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