🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.misc
1 messages
1 total messages Started by David Lau-Kee Wed, 22 Aug 1990 14:01
Colourmap allocation in OpenWindows 2
#278
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads