Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <gauge_view.h>
Public Member Functions | |
GaugeView () | |
float | level () |
void | setLevel (float level) |
void | setBackgroundColor (KDColor color) |
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 | |
View & | operator= (const View &other)=delete |
View & | operator= (View &&other)=delete |
void | resetSuperview () |
void | setSize (KDSize size) |
void | setFrame (KDRect frame) |
KDPoint | pointFromPointInView (View *view, KDPoint point) |
KDRect | bounds () const |
View * | subview (int index) |
Static Public Attributes | |
static constexpr KDCoordinate | k_indicatorDiameter = 10 |
Additional Inherited Members | |
Protected Member Functions inherited from View | |
void | markRectAsDirty (KDRect rect) |
Protected Attributes inherited from View | |
KDRect | m_frame |
Definition at line 6 of file gauge_view.h.
GaugeView::GaugeView | ( | ) |
Definition at line 17 of file gauge_view.cpp.
Reimplemented from View.
Definition at line 46 of file gauge_view.cpp.
float GaugeView::level | ( | ) |
Definition at line 24 of file gauge_view.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 58 of file gauge_view.cpp.
void GaugeView::setBackgroundColor | ( | KDColor | color | ) |
Definition at line 37 of file gauge_view.cpp.
void GaugeView::setLevel | ( | float | level | ) |
Definition at line 28 of file gauge_view.cpp.
|
static |
Definition at line 14 of file gauge_view.h.