Button

A clickable button

Constructors

this
this()
Undocumented in source.
this
this(Rectangle area, Vector position, Texture tex, Texture hover, Texture press)

Defines a button

Members

Functions

draw
bool draw(Window window)

Draw a button and return if it is pressed

Variables

area
Rectangle area;
hover
Texture hover;
Undocumented in source.
position
Vector position;
press
Texture press;
Undocumented in source.
tex
Texture tex;
Undocumented in source.

Meta