formZ SDK | 4.0 Call Back Reference | Command | System Command
Description
Command icon from file (Optional). This function is called by formZ to load an icon for the command from an image file. The image file can be in any supported image file format (or of an image format wich is support be a image file translator plugin). It is recommened to use the TIFF image format as it is a cross platform supported format and is always present. The source graphics are identified in the file by indicating the top left corner of the graphic in the file. In addition to the graphic, a mask can be provided for use when the icon is highlighted. A single file can be used for multiple icons across a variety of plugins by createing a grid of icons in the file and specifing the location for each icon.
Plugin Prototype
fzrt_error_td fz_cmnd_cbak_syst_icon_file_obsolete(
which, | |
floc, | |
fzrt_int * | hpos, |
fzrt_int * | vpos, |
floc_mask, | |
fzrt_int * | hpos_mask, |
fzrt_int * | vpos_mask ) |
Parameters
which [Input]
which style of icon to load.
floc [Result]
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 [Result, Optional]
file location of file which contains the icon mask data.
hpos_mask [Input]
left horizontal location of icon mask data in file.
vpos_mask [Input]
top vertical location of icon mask data in file.
Returns
Error codes
Availability
5.0.0.0
See Also
Function Set
Defined in