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.

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