|
LMMS
|
#include <pugl.h>
Public Attributes | |
| PuglEventType | type |
| PUGL_SCROLL | |
| PuglEventFlags | flags |
| Bitwise OR of PuglEventFlag values. | |
| double | time |
| Time in seconds. | |
| double | x |
| View-relative X coordinate. | |
| double | y |
| View-relative Y coordinate. | |
| double | xRoot |
| Root-relative X coordinate. | |
| double | yRoot |
| Root-relative Y coordinate. | |
| PuglMods | state |
| Bitwise OR of PuglMod flags. | |
| PuglScrollDirection | direction |
| Scroll direction. | |
| double | dx |
| Scroll X distance in lines. | |
| double | dy |
| Scroll Y distance in lines. | |
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, dy = 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.
| PuglScrollDirection PuglScrollEvent::direction |
Scroll direction.
| double PuglScrollEvent::dx |
Scroll X distance in lines.
| double PuglScrollEvent::dy |
Scroll Y distance in lines.
| PuglEventFlags PuglScrollEvent::flags |
Bitwise OR of PuglEventFlag values.
| double PuglScrollEvent::time |
Time in seconds.
| PuglEventType PuglScrollEvent::type |
| double PuglScrollEvent::x |
View-relative X coordinate.
| double PuglScrollEvent::xRoot |
Root-relative X coordinate.
| double PuglScrollEvent::y |
View-relative Y coordinate.
| double PuglScrollEvent::yRoot |
Root-relative Y coordinate.