]>
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; | |
a8600b56 | 9 | class TGComboBox; |
915dabe1 | 10 | |
092578a7 | 11 | |
915dabe1 | 12 | namespace Alieve { |
13 | ||
14 | class TPCSector2D; | |
15 | ||
16 | class TPCSector2DEditor : public TGedFrame | |
17 | { | |
265ecb21 | 18 | TPCSector2DEditor(const TPCSector2DEditor&); // Not implemented |
19 | TPCSector2DEditor& operator=(const TPCSector2DEditor&); // Not implemented | |
20 | ||
915dabe1 | 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; |
a8600b56 | 28 | TGCheckButton* fPickEmpty; |
29 | TGComboBox* fPickMode; | |
915dabe1 | 30 | |
31 | public: | |
a8600b56 | 32 | TPCSector2DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, |
33 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
915dabe1 | 34 | ~TPCSector2DEditor(); |
35 | ||
a8600b56 | 36 | virtual void SetModel(TObject* obj); |
915dabe1 | 37 | |
915dabe1 | 38 | void DoShowMax(); |
b56d8877 | 39 | void DoAverage(); |
40 | void SetupAverage(); | |
092578a7 | 41 | |
42 | void DoUseTexture(); | |
a8600b56 | 43 | void DoPickEmpty(); |
44 | void DoPickMode(Int_t mode); | |
092578a7 | 45 | |
915dabe1 | 46 | ClassDef(TPCSector2DEditor, 0); // Editor for TPCSector2D |
47 | }; // endclass TPCSector2DEditor | |
48 | ||
49 | } | |
50 | ||
51 | #endif |