Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncar!ames!amelia!moore From: moore@amelia.nas.nasa.gov (Judith G. Moore) Newsgroups: comp.sys.mac.programmer Subject: HELP with color Message-ID: <2623@amelia.nas.nasa.gov> Date: 24 Jul 89 18:31:16 GMT Reply-To: moore@amelia.nas.nasa.gov (Judith G. Moore) Distribution: usa Organization: NASA Ames Research Center, Moffett Field, CA Lines: 17 I'm a C programmer new to the Mac and floundering horribly. As usual, don't have time to slowly master each bit(!) of the toolbox, but must come up with some workable code NOW. My current difficulty is with color manipulation on the Mac II. Assuming that I can somehow construct either a pltt or a CPAL resource, could someone give me a simple example that will do the following: Open a color window; apply a different color palette/ table to the window; and restore the system palette when through. What exactly is the difference between a 'table' and a 'palette'? Ditto a CPAL, a CLUT, and a pltt. Any references that treat color in depth would be much appreciated, 'though I'm sadly coming to the conclusion that there ain't no such animal. Am using Lightspeed C and have access to MPW. Judith Moore judith@csmunix.larc.nasa.gov moore@amelia.nas.nasa.gov