ZForms documentation/TextInput

A simple button element. Can be used for runtime-composited multi-texture buttons or single-texture.

Usage
Configures the input's member variables.

Parameters

 * fnt: The font to use.
 * textScale: The scale to display the text at.
 * textColor: The color to display the text with.
 * background: The background box. Set to NULL for no background.
 * multiline: Whether the text input should act as a single-line field or multi-line box.
 * cmdHandler: The command handler to send text change and exit events.
 * command: The command to use for the handler.

Usage
Creates a TextInput element.

Parameters

 * pos: The element's XY coords.
 * size: The element's size.
 * fnt: The font to use.
 * textScale: The scale to display the text at.
 * textColor: The color to display the text with.
 * background: The background box. Set to NULL for no background.
 * multiline: Whether the text input should act as a single-line field or multi-line box.
 * cmdHandler: The command handler to send text change and exit events.
 * command: The command to use for the handler.