Dusk Audio Framework
Loading...
Searching...
No Matches
Widget::MotionEvent Struct Reference

#include <Widget.hpp>

Inheritance diagram for Widget::MotionEvent:
Widget::BaseEvent

Public Member Functions

 MotionEvent () noexcept
Public Member Functions inherited from Widget::BaseEvent
 BaseEvent () noexcept
virtual ~BaseEvent () noexcept

Public Attributes

Point< double > pos
Point< double > absolutePos
Public Attributes inherited from Widget::BaseEvent
uint mod
uint flags
uint time

Detailed Description

Mouse motion event.

See also
onMotion

Constructor & Destructor Documentation

◆ MotionEvent()

Widget::MotionEvent::MotionEvent ( )
inlinenoexcept

Constructor for default/null values

Member Data Documentation

◆ pos

Point<double> Widget::MotionEvent::pos

The widget-relative coordinates of the pointer.

◆ absolutePos

Point<double> Widget::MotionEvent::absolutePos

The absolute coordinates of the pointer.


The documentation for this struct was generated from the following file: