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

Last change on this file since 1038 was 1016, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 846 bytes
Line 
1#ifndef MARS_MMars
2#define MARS_MMars
3
4#ifndef MMARS_MAGIC
5#include "MAGIC.h"
6#endif
7
8#ifndef ROOT_TGFrame
9#include <TGFrame.h>
10#endif
11
12class TList;
13class TGVerticalFrame;
14class TGLayoutHints;
15
16class MMars : public TGMainFrame
17{
18private:
19
20 TList *fList;
21
22 const TGPicture *fPic1;
23 const TGPicture *fPic2;
24
25 void CreateTextButton(TGVerticalFrame *tab, const char *text,
26 const UInt_t id, TGLayoutHints *hints) const;
27
28 void CreateMenuBar();
29 void CreateTopFrame(TGHorizontalFrame *top);
30 void CreateBottomFrame(TGHorizontalFrame *low);
31
32 void DisplWarning(const char *txt);
33
34public:
35 MMars(UInt_t w=400, UInt_t h=500);
36
37 ~MMars();
38
39 void CloseWindow();
40
41 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
42
43 ClassDef(MMars, 0) // GUI: Mars - the main window
44};
45
46#endif
47
48
Note: See TracBrowser for help on using the repository browser.