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

Last change on this file since 991 was 959, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 895 bytes
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
12/*
13 #ifndef MBROWSER_H
14 #include <MBrowser.h>
15 #endif
16 */
17
18class TList;
19class TGVerticalFrame;
20class TGLayoutHints;
21
22class MMars : public TGMainFrame
23{
24private:
25
26 TList *fList;
27
28 const TGPicture *fPic1;
29 const TGPicture *fPic2;
30
31 void CreateTextButton(TGVerticalFrame *tab, const char *text,
32 const UInt_t id, TGLayoutHints *hints) const;
33
34 void CreateMenuBar();
35 void CreateTopFrame(TGHorizontalFrame *top);
36 void CreateBottomFrame(TGHorizontalFrame *low);
37
38 void DisplWarning(const char *txt);
39
40public:
41 MMars(UInt_t w=400, UInt_t h=500);
42
43 ~MMars();
44
45 void CloseWindow();
46
47 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
48
49 ClassDef(MMars, 0) // GUI: Mars - the main window
50};
51
52#endif
53
54
Note: See TracBrowser for help on using the repository browser.