#ifndef MARS_MMars #define MARS_MMars #ifndef MMARS_MAGIC #include "MAGIC.h" #endif #ifndef ROOT_TGFrame #include #endif class TList; class TGVerticalFrame; class TGLayoutHints; class MMars : public TGMainFrame { private: TList *fList; const TGPicture *fPic1; const TGPicture *fPic2; void CreateTextButton(TGVerticalFrame *tab, const char *text, const UInt_t id, TGLayoutHints *hints) const; void CreateMenuBar(); void CreateTopFrame(TGHorizontalFrame *top); void CreateBottomFrame(TGHorizontalFrame *low); void DisplWarning(const char *txt); public: MMars(); ~MMars(); void CloseWindow(); Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2); ClassDef(MMars, 0) // GUI: Mars - the main window }; #endif