Ultralight
1.0.0
A fast, lightweight, HTML UI engine for native apps.
|
A generic scroll event. More...
#include <ScrollEvent.h>
Public Types | |
enum | Type { kType_ScrollByPixel, kType_ScrollByPage } |
The scroll event granularity type. More... | |
Public Attributes | |
Type | type |
Scroll granularity type. | |
int | delta_x |
Horizontal scroll amount. | |
int | delta_y |
Vertical scroll amount. | |
A generic scroll event.
Definition at line 24 of file ScrollEvent.h.
The scroll event granularity type.
Enumerator | |
---|---|
kType_ScrollByPixel | The delta value is interpreted as number of pixels. |
kType_ScrollByPage | The delta value is interpreted as number of pages. |
Definition at line 29 of file ScrollEvent.h.