Re: Bug in Style Managment?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Mar 27 1999 - 19:39:21 MET


Hi Mathieu,
Thanks for reporting this problem coming from a side-effect
of "improvements" in TStyle in the last release.
I have fixed this problem in my development version.

Rene Brun

On Thu, 25 Mar 1999, Mathieu de Naurois wrote:

> 
>   Hello Rooter's
> 
> 
> In version 2.21.08 of ROOT, the managment of Styles has change:
> 
> This simple Macro illustrate this:
> 
> root [0] gStyle->SetFrameFillColor(20);
> root [1] TCanvas c("c");
> root [2] TH2F *h=new TH2F("h","histo",2,-1,1,2,-1,1);
> root [3] h.Draw();
> 
> At this time, the background color of the frame is still white.
> One has to type an extra
> 
> 
> root [4] c.UseCurrentStyle();
> 
> to get the proper color.
> 
> This was not the case in 2.20.06.
> 
> I'm running Linux/egcs 1.0
> 
> So, my question is:
> 
> Is it a feature or a bug? And if it is a feature, how can I get the
> color without drawing each frame twice?
> 
> Thank you.
> 
> -------------
> Mathieu de Naurois
> LPNHE Ecole Polytechnique
> denauroi@poly.in2p3.fr
> 



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