[comp.sys.apple] GS Icons

dnelson@pro-exchange.cts.COM (Dru Nelson) (11/20/87)

Does anybody know the format for Apple IIgs icons?  I want to use the DrawIcon
function in the Quickdraw Auxillary, but I have the first Toolbox Reference.
Is the format the same as the format for a cursor?
Help on this would be GREATLY appreciated!

Dru

UUCP: [ ihnp4 nosc ] !crash!pnet01!pro-sol!pro-exchange!dnelson
ARPA: crash!pnet01!pro-sol!pro-exchange!dnelson@nosc.mil
INET: pro-exchange!dnelson@pro-sol.cts.com

shankar@src.honeywell.COM (Subash Shankar) (10/20/88)

Does anybody know how icons are drawn by the GS Finder?  I know
that files in the ICONS directory are read to retrieve bitmaps
for the approrpiate icons, but I was wondering what kind of
pixel masking is used.  

Since I'm not particularly clear above, I'll give an example.
If I edit the diamond application icon so that it is colored
red inside the diamond, I get a different looking icon then
what I get by using the Finder to color the icon Red - namely
the outline is grey rather then black.  What algorithm does
the Finder use to display and color icons, and is there a way
to emulate the Finder color commands by editing icons.

In case you're wondering, I was doing this to color code by file
types automatically.

Oh yeah, does anybody know of any good PD or inexpensive shareware
icon editors?  I have a copy of something called TIE, but it
crashes much too often - perhaps I have a bad copy.  Better yet,
if somebody knows of a good icon editor, can you post it to
comp.binaries.apple2?  Thanks.

cs374124@umbc3.UMD.EDU (Clark "Crash" Culligan) (10/20/88)

   There is a shareware icon editor called IconEd, naturally enough. It
has a full graphic interface and allows you the use of all sixteen of
the dithered 640-mode colors. It also allows you to define launching
applications and name, type, and auxtype information. With it, you can
edit both the picture field and the mask field.
   I'd say it's a very good program, though I don't use it much.
   Now if I knew where to send the disk... 

                                   -David Wood
                                    Lowly Student, UMBC

==============================================================   
=  A Mind is a Terrible Thing to have Leaking Out Your Ears  =
=                       -The League of Sadistic Telepaths    =
==============================================================

prw@meccsd.MECC.MN.ORG (Paul R. Wenker) (10/20/88)

I'm pretty sure that Finder uses the _DrawIcon call to display it's
icons.  Take a look at the QuickDraw Auxiliary chapter in the toolbox
reference.  It has a section that talks about icons.


-Paul Wenker			prw@meccsd.MECC.MN.ORG
-MECC, Technical Services