]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 1 | // $Header$ |
2 | ||
3 | #ifndef REVE_RGEditor_H | |
4 | #define REVE_RGEditor_H | |
5 | ||
6 | #include <TGedEditor.h> | |
7 | ||
8 | namespace Reve { | |
9 | ||
a8600b56 | 10 | class RenderElement; |
11 | ||
5a5a1232 | 12 | class RGEditor : public TGedEditor |
13 | { | |
14 | protected: | |
a8600b56 | 15 | RenderElement* fRnrElement; |
5a5a1232 | 16 | |
17 | public: | |
18 | RGEditor(TCanvas* canvas=0); | |
19 | virtual ~RGEditor() {} | |
a8600b56 | 20 | |
21 | RenderElement* GetRnrElement() const { return fRnrElement; } | |
5a5a1232 | 22 | |
a8600b56 | 23 | void DisplayRenderElement(RenderElement* re); |
5a5a1232 | 24 | void DisplayObject(TObject* obj); |
a8600b56 | 25 | |
26 | virtual void Update(TGedFrame* gframe=0); | |
5a5a1232 | 27 | |
28 | ClassDef(RGEditor, 1); | |
29 | }; // endclass RGEditor | |
30 | ||
31 | } | |
32 | ||
33 | #endif |