12#ifndef ROOT_TStylePreview
13#define ROOT_TStylePreview
#define ClassDef(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Defines transient windows that typically are used for dialogs windows.
ROOT GUI Window base class.
This class creates a TGCanvas in which a TCanvas is created.
This class may be used to preview the result of applying a style to a canvas.
TCanvas * GetMainCanvas()
Return pointer to the selected canvas.
void MapTheWindow()
Initialize the layout algorithm.
TVirtualPad * fPad
original pad previewed
void Update(TStyle *style, TVirtualPad *pad)
Update the preview with possibly another style and another object than previously.
TList * fTrashListLayout
to avoid memory leak
virtual ~TStylePreview()
Destructor.
TRootEmbeddedCanvas * fEcan
canvas for preview
TStyle objects may be created to define special styles.
TVirtualPad is an abstract base class for the Pad and Canvas classes.