File indexing completed on 2025-01-18 10:11:41
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TEveElementEditor
0013 #define ROOT_TEveElementEditor
0014
0015 #include "TGedFrame.h"
0016
0017 class TGCheckButton;
0018 class TGNumberEntry;
0019 class TGColorSelect;
0020 class TGLabel;
0021
0022 class TEveElement;
0023 class TEveTransSubEditor;
0024
0025 class TEveElementEditor : public TGedFrame
0026 {
0027 TEveElementEditor(const TEveElementEditor&);
0028 TEveElementEditor& operator=(const TEveElementEditor&);
0029
0030 protected:
0031 TEveElement *fRE;
0032
0033 TGHorizontalFrame *fHFrame;
0034 TGLabel *fPreLabel;
0035 TGCheckButton *fRnrSelf;
0036 TGCheckButton *fRnrChildren;
0037 TGCheckButton *fRnrState;
0038 TGColorSelect *fMainColor;
0039 TGNumberEntry *fTransparency;
0040 TEveTransSubEditor *fTrans;
0041
0042 public:
0043 TEveElementEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
0044 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0045 ~TEveElementEditor() override {}
0046
0047 void SetModel(TObject* obj) override;
0048
0049 void DoRnrSelf();
0050 void DoRnrChildren();
0051 void DoRnrState();
0052 void DoMainColor(Pixel_t color);
0053 void DoTransparency();
0054
0055 ClassDefOverride(TEveElementEditor, 0);
0056 };
0057
0058 #endif