formZ SDK | 5.0 API Reference | System | User Interface (FUIM)
Description
Creates a new color picker item (using a float for the color). Item represent a
color parameter that can be animated.
The animation item is shown as a small dot behind the color box, which
pops a menu, when clicked on. The menu items allow the user to control the animation status of the parameter.
See fz_fuim_new_color_box for a full description of the color item.
This function is the same as fz_fuim_new_color_box_anim, except that
it takes an item function and and item data argument, as other
fuim item creation functions. Note, that the item function is called
less frequently for a color box. Its main use is for the FZ_FUIM_ACTN_NEW_VALUE
action, which indicates, that the color was changed. Other actions
are currently not supported.
Plugin Prototype
short fz_fuim_new_color_box_anim2(
fuim_tmpl, | |
short | parent, |
short | id, |
fzrt_int | flags, |
char * | picker_title, |
float * | col, |
item_func, | |
void * | item_data, |
fzrt_int | anim_flags, |
fzrt_int | windex, |
item_type, | |
item_tag, | |
parm_uuid ) |
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
item_func [Input, Optional]
item function
item_data [Input, Optional]
data to pass to item function
anim_flags [Input]
bit encoded flag, that determine the appearance of the animation item.
Bit Flag Type: The flags are defined by fz_fuim_anim_flags_enum.
windex [Input]
The project, in which the animated entity exists
item_type [Input]
The type of entity that is animated
item_tag [Input]
The tag reference of the animated entity
parm_uuid [Input]
The uuid of the track (entity parameter), which is animated
Returns
item id of the color box
Availability
6.5.4.0
See Also
Function Set
Defined in