|
Dusk Audio Framework
|
#include <Widget.hpp>
Public Member Functions | |
| MouseEvent () noexcept | |
| Public Member Functions inherited from Widget::BaseEvent | |
| BaseEvent () noexcept | |
| virtual | ~BaseEvent () noexcept |
Public Attributes | |
| uint | button |
| bool | press |
| Point< double > | pos |
| Point< double > | absolutePos |
| Public Attributes inherited from Widget::BaseEvent | |
| uint | mod |
| uint | flags |
| uint | time |
Mouse press or release event.
|
inlinenoexcept |
Constructor for default/null values
| uint Widget::MouseEvent::button |
The button number starting from 1.
| bool Widget::MouseEvent::press |
True if the button was pressed, false if released.
| Point<double> Widget::MouseEvent::pos |
The widget-relative coordinates of the pointer.
| Point<double> Widget::MouseEvent::absolutePos |
The absolute coordinates of the pointer.