Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <switch_view.h>
Public Member Functions | |
SwitchView () | |
bool | state () |
void | setState (bool state) |
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_onOffSize = 12 |
static constexpr KDCoordinate | k_switchHeight = 12 |
static constexpr KDCoordinate | k_switchWidth = 22 |
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 switch_view.h.
SwitchView::SwitchView | ( | ) |
Definition at line 35 of file switch_view.cpp.
Reimplemented from View.
Definition at line 52 of file switch_view.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 68 of file switch_view.cpp.
void SwitchView::setState | ( | bool | state | ) |
Definition at line 45 of file switch_view.cpp.
bool SwitchView::state | ( | ) |
Definition at line 41 of file switch_view.cpp.
|
static |
Definition at line 15 of file switch_view.h.
|
static |
Definition at line 16 of file switch_view.h.
|
static |
Definition at line 17 of file switch_view.h.