Carousel

A rotating selection of options

Disabled Default Constructor

A disabled default is present on this object. To use it, use one of the other constructors or a factory function.

Constructors

this
this(in Button left, in Button right, in Vector currentItemPosition, in Texture[] textures)

Create a carousel with a given set of options

Members

Functions

draw
int draw(ref scope Window window, in int current)

Draw a carousel with a given current index and return the new index

Meta