]>
Commit | Line | Data |
---|---|---|
6f04ebee | 1 | // $Header$ |
2 | ||
3 | #ifndef REVE_LineEditor_H | |
4 | #define REVE_LineEditor_H | |
5 | ||
6 | #include <TGedFrame.h> | |
7 | ||
8 | class TGCheckButton; | |
9 | class TGNumberEntry; | |
10 | class TGColorSelect; | |
11 | ||
12 | namespace Reve { | |
13 | ||
14 | class Line; | |
15 | ||
16 | class LineEditor : public TGedFrame | |
17 | { | |
18 | private: | |
19 | LineEditor(const LineEditor&); // Not implemented | |
20 | LineEditor& operator=(const LineEditor&); // Not implemented | |
21 | ||
22 | protected: | |
23 | Line* fM; // fModel dynamic-casted to LineEditor | |
24 | ||
25 | TGCheckButton *fRnrLine; | |
26 | TGCheckButton *fRnrPoints; | |
27 | ||
28 | public: | |
29 | LineEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
30 | virtual ~LineEditor(); | |
31 | ||
32 | virtual void SetModel(TObject* obj); | |
33 | ||
34 | void DoRnrLine(); | |
35 | void DoRnrPoints(); | |
36 | ||
37 | ClassDef(LineEditor, 1); // Editor for Line | |
38 | }; // endclass LineEditor | |
39 | ||
40 | } | |
41 | ||
42 | #endif |