Module direct_gui::controls [] [src]

Structs

Button

A button widget that can be rendered in multiple ways: Flat: using a simpel pixel rectangle algorithm. Image: using a spritesheet divided into 3 parts for rendering its state.

ControlState

Data that needs to be supplied to the update function.

Flat

The skin of the button is rendered by an algorithm.

Image

The skin of the button is a sprite.

Label

A text label widget using a font resource to render the text.

Enums

ButtonState

In what state the button currently is in as determined by the update function.

ControlType

Enum used to check what events should happen on certain controls.

Traits

Control