[comp.windows.x.motif] Colour guarantees under Motif --- are there any?

giguere@csg.UWaterloo.CA (Eric Giguere) (07/31/90)

I'm playing around with colour in a Motif environment right now.  I was
wondering -- can't seem to find this anywhere -- if there are any kind of
colour guarantees on a Motif system?  That is, if you're running on a 
colour system with at least 3 bitplanes, does MWM guarantee the presence 
of some form of red, green and blue colours?  Can we assume anything?  Is
there any way to customize MWM so that the colourmap it uses always includes
these colours?

--
Eric Giguere                                       giguere@csg.UWaterloo.CA

bob@odi.com (Bob Miner) (07/31/90)

     I'm playing around with colour in a Motif environment right now.  I was
     wondering -- can't seem to find this anywhere -- if there are any kind of
     colour guarantees on a Motif system?  That is, if you're running on a 
     colour system with at least 3 bitplanes, does MWM guarantee the presence 
     of some form of red, green and blue colours?  Can we assume anything?  Is
     there any way to customize MWM so that the colourmap it uses always
     includes these colours?

     --
     Eric Giguere                                     giguere@csg.UWaterloo.CA

It's been my experience that you can't assume anything.  Usually the X server
will support the standard X colors listed in Appendix E of Oliver Jones' book,
but I recall seeing cases where they weren't supported, so it's not guaranteed.

The same RGB description can look very different on one color monitor vs.
another color monitor - even if they're the same make and model.  Our demo
people always have to tune the colors in their .Xdefaults file before giving
a demo on a new color machine.

BTW, this isn't Motif's fault or responsibility.  It's an X server problem.

Good Luck,

Bob Miner

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      OOOOOOO			    ~ Bob Miner
   OOOO     OOOO		    ~ Object Design, Inc.
  OOOOO     OOOOO		    ~ 1 New England Executive Park
  OOOOO     OOOOO 		    ~ Burlington, MA 01803   USA
   OOOO     OOOO		    ~ bob@odi.com or uunet!odi!bob
      OOOOOOO    bject Design Inc.  ~ voice: (617) 270-9797 FAX: (617) 270-3509
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   "From there to here, from here to there, funny things are everywhere."
								- Dr. Seuss
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~