🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.misc
Article #278

Colourmap allocation in OpenWindows 2

#278
From: David Lau-Kee
Date: Wed, 22 Aug 1990 14:01
27 lines
1822 bytes
Can someone explain how colours are allocated to the colourmap in OW2?
(I run openwin -cubesize large, and run reservecolors -invramp to set aside a
grey ramp low down.)

If OW is to run with minimum colourmap flashing it ought to do as much
colourmap entry sharing as possible.  So I'd expect two xview applications,
say filemgr and shelltool, to share foreground / background colours.
(Especially since OpenLook insists this is what you should be seeing.)
What actually happens is that at least two entries are used for the window
inside colours.  It seems that filemgr and calctool (& others??) use the
first available entry in the colourmap for their inside colour (where "first"
means first after reserved area + 4 slots for border colours + 1 slot for
"desktop" colour), whereas most other applications (shelltool, textedit,
mailtool, clock) use colourmap entry 0 (which sounds a bit naughty to me).

I also notice that entry 1 is black.  Can we count on 0=white 1=black in
OpenWindows?  I understand that OW2 is X11R4 colourmap compliant so I guess
comments on what R4 says would be applicable.

David
-------------
David Lau-Kee
Canon Research Centre Europe,
17/20 Frederick Sanger Rd, Surrey Research Park, Guildford, Surrey, GU25YD, UK.
NRS: laukee@uk.co.canon, INET: laukee%canon@nsfnet-relay.ac.uk
UUCP: laukee@canon.uucp, PATH: ..!mcsun!ukc!uos-ee!canon!laukee
Tel: +44 (0) 483 574325 Fax: +44 (0) 483 574360
Technical Details
Message-ID: <1990Aug22.140100.11290@canon.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!canon!laukee

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!canon!laukee
From: laukee@canon.co.uk (David Lau-Kee)
Newsgroups: comp.windows.misc
Subject: Colourmap allocation in OpenWindows 2
Keywords: huh?
Message-ID: <1990Aug22.140100.11290@canon.co.uk>
Date: 22 Aug 90 14:01:00 GMT
Organization: Canon Research Europe, Guildford, UK
Lines: 27