🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24180

Re: visual classes

#24180
From: der Mouse
Date: Thu, 27 Jun 1991 06:19
25 lines
1443 bytes
> How common are systems that only support TrueColor or StaticColor?

I don't know.  Mouse-X on the color NeXTs will be a TrueColor-only
server unless and until someone tells me where to find documentation on
how to change the colormap, if this is in fact possible.  But aside
from that I've never seen one.  (For that matter, I've never actually
*seen* a color NeXT :-)

> Also, DirectColor is supposed to support PseudoColor.

It is?  Where did you find that tidbit?

> How would I change the visual from Direct to Pseudo?  Or is there
> always a Pseudo visual avaiable if the default is Direct?  Or do I
> simply just "simulate" Pseudo with code?

It is certainly possible to simulate PseudoColor with DirectColor; look
up what XAllocColorCells does for a DirectColor visual.  (It amounts to
taking one cell from each of the three colormaps and considering them
as forming one cell in the pseudo-PseudoColor colormap.)

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu
Technical Details
Message-ID: <9106270619.AA06768@lightning.McRCIM.McGill.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!ora!bloom-beacon!dont-send-mail-to-path-lines

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!ora!bloom-beacon!dont-send-mail-to-path-lines
From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse)
Newsgroups: comp.windows.x
Subject: Re:  visual classes
Message-ID: <9106270619.AA06768@lightning.McRCIM.McGill.EDU>
Date: 27 Jun 91 06:19:06 GMT
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 25