Re: [Alephmodular-devel] Macintosh oddity: GetCTable(8)?
Status: Pre-Alpha
Brought to you by:
brefin
From: Chris B. <ce...@ma...> - 2003-03-31 03:37:20
|
It would appear that this is correct behavior. It may have been depreciated some time ago (carbon? system 9?) however there seems to be a fair bit of code around which uses this approach and run fine. I have a suspicion that if we looked up the original inside mac series it would specify 8 as being the system-standard 256 color table and 40 (8+32) as being the standard 256 grayscale table. 'course i don't have it in front of me at work so ymmv :-) that said, you may as well fix it to use the new constants. sooner or later they may drop the old stuff. chris On Monday, March 31, 2003, at 07:32 AM, Br'fin wrote: > I was poking through AlephModular while trying to rehandle how cluts > were used. And I stumbled upon the usage of GetCTable(8). Which, upon > checking PB's docs for GetCTable seemed wrong. And so I checked in > AlephOne and found the same issue (It dates back to the Marathon2 code > originally) > > Both things call GetCTable with an argument of 8 ... it seems like the > correct argument should be 72. I don't know of any tech notes that > would say that 8 should also work for a 256 color system clut. > > Can anyone confirm or deny that this is some kind of 256 color problem? |