formZ SDK | 4.0 Call Back Reference | Command | Project Command
Description
Command icon from resource file (Optional). This function is called by formZ to load an
icon for the command from a platform specific resource file. This method of loading an icon
is less flexible than and requires specific generation of the icon artwork
for each platform. This method is only provided as a convienence for developers who already have
a library of platform specific icons developed.
The resource file can be the plugin file (.fzp) or an independant resource file. All icons
stored in 32 x 32 pixels resources, however, depening on the type of the icon, only part of
the resource will be used. Only the top left 30 x 30 of the 32 x 32 is used for the black and white
full icon size. The bottom and right two pixels are NOT used (and will be cropped). The entire 32 x 32
is used for the color full icon size.
For the alternate size icon, formZ uses the bottom left 20 x 16 pixels. The top 16 and right 12 pixels
are NOT used (and will be cropped).
Macintosh: The back and white source graphic is stored in a 'ICON' resource. The color source is read
from a 32 x 32 'cicn' resource.
Windows: The back and white and color source graphics are stored in a 'Icon' resource.
Plugin Prototype
fzrt_error_td fz_cmnd_cbak_proj_icon_rsrc(
which, | |
icon ) |
Parameters
which [Input]
which style of icon to load.
icon [Result]
icon handle.
Returns
Error codes
Availability
5.0.0.0
See Also
,
Function Set
Defined in