source: trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.h@ 958

Last change on this file since 958 was 958, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MGDISPLAYADC_H
2#define MGDISPLAYADC_H
3
4#ifndef ROOT_TFrame
5#include <TGFrame.h> // TGTransientFrame
6#endif
7
8class TList;
9class TCanvas;
10
11class MHFadcCam;
12
13class TGVSlider;
14class TGListBox;
15class TGTextButton;
16class TGRadioButton;
17class TRootEmbeddedCanvas;
18
19class MGDisplayAdc : public TGTransientFrame
20{
21private:
22 MHFadcCam *fHists; // Pointer to Container with the histograms
23
24 TList *fList;
25 TCanvas *fCanvas;
26 TGVSlider *fSlider;
27 TGListBox *fHistoList;
28
29 Int_t fHistoType;
30
31 void AddFrameTop(TGHorizontalFrame *frame);
32 void AddFrameLow(TGHorizontalFrame *frame);
33
34 //
35 // Create a main frame with a number of different buttons.
36 //
37 void UpdateHist();
38 Bool_t BuildHistoList();
39
40public:
41
42 MGDisplayAdc(MHFadcCam *fHists ,
43 const TGWindow *p, const TGWindow *main,
44 UInt_t w, UInt_t h,
45 UInt_t options = kMainFrame | kVerticalFrame );
46
47 ~MGDisplayAdc();
48
49 void CloseWindow();
50
51 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
52};
53
54#endif
55
56
Note: See TracBrowser for help on using the repository browser.