File indexing completed on 2025-01-18 10:12:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TStyleDialog
0013 #define ROOT_TStyleDialog
0014
0015
0016 #include "TGFrame.h"
0017
0018 class TGLabel;
0019 class TGTextButton;
0020 class TGTextEntry;
0021 class TGTransientFrame;
0022 class TList;
0023 class TStyle;
0024 class TStyleManager;
0025 class TVirtualPad;
0026
0027 class TStyleDialog : public TGTransientFrame {
0028
0029 private:
0030 TStyleManager *fStyleManager;
0031 TGTextEntry *fName;
0032 TGLabel *fNameLabel;
0033 TGTextEntry *fTitle;
0034 TGLabel *fTitleLabel;
0035 TGLabel *fWarnLabel;
0036 TGTextButton *fOK;
0037 TGTextButton *fCancel;
0038 TStyle *fCurStyle;
0039 Int_t fMode;
0040 TVirtualPad *fCurPad;
0041 TList *fTrashListFrame;
0042 TList *fTrashListLayout;
0043
0044 public:
0045 TStyleDialog(TStyleManager *sm, TStyle *cur, Int_t mode,
0046 TVirtualPad *currentPad = nullptr);
0047 ~TStyleDialog() override;
0048
0049 void DoCloseWindow();
0050 void DoCancel();
0051 void DoOK();
0052 void DoUpdate();
0053
0054 ClassDefOverride(TStyleDialog, 0)
0055 };
0056
0057 #endif