source: trunk/MagicSoft/Cosy/gui/MGCosy.h@ 800

Last change on this file since 800 was 740, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MGCOSY_H
2#define MGCOSY_H
3
4#ifndef ROOT_TGFrame
5#include <TGFrame.h>
6#endif
7
8//#ifndef ROOT_TOrdCollection
9//#include <TOrdCollection.h>
10//#endif
11
12#ifndef ROOT_TGWidget
13#include <TGWidget.h>
14#endif
15
16#include <iostream.h>
17
18class TGLabel;
19class TGPopupMenu;
20class TGMenuBar;
21class TGHorizontal3DLine;
22class TGLayoutHints;
23class MsgQueue;
24class TIterator;
25class MGImage;
26class MGList;
27class MGCoordinates;
28
29class MGCosy : public TGMainFrame
30{
31private:
32
33 //
34 // Create a main frame with a number of different buttons.
35 //
36 TGLayoutHints *fLayMenuBar;
37 TGLayoutHints *fLayMenuItem;
38
39 MGList *fList;
40
41 TGLabel **fLabel1;
42 TGLabel **fLabel2;
43 TGLabel **fLabel3;
44
45 MGCoordinates *fCoord;
46
47 MsgQueue *fQueue;
48
49 void CreateMenu();
50 void CreateLabel();
51 void CreateButton();
52
53public:
54 MGCosy(MsgQueue *q, const TGWindow *p, UInt_t w, UInt_t h);
55 ~MGCosy();
56
57 void CloseWindow();
58
59 TGLabel **GetLabel1() { return fLabel1; }
60 TGLabel **GetLabel2() { return fLabel2; }
61 TGLabel **GetLabel3() { return fLabel3; }
62
63 Bool_t ProcessMessage(Long_t msg, Long_t mp1, Long_t mp2);
64};
65
66#endif
67
68
Note: See TracBrowser for help on using the repository browser.