Re: [ROOT] colors available from gClient

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Aug 01 2002 - 17:33:23 MEST


Hi David,

 ROOT uses via X11 the standard X11 color names file. On linux it is
in /usr/lib/X11/rgb.txt. Might be in different locations on other
machines but X knows where to find it. Look into this file for all
supported color names.

Cheers, Fons.



On Thu, 2002-08-01 at 00:47, David Faden wrote:
> Hi,
>    Is there a list online somewhere of the colors that are usually 
> available by name from gClient (as in gClient->GetColorByName(name, 
> color))? If so, where is it? If not, could someone post a list of the 
> colors? I'm looking especially for a light gray (to contrast with the 
> the default gray of a TGMainFrame).
>    Thank you.
> 
> David
> 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:02 MET