]>
Commit | Line | Data |
---|---|---|
915dabe1 | 1 | // $Header$ |
2 | ||
3 | #ifndef ALIEVE_TPCSector2DEditor_H | |
4 | #define ALIEVE_TPCSector2DEditor_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 TPCSector2D; | |
17 | ||
18 | class TPCSector2DEditor : public TGedFrame | |
19 | { | |
20 | protected: | |
21 | TPCSector2D* fM; // fModel dynamic-casted to TPCSector2DEditor | |
22 | ||
23 | TGCheckButton* fUseTexture; | |
24 | ||
25 | TGNumberEntry* fSectorID; | |
26 | ||
27 | TGLabel* fThresholdLabel; | |
28 | TGLabel* fMaxValLabel; | |
29 | TGHSlider* fthreshold; | |
30 | TGHSlider* fMaxVal; | |
31 | ||
32 | TGCheckButton* fShowMax; | |
33 | ||
34 | TGDoubleHSlider* fTime; | |
35 | ||
36 | public: | |
37 | TPCSector2DEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()); | |
38 | ~TPCSector2DEditor(); | |
39 | ||
40 | virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event); | |
41 | virtual Bool_t CanEditMainColor() { return true; } | |
42 | ||
43 | // void DoXYZZ(); | |
44 | void DoUseTexture(); | |
45 | ||
46 | void DoSectorID(); | |
47 | ||
48 | void Dothreshold(); | |
49 | void DoMaxVal(); | |
50 | void DoShowMax(); | |
51 | void DoTime(); | |
52 | ||
53 | ClassDef(TPCSector2DEditor, 0); // Editor for TPCSector2D | |
54 | }; // endclass TPCSector2DEditor | |
55 | ||
56 | } | |
57 | ||
58 | #endif |