Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <key_view.h>
Public Types | |
enum | Type { Type::Up, Type::Down, Type::Left, Type::Right, Type::Plus, Type::Minus } |
Public Member Functions | |
KeyView (Type type=Type::Up) | |
void | setType (Type type) |
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_keySize = 8 |
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 key_view.h.
|
strong |
Enumerator | |
---|---|
Up | |
Down | |
Left | |
Right | |
Plus | |
Minus |
Definition at line 8 of file key_view.h.
Definition at line 69 of file key_view.cpp.
Reimplemented from View.
Definition at line 82 of file key_view.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 90 of file key_view.cpp.
void KeyView::setType | ( | Type | type | ) |
Definition at line 75 of file key_view.cpp.
|
static |
Definition at line 20 of file key_view.h.