|
DISTRHO Plugin Framework
|
#include <Widget.hpp>
Public Member Functions | |
| ScrollEvent () noexcept | |
Public Member Functions inherited from Widget::BaseEvent | |
| BaseEvent () noexcept | |
| virtual | ~BaseEvent () noexcept |
Public Attributes | |
| Point< double > | pos |
| Point< double > | absolutePos |
| Point< double > | delta |
| ScrollDirection | direction |
Public Attributes inherited from Widget::BaseEvent | |
| 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. absolutePos The absolute coordinates of the pointer. delta The scroll distance. direction The direction of the scroll or "smooth".
|
inlinenoexcept |
Constuctor
1.8.17