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
>