| 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 |
|
|---|
| 12 | class TList;
|
|---|
| 13 | class TGVerticalFrame;
|
|---|
| 14 | class TGLayoutHints;
|
|---|
| 15 |
|
|---|
| 16 | class MMars : public TGMainFrame
|
|---|
| 17 | {
|
|---|
| 18 | private:
|
|---|
| 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 |
|
|---|
| 34 | public:
|
|---|
| 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.