formZ SDK | 5.0 API Reference | System | User Interface (FUIM)

# fz_fuim_new_anim_item

Description

Creates an animation dialog item for a set of other, previously created, dialog items. This is most commonly the case for a set of radio buttons, which represent one animated parameter. The radios buttons are created with , where the anim_flags has the FZ_FUIM_ANIM_FLAG_DEFER_BIT bit set. This causes the radio button to not show an animation item right next to it. The item ids returned by are stored in the grup_item_indx array, which is then passed to . Typically a layout is created so that the animation item is positioned to the right of the group of radio buttons. That means, that the radio buttons are grouped together and together with the animation item are placed in a horizopntal parent group. Note, that it is important, that all the radio buttons and are passed the same track uuid (parm_uuid).

Plugin Prototype

short fz_fuim_new_anim_item(

fz_fuim_tmpl_ptr | fuim_tmpl,
short | parent,
fzrt_int | grup_cnt,
short * | grup_item_indx,
fzrt_int | windex,
fz_fuim_anim_item_type_enum | item_type,
fz_tag_td * | item_tag,
fzrt_UUID_td | parm_uuid )

Parameters

fuim_tmpl [Input]

fuim manager

parent [Input]

parent group

grup_cnt [Input]

the number of items in the grup_item_indx array

grup_item_indx [Input]

an array with item ids, which are represented by the animation item.

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

animation item id

Availability

6.0.0.2

Function Set

fz_fuim_fset

Defined in

fz_fuim_api.h