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
|
#ifndef MEPlotWindow_hh
#define MEPlotWindow_hh
#include <TGFrame.h>
#include "MECanvasHolder.hh"
class MusEcalGUI;
class TRootEmbeddedCanvas;
class MEPlotWindow : public MECanvasHolder
{
private:
MusEcalGUI* _gui;
TGTransientFrame *fMain;
bool fClose;
TGHorizontalFrame* fHFrame;
TRootEmbeddedCanvas* fEcanvas;
TString _name;
TString _printName;
public:
MEPlotWindow( const TGWindow *p, MusEcalGUI* main, const char* name, UInt_t w, UInt_t h,
const char* str1="",
const char* str2="",
const char* str3="",
const char* str4=""
);
virtual ~MEPlotWindow();
void setPrintName( TString printName );
TString name() { return _name; }
void write();
virtual void setPxAndPy( int px, int py );
// slots
void CloseWindow();
void DoClose();
ClassDef(MEPlotWindow,0) // MEPlotWindow --
};
#endif
|