Module nannou::ui::widget::matrix[][src]

Expand description

A helper widget for laying out child widgets in the form of a grid.

Structs

Data necessary for instantiating a widget for a single Matrix element.

The event type yielded by the Matrix.

Draw a matrix of any rectangular widget type, where the matrix will provide a function with the widget number, it’s rows and cols position, the width and height for the widget and the location at which the widget should be drawn.

The state of the Matrix, to be cached within the Ui’s widget Graph.

Unique styling for the Matrix.

Type Definitions

A column index.

The height of an element.

The position of an element along the x axis.

The position of an element along the y axis.

A row index.

The number of the widget.

The width of an element.