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