File indexing completed on 2025-01-18 10:12:06
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TGuiBldHintsEditor
0013 #define ROOT_TGuiBldHintsEditor
0014
0015
0016 #include "TGButton.h"
0017
0018
0019 class TGuiBldHintsButton;
0020 class TGNumberEntry;
0021 class TGuiBldEditor;
0022 class TGuiBldNameFrame;
0023 class TGuiBldHintsManager;
0024 class TRootGuiBuilder;
0025
0026
0027 class TGuiBldHintsEditor : public TGVerticalFrame {
0028
0029 private:
0030 TGuiBldEditor *fEditor;
0031 TGuiBldNameFrame *fNameFrame;
0032 TGuiBldHintsManager *fHintsManager;
0033 TGGroupFrame *fHintsFrame;
0034 TGGroupFrame *fPaddingFrame;
0035
0036 void SetMatrixSep();
0037
0038 public:
0039
0040 TGCheckButton *fCbLeft;
0041 TGCheckButton *fCbRight;
0042 TGCheckButton *fCbTop;
0043 TGCheckButton *fCbBottom;
0044 TGCheckButton *fCbExpandX;
0045 TGCheckButton *fCbExpandY;
0046 TGCheckButton *fCbCenterX;
0047 TGCheckButton *fCbCenterY;
0048
0049 TGNumberEntry *fPadTop;
0050 TGNumberEntry *fPadBottom;
0051 TGNumberEntry *fPadLeft;
0052 TGNumberEntry *fPadRight;
0053
0054 TGCheckButton *fLayButton;
0055
0056 TRootGuiBuilder *fBuilder;
0057
0058 public:
0059 TGuiBldHintsEditor(const TGWindow *p, TGuiBldEditor *e);
0060 ~TGuiBldHintsEditor() override {}
0061
0062 void ChangeSelected(TGFrame *);
0063 void LayoutSubframes(Bool_t on = kTRUE);
0064 void MatrixLayout();
0065 void SetPosition();
0066 void UpdateState();
0067
0068 ClassDefOverride(TGuiBldHintsEditor,0)
0069 };
0070
0071 #endif