|
LuciadCPillar 2025.0.07
|
Implementation of luciad::IInputEvent that represents a drag gesture.
More...
#include <luciad/input/IInputEvent.h>
Public Member Functions | |
| DragEvent (Coordinate location, EventStatus status, Coordinate startLocation) | |
| Creates a drag event. More... | |
| Coordinate | getLocation () const noexcept |
| Returns the position of the event. More... | |
| virtual ModifierKeys | getModifierKeys () const noexcept |
| Returns the modifier keys. More... | |
| Coordinate | getStartLocation () const noexcept |
| Returns the initial location of the entire drag gesture. More... | |
| EventStatus | getStatus () const noexcept |
| Returns the status of the event. More... | |
Public Member Functions inherited from luciad::IInputEvent | |
| virtual | ~IInputEvent ()=default |
Implementation of luciad::IInputEvent that represents a drag gesture.
This class contains the current mouse location, the start location and the status of the drag gesture.
|
inline |
Creates a drag event.
| location | The current event location, defined in device independent pixels. |
| status | The event status. |
| startLocation | The location of the first event for this gesture. |
|
inlinenoexcept |
Returns the position of the event.
The location is defined in device independent pixel coordinates with top-left corner of the map being the (0,0) position.
|
inlinevirtualnoexcept |
|
inlinenoexcept |
Returns the initial location of the entire drag gesture.
The location is defined in screen coordinates with top-left corner of the map being the (0,0) position.
|
inlinenoexcept |
Returns the status of the event.