Loading...
Searching...
No Matches
ScrollEvent

#include <Ultralight/ScrollEvent.h>

Overview

Scroll event representing a change in scroll state.

See also
View::FireScrollEvent

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.
 

Member Enumeration Documentation

◆ Type

enum Type

The scroll event granularity type.

Enumerator
kType_ScrollByPixel 

The delta value will be interpreted as number of pixels to scroll.

kType_ScrollByPage 

The delta value will be interpreted as number of pages to scroll.

Member Data Documentation

◆ delta_x

int delta_x

Horizontal scroll amount.

◆ delta_y

int delta_y

Vertical scroll amount.

◆ type

Type type

Scroll granularity type.


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