source: trunk/Mars/mmain/MGDisplayAdc.h@ 16284

Last change on this file since 16284 was 2503, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MGDisplayAdc
2#define MARS_MGDisplayAdc
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=NULL, const TGWindow *main=NULL,
44 UInt_t w=800, UInt_t h=500,
45 UInt_t options = kMainFrame|kVerticalFrame);
46 ~MGDisplayAdc();
47
48 void CloseWindow();
49
50 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
51
52 ClassDef(MGDisplayAdc, 0)
53};
54
55#endif
56
57
Note: See TracBrowser for help on using the repository browser.