home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!peter
- From: peter@cbmvax.commodore.com (Peter Cherna)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ColorSpec question
- Message-ID: <36706@cbmvax.commodore.com>
- Date: 5 Nov 92 13:22:36 GMT
- References: <RCORMAC.92Nov4223537@colossus.cs.oberlin.edu>
- Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
- Distribution: comp.sys.amiga.programmer
- Organization: Commodore-Amiga, Inc. West Chester, PA.
- Lines: 26
-
- In article <RCORMAC.92Nov4223537@colossus.cs.oberlin.edu> rcormac@colossus.cs.oberlin.edu (Cormac (Xbattle -rcormac) Russell) writes:
- >
- >Ok, I have been tracking ColorSpec all through my RKMs and have found
- >the (rather annoying to find) declaration in intuiton.h. I of course
- >have a number of questions. :)
- >1) Is the ColorIndex the register who's value I wishe to set?
-
- Yes.
-
- >2) it says that only 6bits of the UWORD for Red Green Blue values
- > are recognized. So, since the Amiga has 4 bits per gun, what does
- > this mean about how I should place a value into one of these. I
- > want to initialize my colors in OpenScreenTagList rather than using
- > graphics.library later so I need to know what format I should use.
-
- The include files "lie". Only the _bottom_ four bits per gun are recognized.
-
- >Retch The Grate aka Cormac Russell Amiga, The Computer for The Creative Mind
-
- Peter
- --
- Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
- {uunet|rutgers}!cbmvax!peter peter@cbmvax.commodore.com
- My opinions do not necessarily represent the opinions of my employer.
- "I believe it's bad luck to be superstitious."
-
-