formZ SDK | 5.0 API Reference | System | User Interface (FUIM) | Templates
Description
Creates a new color picker item (using a float for the color).
Pass FZ_FUIM_NONE for id to not assign a specific item id.
An id will be created and assigned to the item.
Pass FZ_FUIM_ROOT for parent if there is no parent group.
Plugin Prototype
short fz_fuim_new_color_box(
fuim_tmpl, | |
short | parent, |
short | id, |
fzrt_int | flags, |
char * | picker_title, |
float * | col ) |
Parameters
fuim_tmpl [Input]
fuim manager
parent [Input]
parent group
id [Input]
color picker item id
flags [Input]
construction flags
Bit Flag Type: fz_fuim_flag_enum
picker_title [Input]
[Input, Optional]
Default Value: a color picker item without a name is created
col [Input]
color
Returns
Color picker item id
Availability
5.0.0.0
See Also
Function Set
Defined in