LuciadCPillar 2023.1.04
|
Specialization of the luciad::ClickEvent
for the mouse.
More...
#include <luciad/input/mouse/MouseEvents.h>
Public Member Functions | |
MouseClickEvent (Coordinate location, size_t clickCount, ModifierKeys modifierKeys, MouseButton mouseButton) | |
Creates a click event for a mouse. More... | |
MouseButton | getMouseButton () const noexcept |
Public Member Functions inherited from luciad::ClickEvent | |
ClickEvent (Coordinate location, size_t clickCount) | |
Creates an event representing a click. More... | |
ClickEvent (Coordinate location, size_t clickCount, ModifierKeys modifierKeys) | |
Creates an event representing a click. More... | |
size_t | getClickCount () const noexcept |
Coordinate | getLocation () const noexcept |
ModifierKeys | getModifierKeys () const noexcept |
Public Member Functions inherited from luciad::IInputEvent | |
virtual | ~IInputEvent ()=default |
Specialization of the luciad::ClickEvent
for the mouse.
This class contains the mouse button and the modifiers if any.
|
inline |
Creates a click event for a mouse.
location | The location of the event, defined in device independent pixels. |
clickCount | The number of clicks. |
modifierKeys | The modifiers of the event. |
mouseButton | The mouse button of the event. |
|
inlinenoexcept |