The UI library provides factories for creating native UI elments like text fields and labels.
| ui | The UI library provides factories for creating native UI elments like text fields and labels. |
| Functions | |
| ui. | Creates a label Node. |
| ui. | Creates a text field for user input. |
function ui.newLabel( font )
Creates a label Node.
| font | The name of the font to use for the label. |
The created label.
See also: text_field
function ui.newTextField( x, y, widht, height, font-string )
Creates a text field for user input.
| x | The x position of the center of the text field. |
| y | The y position of the center of the text field. |
| width | The width of the text field. |
| height | The height of the text field. |
| font-string | The name of the font for the text field. |
The created text field.
Creates a label Node.
function ui.newLabel( font )
Creates a text field for user input.
function ui.newTextField( x, y, widht, height, font-string )