source: trunk/MagicSoft/Mars/mmain/MMars.h@ 770

Last change on this file since 770 was 765, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 1.5 KB
Line 
1#ifndef MMARS_H
2#define MMARS_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 MMars : 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 void DisplWarning(const char *txt);
58
59 public:
60 MMars(UInt_t w=400, UInt_t h=500) ;
61
62 ~MMars();
63
64 void CloseWindow() ;
65
66 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
67
68 ClassDef(MMars, 0) // GUI: Mars - the main window
69} ;
70
71#endif
72
73
Note: See TracBrowser for help on using the repository browser.