File indexing completed on 2025-01-18 10:12:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TStylePreview
0013 #define ROOT_TStylePreview
0014
0015 #include "TGFrame.h"
0016
0017 class TCanvas;
0018 class TList;
0019 class TRootEmbeddedCanvas;
0020 class TStyle;
0021 class TVirtualPad;
0022
0023 class TStylePreview : public TGTransientFrame {
0024
0025 private:
0026 TRootEmbeddedCanvas *fEcan;
0027 TVirtualPad *fPad;
0028 TList *fTrashListLayout;
0029
0030 public:
0031 TStylePreview(const TGWindow *p, TStyle *style, TVirtualPad *currentPad);
0032 ~TStylePreview() override;
0033 void Update(TStyle *style, TVirtualPad *pad);
0034 void MapTheWindow();
0035 TCanvas *GetMainCanvas();
0036
0037 ClassDefOverride(TStylePreview, 0)
0038 };
0039
0040 #endif