Crate libscroll

Source
Expand description

This library serves as an event interpretation library. To use, you will need to take the raw events you recieve on your platform and adapt it to a compatible input interface. You are expected to call get_pan() once on every frame. It expects an estimation of the next frametime as well as how long until the current frame will be rendered. This allows overshoot calculation to take place.

Structs§

AxisVector
Describes a vector in terms of its 2 2d axis magnitudes, used often to describe transforms and offsets
Config
Scrollview
Represents a single scrollview and tracks all state related to it.

Enums§

Axis
Source
Pass along with any events to indicate what kind of device the event came from