Carousel

A rotating selection of options

Constructors

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

Create a carousel with a given set of options

Members

Functions

draw
int draw(Window window, int current)

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

Variables

left
Button left;
Undocumented in source.
position
Vector position;
right
Button right;
Undocumented in source.
textures
const(Texture[]) textures;
Undocumented in source.

Meta