Crate flo_canvas_events

Crate flo_canvas_events 

Source
Expand description

§Events

flo_draw is currently based on glutin, but uses its own event structure: this is to make it so that it’s possible for future versions to replace glutin easily if that ever proves to be necessary, and to support easy porting of code using flo_draw to other windowing systems. This also isolates software implemented using flo_draw from changes to glutin.

Structs§

PointerId
A unique identifier assigned to a specific pointer on the system (a device that has a mouse and touch input might be tracking multiple pointer devices)
PointerState
Describes the state of a pointer device

Enums§

Button
The button on a mouse or other device
DrawEvent
Events that can arrive from a flo_draw window
Key
Represents a key
PointerAction
The action associated with a pointer event