DISTRHO Plugin Framework
|
#include <Widget.hpp>
Public Member Functions | |
ScrollEvent () noexcept | |
![]() | |
BaseEvent () noexcept | |
virtual | ~BaseEvent () noexcept |
Public Attributes | |
Point< double > | pos |
Point< double > | delta |
ScrollDirection | direction |
![]() | |
uint | mod |
uint | flags |
uint | time |
Mouse scroll event.
The scroll distance is expressed in "lines", an arbitrary unit that corresponds to a single tick of a detented mouse wheel. For example, delta.y
= 1.0 scrolls 1 line up. Some systems and devices support finer resolution and/or higher values for fast scrolls, so programs should handle any value gracefully.
pos The widget-relative coordinates of the pointer. delta The scroll distance. direction The direction of the scroll or "smooth".
|
inlinenoexcept |
Constuctor