TColor warning

From: Thomas Eberl (Thomas.Eberl@physik.tu-muenchen.de)
Date: Thu Sep 02 1999 - 13:57:29 MEST


Hi rooters,

we have written an application for online analysis. It was developped under
ROOT 2.21/08 and Suse Linux 6.0 on Pentium II / 400 using egcs 1.1.1. 
To define a nice color palette we have used the little routine that appeared
on roottalk on 
   Date: 
       Fri, 25 Jun 1999 11:37:19 -0400 (EDT)
  From: 
       Jon Gans <gans@star.physics.yale.edu>
 Title: Pretty Palette Spectrum Violet->Red HowTo:

It worked fine, i.e. no warnings, no problems ....

Now we work under RedHat6.0, ROOT 2.22/10, egcs 1.1.2
The following problem occurs:
If I use the above mentioned macro by Jon Gans <gans@star.physics.yale.edu> I
get warnings that all the colors are already defined and the last one cannot be
allocated at all. In the compiled code which uses the same routine I get
warnings at run-time that the colors are already defined and 16 (the reddish
end of the spectrum) can't be allocated at all, which leaves me with an ugly
event display.

My question: What was changed between the two ROOT versions concerning colors ?
Are the colors between 50 and 100 still available for redefinition ? Has
anybody  observed similar problems. Is it a RedHat (X-Server) phenomenon?
Any comment appreciated, I am lost .... :-)

Regards

Thomas

 -- 
Thomas Eberl                       Phone: (+49 89) 289 1 2425   
Physik-Department E12, Technische Universitaet Muenchen
James-Franck-Strasse *** D-85748 Garching b. Muenchen
Email: Thomas.Eberl@physik.tu-muenchen.de



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET