]>
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: | |
a8600b56 | 29 | RenderElementEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, |
30 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
5a5a1232 | 31 | ~RenderElementEditor(); |
32 | ||
a8600b56 | 33 | virtual void SetModel(TObject* obj); |
5a5a1232 | 34 | |
35 | void DoRnrElement(); | |
36 | void DoMainColor(Pixel_t color); | |
37 | ||
38 | ClassDef(RenderElementEditor, 1); // Editor for RenderElement | |
39 | }; // endclass RenderElementEditor | |
40 | ||
41 | } | |
42 | ||
43 | #endif |