]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/StraightLineSetEditor.h
First big commit of the mchview program and its accompanying library,
[u/mrichter/AliRoot.git] / EVE / Reve / StraightLineSetEditor.h
1 // $Header$
2
3 #ifndef REVE_StraightLineSetEditor_H
4 #define REVE_StraightLineSetEditor_H
5
6 #include <TGedFrame.h>
7
8 class TGCheckButton;
9 class TGNumberEntry;
10 class TGColorSelect;
11
12 namespace Reve {
13
14 class StraightLineSet;
15
16 class StraightLineSetEditor : public TGedFrame
17 {
18 private:
19   StraightLineSetEditor(const StraightLineSetEditor&);            // Not implemented
20   StraightLineSetEditor& operator=(const StraightLineSetEditor&); // Not implemented
21
22 protected:
23   StraightLineSet* fM; // fModel dynamic-casted to StraightLineSetEditor
24
25   // Declare widgets
26   TGCheckButton*     fRnrMarkers;
27   TGCheckButton*     fRnrLines;
28
29 public:
30   StraightLineSetEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
31   virtual ~StraightLineSetEditor();
32
33   virtual void SetModel(TObject* obj);
34
35   // Declare callback/slot methods
36   void DoRnrMarkers();
37   void DoRnrLines();
38
39   ClassDef(StraightLineSetEditor, 1); // Editor for StraightLineSet
40 }; // endclass StraightLineSetEditor
41
42 }
43
44 #endif