]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Reve/LineEditor.h
First big commit of the mchview program and its accompanying library,
[u/mrichter/AliRoot.git] / EVE / Reve / LineEditor.h
CommitLineData
6f04ebee 1// $Header$
2
3#ifndef REVE_LineEditor_H
4#define REVE_LineEditor_H
5
6#include <TGedFrame.h>
7
8class TGCheckButton;
9class TGNumberEntry;
10class TGColorSelect;
11
12namespace Reve {
13
14class Line;
15
16class LineEditor : public TGedFrame
17{
18private:
19 LineEditor(const LineEditor&); // Not implemented
20 LineEditor& operator=(const LineEditor&); // Not implemented
21
22protected:
e9ef1a49 23 Line *fM; // Model object.
6f04ebee 24
e9ef1a49 25 TGCheckButton *fRnrLine; // Checkbox for line-rendering.
26 TGCheckButton *fRnrPoints; // Checkbox for point-rendering.
6f04ebee 27
28public:
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
e9ef1a49 37 ClassDef(LineEditor, 1); // Editor for Line class.
6f04ebee 38}; // endclass LineEditor
39
40}
41
42#endif