Re: [ROOT] Graphical Appearance of all objects...I wish same time...

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Thu Aug 21 2003 - 18:27:11 MEST


 Hi Zaldy,
check also http://root.cern.ch/root/roottalk/roottalk03/2417.html

> 
> Dear Valeriy,
> 
> I am not sure if I understood this correctly.
> 
> > > void MyCanvas::PaintModified()
> > > {
> > >     if (!gReadyToShow) return;
> > >     else TCanvas::PaintModified();
> > > }
> 
> "gReadyToShow" is a global variable and is said to be a user-built global 
> variable; I guess more on dictionary creation. Is this correct?

gReadyToShow can be data member of  MyCanvas.

> 
> In this case (if yes), then this is my first problem, I have not yet well 
> understood how to create this global variable or pointer.
> 
> Do we have a working example on how to create a global Variable/pointer in 
> the tutorial section? 

Check http://root.cern.ch/root/RootCintMan.html
i.e.
#pragma link C++ global gROOT;
#pragma link C++ global gEnv;

Regards. Valeriy

> 
> Thanks...
> 
> 
> 
> >  Hi Zaldy ,
> > check http://root.cern.ch/root/roottalk/roottalk03/2414.html
> > 
> > HTH. Regards. Valeriy
> > 
> > > 
> > > Dear ROOTers,
> > > 
> > > How do we make the appearance of all objects simultaneous?
> > > 
> > > Because of the many tasks, and perhaps if the server is at peak hours, the 
> > > execution is such that it will draw each object one by one. The result 
> > > would be somehow awkward. In many cases I dont like its appearance.
> > > 
> > > For example if you draw the Map of Europe, with the slow execution, 
> > > first it will draw Germany with all the colors, then France with all the 
> > > color, Spain, etc ...
> > > 
> > > Can we make this in such a way that it will just flash once?
> > > 
> > > 
> > > Thanks
> > > 
> > > 
> > > -- 
> > > 
> > > --------------------------------------------------------
> > >                    Zaldy A. Nawang 
> > >                    PS Users Room 2
> > >                    Yon Gokan, 
> > >                    E362, Neutrino Group, 
> > >                    IPNS, KEK, 
> > >                    Japan 
> > >                     
> > >                    e-mail: zaldy@neutrino.kek.jp
> > >                    Tel. No. : (81) 029864 - 5387
> > > --------------------------------------------------------
> > > 
> > > 
> > 
> 
> -- 
> 
> --------------------------------------------------------
>                    Zaldy A. Nawang 
>                    PS Users Room 2
>                    Yon Gokan, 
>                    E362, Neutrino Group, 
>                    IPNS, KEK, 
>                    Japan 
>                     
>                    e-mail: zaldy@neutrino.kek.jp
>                    Tel. No. : (81) 029864 - 5387
> --------------------------------------------------------
> 
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET