#include <Widget.hpp>
Mouse press or release event.
- See also
- onMouse
◆ MouseEvent()
Widget::MouseEvent::MouseEvent |
( |
| ) |
|
|
inlinenoexcept |
Constructor for default/null values
◆ button
uint Widget::MouseEvent::button |
The button number starting from 1.
- See also
- MouseButton
◆ press
bool Widget::MouseEvent::press |
True if the button was pressed, false if released.
◆ pos
Point<double> Widget::MouseEvent::pos |
The widget-relative coordinates of the pointer.
◆ absolutePos
Point<double> Widget::MouseEvent::absolutePos |
The absolute coordinates of the pointer.
The documentation for this struct was generated from the following file: