]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 1 | // $Header$ |
2 | ||
3 | #ifndef REVE_RenderElementEditor_H | |
4 | #define REVE_RenderElementEditor_H | |
5 | ||
6 | #include <TGedFrame.h> | |
7 | ||
8 | class TGCheckButton; | |
9 | class TGNumberEntry; | |
10 | class TGColorSelect; | |
11 | ||
12 | namespace Reve { | |
13 | ||
14 | class RenderElement; | |
15 | ||
16 | class RenderElementEditor : public TGedFrame | |
17 | { | |
265ecb21 | 18 | RenderElementEditor(const RenderElementEditor&); // Not implemented |
19 | RenderElementEditor& operator=(const RenderElementEditor&); // Not implemented | |
20 | ||
5a5a1232 | 21 | protected: |
22 | RenderElement* fRE; // fModel dynamic-casted to RenderElementEditor | |
23 | ||
24 | TGHorizontalFrame* fHFrame; | |
25 | TGCheckButton* fRnrElement; | |
26 | TGColorSelect* fMainColor; | |
27 | ||
28 | public: | |
29 | RenderElementEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()); | |
30 | ~RenderElementEditor(); | |
31 | ||
32 | virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event); | |
33 | ||
34 | void DoRnrElement(); | |
35 | void DoMainColor(Pixel_t color); | |
36 | ||
37 | ClassDef(RenderElementEditor, 1); // Editor for RenderElement | |
38 | }; // endclass RenderElementEditor | |
39 | ||
40 | } | |
41 | ||
42 | #endif |