|
Last change
on this file since 664 was 466, checked in by tbretz, 25 years ago |
|
see Changelog
|
-
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 |
|
|---|
| 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, *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, 1)
|
|---|
| 61 | } ;
|
|---|
| 62 |
|
|---|
| 63 | #endif
|
|---|
| 64 |
|
|---|
| 65 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.