formZ SDK | 5.0 API Reference | System | User Interface (FUIM) | Templates
Description
Creates a new icon item.
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.
item_func is an optional function that is called to handle actions occurring to this item.
Plugin Prototype
short fz_fuim_new_icon_obsolete(
fuim_tmpl, | |
short | parent, |
short | id, |
fzrt_int | flags, |
floc, | |
fzrt_int | hpos, |
fzrt_int | vpos, |
floc_mask, | |
fzrt_int | hpos_mask, |
fzrt_int | vpos_mask, |
item_func, | |
void * | item_data ) |
Parameters
fuim_tmpl [Input]
fuim manager
parent [Input]
parent group
id [Input]
icon item id
flags [Input]
construction flags
Bit Flag Type: fz_fuim_flag_enum
floc [Input]
file location of file which contains the icon.
hpos [Input]
left horizontal location of icon data in file.
vpos [Input]
top vertical location of icon data in file.
floc_mask [Input, Optional]
file location of file which contains the icon mask data.
hpos_mask [Input, Optional]
left horizontal location of icon mask data in file.
vpos_mask [Input, Optional]
top vertical location of icon mask data in file.
item_func [Input, Optional]
item function
item_data [Input, Optional]
data to pass to item function
if item_func is NULL, this is ignored
Returns
Icon id
Availability
5.0.0.0
Function Set
Defined in