Graphics::VirtualTouch Class Reference
#include <VirtualTouch.h>
Inheritance diagram for Graphics::VirtualTouch:
Collaboration diagram for Graphics::VirtualTouch:
Public Member Functions | |
| VirtualTouch (Display::Virtual &display) | |
| bool | begin () |
| void | end () |
| Size | getNativeSize () const override |
| Get physical size of display. More... | |
| State | getState () const override |
| Get current state. More... | |
Public Member Functions inherited from Graphics::Touch | |
| Touch (Device *device=nullptr) | |
| virtual bool | setOrientation (Orientation orientation) |
| Set display orientation. More... | |
| virtual void | setCallback (Callback callback) |
| Register callback to be invoked when state changes. More... | |
| Size | getSize () const |
| Get native dimensions for current orientation. More... | |
| Orientation | getOrientation () |
| Get current display orientation. More... | |
| void | setCalibration (const Calibration &cal) |
| Point | translate (Point rawPos) |
| Translate position into screen co-ordinates. More... | |
Additional Inherited Members | |
Public Types inherited from Graphics::Touch | |
| using | Callback = Delegate< void()> |
| Callback function. More... | |
Protected Attributes inherited from Graphics::Touch | |
| Device * | device |
| Orientation | orientation {} |
| Calibration | calibration |
| Callback | callback |
Constructor & Destructor Documentation
◆ VirtualTouch()
| Graphics::VirtualTouch::VirtualTouch | ( | Display::Virtual & | display | ) |
Member Function Documentation
◆ begin()
|
inline |
◆ end()
|
inline |
◆ getNativeSize()
|
overridevirtual |
Get physical size of display.
- Return values
-
Size Dimensions for NORMAL orientation
Implements Graphics::Touch.
◆ getState()
|
inlineoverridevirtual |
Get current state.
Implements Graphics::Touch.
The documentation for this class was generated from the following file:
Public Member Functions inherited from
1.9.1