File indexing completed on 2025-01-18 10:11:43
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TEveShapeEditor
0013 #define ROOT_TEveShapeEditor
0014
0015 #include "TGedFrame.h"
0016
0017 class TGButton;
0018 class TGCheckButton;
0019 class TGNumberEntry;
0020 class TGColorSelect;
0021
0022 class TEveShape;
0023
0024 class TEveShapeEditor : public TGedFrame
0025 {
0026 private:
0027 TEveShapeEditor(const TEveShapeEditor&);
0028 TEveShapeEditor& operator=(const TEveShapeEditor&);
0029
0030 protected:
0031 TEveShape *fM;
0032
0033 TGNumberEntry *fLineWidth;
0034 TGColorSelect *fLineColor;
0035 TGCheckButton *fDrawFrame;
0036 TGCheckButton *fHighlightFrame;
0037
0038 public:
0039 TEveShapeEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
0040 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0041 ~TEveShapeEditor() override {}
0042
0043 void SetModel(TObject* obj) override;
0044
0045 void DoLineWidth();
0046 void DoLineColor(Pixel_t color);
0047 void DoDrawFrame();
0048 void DoHighlightFrame();
0049
0050 ClassDefOverride(TEveShapeEditor, 0);
0051 };
0052
0053 #endif