Resource library RsrcXtype() RsrcFreeCicon()
Programming guideline of WinDom

RsrcFixCicon()

NAME

RsrcFixCicon - fix the color icons

PROTOTYPAGE

void RsrcFixCicon( OBJECT *tree, int num_obs, int num_cib, int *palette[4], void *fix );

PARAMETERS

tree:
pointer to an object tree,

num_obs:
number of object in tree ,

num_cib:
nomber of color icons tree ,

palette:
color palette,

fix:
structure containing the fixed icons.

DESCRIPTION

RsrcFixCicon() fixes the color icons to the current resolution. When a resource file is loaded by RsrcLoad(), color icon are fixed by AES. The parameter palette is optional and can be set to NULL. This parameter is provided by the RSH file (created by resource editor program). After the call of RsrcFixCicon(), the structure fix is filled with the fixed icon and will be released when the program will finish by RsrcFreeCicon().

SEE ALSO

RsrcFreeCicon()