12#include <ds_geometry.h>
88 case Type::PAINT: params.paint = rhs.params.paint;
break;
89 case Type::TOUCH: params.touch = rhs.params.touch;
break;
90 case Type::KEYBOARD: params.key = rhs.params.key;
break;
91 case Type::LAMBDA: params.cb = rhs.params.cb;
break;
103 case Type::PAINT: params.paint = rhs.params.paint;
break;
104 case Type::TOUCH: params.touch = rhs.params.touch;
break;
105 case Type::KEYBOARD: params.key = rhs.params.key;
break;
106 case Type::LAMBDA: params.cb = rhs.params.cb;
break;
DsPoint is a class that represents the X and Y 2D coordinates of a point as integer numbers.
Definition ds_geometry.h:24
DsRect is a class that represents a 2D rectangle (X, Y, W, H)
Definition ds_geometry.h:1507
Definition ds_types_lambda.h:24
This structure implements a touch event.
Definition ds_event.h:25
uint32_t timestamp
Timestamp in ms.
Definition ds_event.h:40
Mode
Enumeration defining all touch modes.
Definition ds_event.h:30
@ ENTER
The user is dragging - touch point entered the view.
@ OFF
The user lifted it's finger from the screen.
@ ON
The user just touched the screen.
@ EXIT
The user is dragging - touch point exited the view.
@ CONTACT
The user is holding the finger on the screen (dragging)
Mode mode
Touch mode.
Definition ds_event.h:38
DsPoint pos
Position in the current view coodrinates.
Definition ds_event.h:39