Numworks Epsilon  1.4.1
Graphing Calculator Operating System
SolidColorView Class Reference

#include <solid_color_view.h>

Inheritance diagram for SolidColorView:
View

Public Member Functions

 SolidColorView (KDColor color)
 
virtual void setColor (KDColor color)
 
void drawRect (KDContext *ctx, KDRect rect) 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)
 
virtual KDSize minimalSizeForOptimalDisplay () const
 

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

Constructor & Destructor Documentation

◆ SolidColorView()

SolidColorView::SolidColorView ( KDColor  color)

Definition at line 3 of file solid_color_view.cpp.

Member Function Documentation

◆ drawRect()

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

Reimplemented from View.

Definition at line 16 of file solid_color_view.cpp.

◆ setColor()

void SolidColorView::setColor ( KDColor  color)
virtual

Definition at line 9 of file solid_color_view.cpp.


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