forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TEveElementEditor.h
58 lines (45 loc) · 1.78 KB
/
TEveElementEditor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// @(#)root/eve:$Id$
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
/*************************************************************************
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TEveElementEditor
#define ROOT_TEveElementEditor
#include "TGedFrame.h"
class TGCheckButton;
class TGNumberEntry;
class TGColorSelect;
class TGLabel;
class TEveElement;
class TEveTransSubEditor;
class TEveElementEditor : public TGedFrame
{
TEveElementEditor(const TEveElementEditor&); // Not implemented
TEveElementEditor& operator=(const TEveElementEditor&); // Not implemented
protected:
TEveElement *fRE; // Model object.
TGHorizontalFrame *fHFrame;
TGLabel *fPreLabel;
TGCheckButton *fRnrSelf;
TGCheckButton *fRnrChildren;
TGCheckButton *fRnrState;
TGColorSelect *fMainColor;
TGNumberEntry *fTransparency;
TEveTransSubEditor *fTrans;
public:
TEveElementEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
virtual ~TEveElementEditor() {}
virtual void SetModel(TObject* obj);
void DoRnrSelf();
void DoRnrChildren();
void DoRnrState();
void DoMainColor(Pixel_t color);
void DoTransparency();
ClassDef(TEveElementEditor, 1); // Editor for TEveElement class.
};
#endif