1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
#ifndef MELeafPanel_hh
#define MELeafPanel_hh
#include <TGFrame.h>
#include <TGButton.h>
#include <TGListBox.h>
#include <vector>
class MusEcalGUI;
class MELeafPanel {
private:
TGTransientFrame *fMain;
TGVerticalFrame *fVframe1;
TGHorizontalFrame *fHframe1;
TGHorizontalFrame *fHframe2;
TGListBox* fVarBox;
TGListBox* fZoomBox;
TGTextButton* fPlotButton;
TGTextButton* fDiffPlotButton;
TGTextButton* fOneLevelUpButton;
TGLayoutHints* fHint1;
TGLayoutHints* fHint2;
TGLayoutHints* fHint3;
TGLayoutHints* fHint4;
TGLayoutHints* fHint5;
MusEcalGUI* _gui;
int _type;
int _color;
int _var;
int _zoom;
public:
MELeafPanel( const TGWindow *p, MusEcalGUI* main, UInt_t w, UInt_t h );
virtual ~MELeafPanel();
// slots
void CloseWindow();
void DoClose();
void DoPlot();
void DoDiffPlot();
void DoOneLevelUp();
void SetVar(int);
void SetZoom(int);
ClassDef(MELeafPanel,0) // MELeafPanel --
};
#endif
|