Topic : Pure C Library Documentation Author : John Kormylo Version : LIB.HYP 1.0 Subject : Documentation/Pure C Library Nodes : 1309 Index Size : 32068 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ Resource File Extension ] typedef struct { long full_size; /* actual size of resource file (bytes) */ long rsx_cicon; /* offset to CICONBLK* array */ long rsx_term; /* 0L */ } RSEXT; Actually, the CICONBLK array contains NULLs in the resource file, and is filled when the resource file is loaded into memory. The array is terminated with a entry containing -1L. Immediately following this array is the first color icon definition: CICONBLK icon; /* pointers not filled */ int mono_data[?]; /* standard icon image */ int mono_mask[?]; /* standard mask image */ char icon_text[12]; /* icon text field */ For each supported resolution there follows: CICON res; /* pointers not filled */ int color_data[?]; /* VDI device independent image */ int color_mask[?]; /* single bit plane image */ int select_data[?]; /* VDI device independent image */ int select_mask[?]; /* single bit plane image */ Some of the pointers in the above structure contain other information: icon.mainlist contains the number of resolutions supported. res.sel_data == 0 when there is no separate "selected" image. res.next_res == 1 when there are more icons following. After the last resolution, the sequence repeats for the next icon. Implemented starting with AES Version 3.30 (rsh_vrsn = 4). See also RSHDR and AES_SYSTEM.