Hi Thomas, you should set the fill color of the canvas in the ctor of your class, like: GetCanvas()->SetFillColor(39); Cheers, Fons. Thomas Bretz wrote: > > Hello, > > I have a class derived from TRootEmbeddedCanvas. I tried to set the > background color in the constructor by SetBackgroundColor(39) but > nothing changed. > > Another question: Where do I find an explanation for Color_t and > Style_t? If I click on it inside the reference Guide I get the typedef > only. > > Thanks, > Thomas. -- 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 7677910
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:57 MET