[GRASS5] XDRIVER colour changes

Glynn Clements glynn.clements at virgin.net
Wed May 2 04:24:18 EDT 2001


I've just committed a bunch of non-trivial changes to XDRIVER's colour
handling. If they cause anyone problems, the previous version can be
retrieved using the "color_changes_20010502" tag.

The changes should result in better output in "fixed" colour mode on
all visual types. I've tested it on XFree86, on 8/15/16/24-bit
TrueColor and DirectColor visuals, and on 4/8-bit StaticGray,
GrayScale, StaticColor and PseudoColor visuals (needless to say, 4-bit
visuals don't produce particularly nice output).

If anyone has a system with other visual types, feedback would be
appreciated.

Also, I had to force the use of a private Colormap for DirectColor
visuals, mainly due to being unable to figure out how to do any colour
handling other beyond filling an empty Colormap with writable colour
cells.

If anyone knows of some worthwhile[1] documentation on the details of
X Colormap handling (and DirectColor visuals in particular), I'd
appreciate the information.

[1] as opposed to the X manpages and the Xlib documention in
xc/doc/hardcopy/X11.

-- 
Glynn Clements <glynn.clements at virgin.net>

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list