#ifndef MMARS_H #define MMARS_H #ifndef MAGIC_H #include "MAGIC.h" #endif #ifndef ROOT_TGFrame #include #endif class TGTab; class TGMenuBar; class TGPopupMenu; class TGTextButton; class TGPictureButton; class TGHorizontal3DLine; class MMars : public TGMainFrame { private: // // Create a main frame with a number of different buttons. // // the things for the menu bar TGMenuBar *fMenuBar ; TGPopupMenu *fFileMenu ; TGLayoutHints *fLayMenuBar; TGLayoutHints *fLayMenuItem ; TGHorizontal3DLine *fLineSep ; // divide the Window in two different parts TGHorizontalFrame *fTop ; // top part of the main window TGHorizontal3DLine *fLineSep2 ; TGHorizontalFrame *fLow ; // low part of the main window TGTab *fTab ; // different tabs in the low window // the object in the top part of the frame TGPictureButton *fPicMagic; TGPictureButton *fPicMars ; // the object in the low part of the frame TGVerticalFrame *fTabF1; TGVerticalFrame *fTabF2 ; TGTextButton *fButEvtDisp; TGTextButton *fButDataCheck; TGTextButton *fButAnalys; TGTextButton *fButMonteCarlo ; TGLayoutHints *fButLayout ; void DisplWarning(const char *txt); public: MMars(UInt_t w=400, UInt_t h=500) ; ~MMars(); void CloseWindow() ; Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2); ClassDef(MMars, 0) // GUI: Mars - the main window } ; #endif