source: trunk/MagicSoft/Mars/mgui/MGMarsMain.h@ 701

Last change on this file since 701 was 698, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.3 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
12class TGTab;
13class TGMenuBar;
14class TGPopupMenu;
15class TGTextButton;
16class TGPictureButton;
17class TGHorizontal3DLine;
18
19class 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, *fLayMenuItem ;
31 TGHorizontal3DLine *fLineSep ;
32
33 // divide the Window in two different parts
34
35 TGHorizontalFrame *fTop ; // top part of the main window
36 TGHorizontal3DLine *fLineSep2 ;
37 TGHorizontalFrame *fLow ; // low part of the main window
38 TGTab *fTab ; // different tabs in the low window
39
40 // the object in the top part of the frame
41
42 TGPictureButton *fPicMagic, *fPicMars ;
43
44 // the object in the low part of the frame
45
46 TGVerticalFrame *fTabF1, *fTabF2 ;
47
48 TGTextButton *fButEvtDisp, *fButDataCheck, *fButAnalys, *fButMonteCarlo ;
49 TGLayoutHints *fButLayout ;
50
51 public:
52 MGMarsMain(const TGWindow *p, UInt_t w, UInt_t h) ;
53
54 ~MGMarsMain();
55
56 void CloseWindow() ;
57
58 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
59
60 ClassDef(MGMarsMain, 0)
61} ;
62
63#endif
64
65
Note: See TracBrowser for help on using the repository browser.