doodle.interact.algebra

Type members

Classlikes

trait MouseClick[Canvas]

Algebra for generating a stream of events corresponding to mouse clicks. Whenever the mouse is clicked a new event is generated with the location of the click.

Algebra for generating a stream of events corresponding to mouse clicks. Whenever the mouse is clicked a new event is generated with the location of the click.

This algebra applies to a Renderer's Canvas data types instead of the F data type, and hence gives mouse click locations in the canvas rather than relative to any Picture rendered on the Canvas.

trait MouseMove[Canvas]

Algebra for generating a stream of events giving the current mouse location. Whenever the mouse moves a new event is generated. The algebra applies to a Renderer's Canvas data type instead of the F data type, and hence gives the mouse location in the canvas rather than relative to any Picture rendered on the canvas.

Algebra for generating a stream of events giving the current mouse location. Whenever the mouse moves a new event is generated. The algebra applies to a Renderer's Canvas data type instead of the F data type, and hence gives the mouse location in the canvas rather than relative to any Picture rendered on the canvas.

trait MouseOver[F[_]] extends Algebra[F]

Algebra for elements that can respond to Mouseover events

Algebra for elements that can respond to Mouseover events

trait Redraw[Canvas]

Algebra for generating a stream of events indicating when the canvas is ready to redraw. The algebra applies to a Renderer's Canvas data type instead of the F data type.

Algebra for generating a stream of events indicating when the canvas is ready to redraw. The algebra applies to a Renderer's Canvas data type instead of the F data type.