Last change
on this file since 9223 was 447, checked in by harald, 24 years ago |
Bringing the sources for the octobertest under CVS controll.
(november, 3rd, 2000)
|
File size:
1.6 KB
|
Line | |
---|
1 | #ifndef MGDISPLAYADC_H
|
---|
2 | #define MGDISPLAYADC_H
|
---|
3 |
|
---|
4 | #include <iostream.h>
|
---|
5 | #include <TROOT.h>
|
---|
6 | #include <TApplication.h>
|
---|
7 | #include <TSystem.h>
|
---|
8 | #include <TGClient.h>
|
---|
9 | #include <TGButton.h>
|
---|
10 | #include <TGMenu.h>
|
---|
11 | #include <TGTab.h>
|
---|
12 | #include <TGListBox.h>
|
---|
13 | #include <TGPicture.h>
|
---|
14 | #include <TRootEmbeddedCanvas.h>
|
---|
15 | #include <TCanvas.h>
|
---|
16 | #include <TGFSContainer.h>
|
---|
17 | #include <TGMsgBox.h>
|
---|
18 |
|
---|
19 | #include <TVirtualX.h>
|
---|
20 | #include <TGClient.h>
|
---|
21 |
|
---|
22 | #include "MHistosAdc.h"
|
---|
23 |
|
---|
24 | class MHistosAdc;
|
---|
25 |
|
---|
26 | enum ComIdentDisplayAdc {
|
---|
27 | M_BUTTON_SAVE,
|
---|
28 | M_BUTTON_PRINT,
|
---|
29 | M_BUTTON_PRINTALL,
|
---|
30 | M_BUTTON_CLOSE ,
|
---|
31 |
|
---|
32 | M_BUTTON_PREV,
|
---|
33 | M_BUTTON_NEXT,
|
---|
34 |
|
---|
35 | M_LIST_HISTO
|
---|
36 |
|
---|
37 | } ;
|
---|
38 |
|
---|
39 | class MGDisplayAdc : public TGTransientFrame {
|
---|
40 | private:
|
---|
41 |
|
---|
42 | MHistosAdc *fHists; // Pointer to Container with the histograms
|
---|
43 |
|
---|
44 | // Create a main frame with a number of different buttons.
|
---|
45 |
|
---|
46 | TGCompositeFrame *fFrameTop ; // top part of the main window
|
---|
47 | TGCompositeFrame *fFrameLow ; // low part of the main window
|
---|
48 |
|
---|
49 | TGVerticalFrame *fFT1, *fFT2, *fFT3 ;
|
---|
50 |
|
---|
51 | TGListBox *fHistoList ;
|
---|
52 | TGTextButton *fButtonPrev, *fButtonNext ;
|
---|
53 |
|
---|
54 | TRootEmbeddedCanvas *fECanv ;
|
---|
55 |
|
---|
56 | TGTextButton *fButtonSave, *fButtonPrint, *fButtonPrintAll, *fButtonClose ;
|
---|
57 |
|
---|
58 | TCanvas *fCanv ;
|
---|
59 |
|
---|
60 | public:
|
---|
61 |
|
---|
62 | MGDisplayAdc(MHistosAdc *fHists ,
|
---|
63 | const TGWindow *p, const TGWindow *main,
|
---|
64 | UInt_t w, UInt_t h,
|
---|
65 | UInt_t options = kMainFrame | kVerticalFrame ) ;
|
---|
66 |
|
---|
67 | ~MGDisplayAdc();
|
---|
68 |
|
---|
69 | void CloseWindow() ;
|
---|
70 |
|
---|
71 | Bool_t BuildHistoList() ;
|
---|
72 |
|
---|
73 | Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
|
---|
74 |
|
---|
75 | } ;
|
---|
76 |
|
---|
77 | #endif
|
---|
78 |
|
---|
79 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.