Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!pro-avalon.cts.com!jstich From: jstich@pro-avalon.cts.com (Jonah Stich) Newsgroups: comp.sys.apple Subject: Re: custom icons question Message-ID: <8906150736.AA01530@crash.cts.com> Date: 15 Jun 89 03:45:55 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: pnet01!pro-simasd!pro-avalon!jstich@nosc.mil Organization: The Internet Lines: 37 hartkopf@tramp.Colorado.EDU (Jeff Hartkopf) writes: >for a DrawIcon icon) now, so if someone would be so kind as to summarize >for me what it says on page 17-3 of Volume 2, I would be VERY grateful. Okay, here goes (please excuse any typos, it's kinda late, and this seems to be a noisy line). Page 17-3, section entitled "QuickDraw II Auxiliary icon record" reads: An icon is a small graphic object that is usually symbolic of an operation or of a larger entity, such as a document. The QuickDraw II Auxiliary icon recore indicates whether the icon is icolor or black and white, the size of the icon, the height and width od the icon, the icon image, andthe mosk controlling the appearance of the icon, as shown in Figure 17-1. Note: At the time of publication, this record had not been included in the APW interface file. Offset Field $0 & $1 IconType Word - Bit 15 set to 1 = color icon set to 0 = black and white icon $2 & $3 IconSize Word - INTEGER; number of bytes in icon image $4 & $5 IconHeight Word - INTEGER; height of icon in pixels $6 & $7 IconWidth Word - INTEGER; width of icon in pixels $8 - $x IconImage x Bytes - Icon image; IconsSize bytes long, each row of pixels is 1+ (IconWidth - 1)/2 bytes wide $x - $y IconMask (Same as above) That's all there is on 17-3, 17-4 goes on to talk about how the displayMode, hich controls how the iconMask is applied. Hope this has been of some help. Jonah -- jstich@pro-avalon UUCP: crash!pro-nsfmat!pro-avalon!jstich ARPA: crash!pro-nsfmat!pro-avalon!jstich@nosc.mil INET: jstich@pro-avalon.cts.com