home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!decwrl!claris!apple!dlyons
- From: dlyons@Apple.COM (David A Lyons)
- Newsgroups: comp.sys.apple2
- Subject: Re: Changing the default color of the folder in Sys 6.0
- Message-ID: <70589@apple.Apple.COM>
- Date: 29 Jul 92 06:44:33 GMT
- References: <2A73E8F4.24561@ics.uci.edu>
- Organization: Apple Computer Inc., Cupertino, CA
- Lines: 37
-
- In article <2A73E8F4.24561@ics.uci.edu> jimmys@ics.uci.edu (Jimmy Shaw) writes:
- >
- >I have a question for all the system 6.0 wizards out there:
- >
- >How do I change the default folder color (yellow) in 6.0 to something else?
- >
- >In A2-Central (Vol. 8, No.4) it states that "change the byte at offset +65 in
- >the finder resource with type $C001 and ID 1. Change the $E0 to whatever you
- >want (the first digit is the default folder foreground color, and the low
- >nibble is for the outline color)..."
- >
- >Okay, I have tried this, and it doesn't work for me. This was how I went about
- >things: Using Foundation v1.0(b7?), I loaded up the Finder resouce, and
- >type $C001 was caled "Rect List". There is only 1 item under this type
- >(ID #1). I then open up this item, and went into the HexEdit mode. I was
- >unable to find any occurance of $E0, in fact, at offset +65, the hex was $DD,
- >not $E0.
- >
- >Any ideas? If possible, would someone also please tell me which color is
- >represented by which hex?
-
- Two problems: The +065 should actually be +067. (This was my fault--I
- submitted the procedure to A2-Central, and I was staring at some Rez
- source code to come up with the value...I didn't allow for the 2-byte
- count word that Rez supplies automatically.)
-
- The second thing is that you seem to be counting the offset in Hex.
- The 67 is a decimal number, which in hex is $43 (start at the top left,
- go 4 rows down, and three bytes over). (If you try $65 or $67, you
- do indeed find a $DD, part of the default blue desktop pattern, not
- the folder color byte.)
- --
- David A. Lyons, Apple Computer, Inc. | DAL Systems
- Apple II System Software Engineer | P.O. Box 875
- Internet:dlyons@apple.com | Cupertino, CA 95015-0875
-
- My opinions are my own, not Apple's.
-