| #include "TStylePreview.h" | 
TStylePreview
class description - source file - inheritance tree (.pdf)
    public:
                      TStylePreview(const TGWindow* p, TStyle* style, TVirtualPad* currentPad)
                      TStylePreview(const TStylePreview&)
              virtual ~TStylePreview()
       static TClass* Class()
             TCanvas* GetMainCanvas()
      virtual TClass* IsA() const
                 void MapTheWindow()
         virtual void ShowMembers(TMemberInspector& insp, char* parent)
         virtual void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
                 void Update(TStyle* style, TVirtualPad* pad)
    private:
      TRootEmbeddedCanvas* fEcan             canvas for preview
              TVirtualPad* fPad              original pad previewed
                    TList* fTrashListLayout  to avoid memory leak
                                                                      
  TStylePreview                                                       
                                                                      
  This class may be used to preview the result of applying a style    
       to a canvas. The result is shown on a clone of the object,     
       in a different shown over the initial canvas.                  
                                                                      
 TStylePreview(const TGWindow *p, TStyle *style,
                              TVirtualPad *currentPad)
                     : TGTransientFrame(0, p)
  Constructor. Create a new window and draw a clone of
 currentPad->GetCanvas() in it, using the style 'style'.
  Thanks to that method, one can have a preview of any
 style with any object.
 ~TStylePreview()
 Destructor.
void Update(TStyle *style, TVirtualPad *pad)
  Update the preview, with possibly another style and another object
 than previously.
void MapTheWindow()
 Initialize the layout algorithm.
TCanvas* GetMainCanvas()
Inline Functions
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
        TStylePreview TStylePreview(const TStylePreview&)
Author: Denis Favre-Miville 08/09/05
Last update: root/ged:$Name:  $:$Id: TStylePreview.cxx,v 1.0 2005/09/08
Copyright  (C) 1995-2004, Rene Brun and Fons Rademakers.               *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.