Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!ucbcad!ucbvax!3d.DEC.COM!carver From: carver@3d.DEC.COM (The danger on the rocks has surely passed, still I remain tied to the mast) Newsgroups: comp.windows.x Subject: RE: Colormaps for StaticColor visuals Message-ID: <8711041556.AA06070@decwrl.dec.com> Date: Wed, 4-Nov-87 13:48:00 EST Article-I.D.: decwrl.8711041556.AA06070 Posted: Wed Nov 4 13:48:00 1987 Date-Received: Mon, 9-Nov-87 05:36:48 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 19 We needed to do the same thing in our server---in fact we needed to construct several static colormaps with device dependent color values--- and the method we use (as your mail discussed) is as follows: mid = FakeClientID(0); CreateColormap(mid,pScr,pVisTrue24,&pCmap,AllocAll,0); * StoreColors(pCmap,256,defs) * The last argument to CreateColormap is the client index, we use 0 to indicate that the server is the creator. So far as we know this works properly in our environments: VAX/ULTRIX and VAX/VMS. You may be having some sort of portability problem in dix/colormap.c. --david carver