Skip to contents

Value box control for float values.

Usage

gui_value_box_float(bounds, text, text_value, value, edit_mode)

Arguments

bounds

A rectangle.

text

A string.

text_value

A string (current text representation).

value

A number (current float value).

edit_mode

A logical.

Value

A list with result (integer), text_value (string), and value (number).

Examples

if (FALSE) {
gui_value_box_float(rectangle(10, 10, 100, 30), "Value:", "0.0", 0.0, FALSE)
}