Button.this

Defines a button

struct Button
@nogc nothrow
this

Parameters

area
Type: Rectangle

The clickable region of the button

position
Type: Vector

The spot to draw the button

tex
Type: Texture

The default texture of the button

hover
Type: Texture

The texture when the button is hovered over

press
Type: Texture

The texture when the button is pressed down

Meta