tgui_input_color 
tgui_input_color
Datum used for instantiating and using a TGUI-controlled color picker.
Vars | |
autofocus | The bool that controls if this modal should grab window focus |
---|---|
choice | The color the user selected, null if no selection has been made |
closed | Boolean field describing if the tgui_input_color was closed by the user. |
default | The default choice, used if there is an existing value |
deletion_timer | The attached timer that handles this objects timeout deletion |
message | The message to show the user |
start_time | The time at which the tgui_input_color was created, for displaying timeout progress. |
state | The TGUI UI state that will be returned in ui_state(). Default: always_state |
timeout | The lifespan of the tgui_input_color, after which the window will close and delete itself. |
title | The title of the TGUI window |
Procs | |
wait | Waits for a user's response to the tgui_input_color's prompt before returning. Returns early if the window was closed by the user. |
Var Details
autofocus 
The bool that controls if this modal should grab window focus
choice 
The color the user selected, null if no selection has been made
closed 
Boolean field describing if the tgui_input_color was closed by the user.
default 
The default choice, used if there is an existing value
deletion_timer 
The attached timer that handles this objects timeout deletion
message 
The message to show the user
start_time 
The time at which the tgui_input_color was created, for displaying timeout progress.
state 
The TGUI UI state that will be returned in ui_state(). Default: always_state
timeout 
The lifespan of the tgui_input_color, after which the window will close and delete itself.
title 
The title of the TGUI window
Proc Details
wait
Waits for a user's response to the tgui_input_color's prompt before returning. Returns early if the window was closed by the user.