![]() |
Louvre
v2.9.0-1
C++ library for Wayland compositors
|
Pointer swipe update gesture event. More...
Public Member Functions | |
LPointerSwipeUpdateEvent (UInt32 fingers=0, const LPointF &delta=LPointF(0.f, 0.f), const LPointF &deltaUnaccelerated=LPointF(0.f, 0.f), UInt32 serial=LTime::nextSerial(), UInt32 ms=LTime::ms(), UInt64 us=LTime::us(), LInputDevice *device=nullptr) noexcept | |
Constructs an LPointerSwipeUpdateEvent object. More... | |
void | setFingers (UInt32 fingers) noexcept |
Sets the number of fingers involved in the swipe gesture. More... | |
UInt32 | fingers () const noexcept |
Gets the number of fingers involved in the swipe gesture. More... | |
void | setDelta (const LPointF &delta) noexcept |
Sets the change in position of the swipe gesture. More... | |
void | setDx (Float32 dx) noexcept |
Sets the change in position of the swipe gesture along the X-axis. More... | |
void | setDy (Float32 dy) noexcept |
Sets the change in position of the swipe gesture along the Y-axis. More... | |
const LPointF & | delta () const noexcept |
Gets the change in position of the swipe gesture. More... | |
void | setDeltaUnaccelerated (const LPointF &deltaUnaccelerated) noexcept |
Sets the unaccelerated change in position of the swipe gesture. More... | |
void | setDxUnaccelerated (Float32 dx) noexcept |
Sets the unaccelerated change in position of the swipe gesture along the X-axis. More... | |
void | setDyUnaccelerated (Float32 dy) noexcept |
Sets the unaccelerated change in position of the swipe gesture along the Y-axis. More... | |
const LPointF & | deltaUnaccelerated () const noexcept |
Gets the unaccelerated change in position of the swipe gesture. More... | |
![]() | |
void | setDevice (LInputDevice *device) noexcept |
Sets the input device that originated the event. More... | |
LInputDevice * | device () const noexcept |
Gets the input device that originated this event. More... | |
![]() | |
~LEvent () noexcept=default | |
Destructor. More... | |
Type | type () const noexcept |
Retrieves the type of the event. More... | |
Subtype | subtype () const noexcept |
Retrieves the subtype of the event. More... | |
void | setSerial (UInt32 serial) noexcept |
Sets the serial of the event. More... | |
UInt32 | serial () const noexcept |
Retrieves the serial of the event. More... | |
void | setMs (UInt32 ms) noexcept |
Sets the time the event was generated in milliseconds. More... | |
UInt32 | ms () const noexcept |
Retrieves the time the event was generated in milliseconds. More... | |
void | setUs (UInt32 us) noexcept |
Sets the time the event was generated in microseconds. More... | |
UInt64 | us () const noexcept |
Retrieves the time the event was generated in microseconds. More... | |
LEvent * | copy () const noexcept |
Creates a deep copy of the event. More... | |
Additional Inherited Members | |
![]() | |
enum class | Type : UInt8 |
Defines the type of event. More... | |
enum class | Subtype : UInt8 |
Defines the subtype of event. More... | |
Pointer swipe update gesture event.
|
inlinenoexcept |
Constructs an LPointerSwipeUpdateEvent object.
fingers | The number of fingers involved in the swipe gesture. |
delta | The change in position of the swipe gesture. |
deltaUnaccelerated | The unaccelerated change in position of the swipe gesture. |
serial | The serial number of the event. |
ms | The millisecond timestamp of the event. |
us | The microsecond timestamp of the event. |
device | The input device that originated the event. |
|
inlinenoexcept |
Sets the number of fingers involved in the swipe gesture.
|
inlinenoexcept |
Gets the number of fingers involved in the swipe gesture.
|
inlinenoexcept |
Sets the change in position of the swipe gesture.
|
inlinenoexcept |
Sets the change in position of the swipe gesture along the X-axis.
|
inlinenoexcept |
Sets the change in position of the swipe gesture along the Y-axis.
|
inlinenoexcept |
Gets the change in position of the swipe gesture.
|
inlinenoexcept |
Sets the unaccelerated change in position of the swipe gesture.
|
inlinenoexcept |
Sets the unaccelerated change in position of the swipe gesture along the X-axis.
|
inlinenoexcept |
Sets the unaccelerated change in position of the swipe gesture along the Y-axis.
|
inlinenoexcept |
Gets the unaccelerated change in position of the swipe gesture.