Numworks Epsilon  1.4.1
Graphing Calculator Operating System
ChevronView Class Reference

#include <chevron_view.h>

Inheritance diagram for ChevronView:
View

Public Member Functions

 ChevronView ()
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
KDSize minimalSizeForOptimalDisplay () const override
 
- 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)
 

Static Public Attributes

static constexpr KDCoordinate k_chevronHeight = 10
 
static constexpr KDCoordinate k_chevronWidth = 8
 

Additional Inherited Members

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

Detailed Description

Definition at line 6 of file chevron_view.h.

Constructor & Destructor Documentation

◆ ChevronView()

ChevronView::ChevronView ( )

Definition at line 17 of file chevron_view.cpp.

Member Function Documentation

◆ drawRect()

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

Reimplemented from View.

Definition at line 24 of file chevron_view.cpp.

◆ minimalSizeForOptimalDisplay()

KDSize ChevronView::minimalSizeForOptimalDisplay ( ) const
overridevirtual

Reimplemented from View.

Definition at line 35 of file chevron_view.cpp.

Member Data Documentation

◆ k_chevronHeight

constexpr KDCoordinate ChevronView::k_chevronHeight = 10
static

Definition at line 12 of file chevron_view.h.

◆ k_chevronWidth

constexpr KDCoordinate ChevronView::k_chevronWidth = 8
static

Definition at line 13 of file chevron_view.h.


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