Re: canvas colormaps

Rob Fletcher (rpf1@york.ac.uk)
Thu, 16 Jan 1997 09:34:03 +0000 (GMT)

To subscribers of the xforms list from Rob Fletcher <rpf1@york.ac.uk> :

On Wed, 15 Jan 1997, Steve Lamont wrote:

<snip>

>
> A test program and .fd file are attached.

<big snip>

Steve et al,

I have made and run the test code on my SGI Indy under IRIX 5.3
using the 0.81 libs (still have the newer versions under "test"!)

The window on initial mapping is black, but on putting the pointer
into the window (focus policy is "in window" with 4Dwm) then the
window goes to grey (i.e. one of the greys in the new colourmap).

The messages on the consol are:

At window mapping:

colormap = 04c00038
activate done -- 04c00039
04c00038 True Not installed

After focus shift to canvas window:

windows with custom colormaps = 1
0 04c00039
04c00038 False Installed

Hope this helps a wee!

Regards,

Rob

+===========================+=======================================+
| Dr R P Fletcher (Rob) | Email R.Fletcher@york.ac.uk |
| Graphics Coordinator | Phone +44 1904 433816 (ddi) |
| Computing Service | Frontdesk +44 1904 433800 (ddi) |
| University of York | Fax +44 1904 433740 |
| YORK YO1 5DD | URL http://www.york.ac.uk/~rpf1/|
| UK | DU Moo Rob_F |
| RobCam http://www.york.ac.uk/~rpf1/robcam.html |
+===================================================================+