Last change
on this file since 711 was 710, checked in by tbretz, 24 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
1.5 KB
|
Line | |
---|
1 | #ifndef MGMARSMAIN_H
|
---|
2 | #define MGMARSMAIN_H
|
---|
3 |
|
---|
4 | #ifndef MAGIC_H
|
---|
5 | #include "MAGIC.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef ROOT_TGFrame
|
---|
9 | #include <TGFrame.h>
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class TGTab;
|
---|
13 | class TGMenuBar;
|
---|
14 | class TGPopupMenu;
|
---|
15 | class TGTextButton;
|
---|
16 | class TGPictureButton;
|
---|
17 | class TGHorizontal3DLine;
|
---|
18 |
|
---|
19 | class MGMarsMain : public TGMainFrame {
|
---|
20 | private:
|
---|
21 |
|
---|
22 | //
|
---|
23 | // Create a main frame with a number of different buttons.
|
---|
24 | //
|
---|
25 |
|
---|
26 | // the things for the menu bar
|
---|
27 |
|
---|
28 | TGMenuBar *fMenuBar ;
|
---|
29 | TGPopupMenu *fFileMenu ;
|
---|
30 | TGLayoutHints *fLayMenuBar;
|
---|
31 | TGLayoutHints *fLayMenuItem ;
|
---|
32 | TGHorizontal3DLine *fLineSep ;
|
---|
33 |
|
---|
34 | // divide the Window in two different parts
|
---|
35 |
|
---|
36 | TGHorizontalFrame *fTop ; // top part of the main window
|
---|
37 | TGHorizontal3DLine *fLineSep2 ;
|
---|
38 | TGHorizontalFrame *fLow ; // low part of the main window
|
---|
39 | TGTab *fTab ; // different tabs in the low window
|
---|
40 |
|
---|
41 | // the object in the top part of the frame
|
---|
42 |
|
---|
43 | TGPictureButton *fPicMagic;
|
---|
44 | TGPictureButton *fPicMars ;
|
---|
45 |
|
---|
46 | // the object in the low part of the frame
|
---|
47 |
|
---|
48 | TGVerticalFrame *fTabF1;
|
---|
49 | TGVerticalFrame *fTabF2 ;
|
---|
50 |
|
---|
51 | TGTextButton *fButEvtDisp;
|
---|
52 | TGTextButton *fButDataCheck;
|
---|
53 | TGTextButton *fButAnalys;
|
---|
54 | TGTextButton *fButMonteCarlo ;
|
---|
55 | TGLayoutHints *fButLayout ;
|
---|
56 |
|
---|
57 | public:
|
---|
58 | MGMarsMain(/*const TGWindow *p,*/ UInt_t w, UInt_t h) ;
|
---|
59 |
|
---|
60 | ~MGMarsMain();
|
---|
61 |
|
---|
62 | void CloseWindow() ;
|
---|
63 |
|
---|
64 | Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
|
---|
65 |
|
---|
66 | ClassDef(MGMarsMain, 0)
|
---|
67 | } ;
|
---|
68 |
|
---|
69 | #endif
|
---|
70 |
|
---|
71 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.