]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/TPCSegmentEditor.h
This commit was generated by cvs2svn to compensate for changes in r13732,
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSegmentEditor.h
1 // $Header$
2
3 #ifndef ALIEVE_TPCSegmentEditor_H
4 #define ALIEVE_TPCSegmentEditor_H
5
6 #include <TGedFrame.h>
7
8 class TGCheckButton;
9 class TGNumberEntry;
10 class TGColorSelect;
11 class TGDoubleHSlider;
12 class TGHSlider;
13
14 namespace Alieve {
15
16   class TPCSegment;
17
18   class TPCSegmentEditor : public TGedFrame
19   {
20   protected:
21     TPCSegment* fM; // fModel dynamic-casted to TPCSegmentEditor
22
23     TGCheckButton*   fUseTexture;
24
25     TGNumberEntry*   fSegmentID;
26
27     TGHSlider*       fTreshold;
28     TGHSlider*       fMaxVal;
29
30     TGCheckButton*   fShowMax;
31
32     TGDoubleHSlider* fTime;
33
34   public:
35     TPCSegmentEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
36     ~TPCSegmentEditor();
37
38     virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
39     virtual Bool_t CanEditMainColor()  { return true; }
40
41     // void DoXYZZ();
42     void DoUseTexture();
43
44     void DoSegmentID();
45
46     void DoTreshold();
47     void DoMaxVal();
48     void DoShowMax();
49     void DoTime();
50  
51     ClassDef(TPCSegmentEditor, 1); // Editor for TPCSegment
52   }; // endclass TPCSegmentEditor
53
54 }
55
56 #endif