[comp.sys.mac.programmer] help with color tables

allenb@cs.uoregon.edu (Allen F. Brookes) (09/24/90)

I'm stuck.  Can someone help.  I have two color video cards with the mainscreen
on one and a window on the other.  The window is set up with a palette and
explicit colors.  I have several offscreen pixmaps associated with this window
that share the same color table.  I use the offscreen pixmaps to store images
that I will display into the window.  I have a set of small windows on the
main screen that display the contents of the offscreen pixmaps.

Here is the problem.  The main screen and the device containing the other 
window often will not have the same color table.  I want the small windows
to do color translation so I get something close to what is in my offscreen
pixmaps.  However, when I change the colortable for the window and change the
seed for the table it changes the colors on the main screen.  It does this
even when the current device is the device that the window is in.  It also
does it when I install a different color table and even if I do not do a
setentries.

Any ideas?  This is really bugging me.

Allen