Button

A clickable button

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 Rectangle area, in Vector position, in Texture tex, in Texture hover, in Texture press)

Defines a button

Members

Functions

draw
bool draw(ref scope Window window)

Draw a button and return if it is pressed

Meta