]>
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 | ||
092578a7 | 14 | |
915dabe1 | 15 | namespace Alieve { |
16 | ||
17 | class TPCSector2D; | |
18 | ||
19 | class TPCSector2DEditor : public TGedFrame | |
20 | { | |
21 | protected: | |
22 | TPCSector2D* fM; // fModel dynamic-casted to TPCSector2DEditor | |
23 | ||
915dabe1 | 24 | TGCheckButton* fShowMax; |
b56d8877 | 25 | TGCheckButton* fAverage; |
915dabe1 | 26 | |
092578a7 | 27 | TGCheckButton* fUseTexture; |
915dabe1 | 28 | |
29 | public: | |
30 | TPCSector2DEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()); | |
31 | ~TPCSector2DEditor(); | |
32 | ||
33 | virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event); | |
915dabe1 | 34 | |
915dabe1 | 35 | void DoShowMax(); |
b56d8877 | 36 | void DoAverage(); |
37 | void SetupAverage(); | |
092578a7 | 38 | |
39 | void DoUseTexture(); | |
40 | ||
915dabe1 | 41 | ClassDef(TPCSector2DEditor, 0); // Editor for TPCSector2D |
42 | }; // endclass TPCSector2DEditor | |
43 | ||
44 | } | |
45 | ||
46 | #endif |