source: trunk/MagicSoft/Mars/mbase/MGGroupFrame.h@ 2041

Last change on this file since 2041 was 2015, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MGGroupFrame
2#define MARS_MGGroupFrame
3
4#ifndef ROOT_TGFrame
5#include <TGFrame.h>
6#endif
7#ifndef ROOT_TGWidget
8#include <TGWidget.h>
9#endif
10
11class MGTask;
12class MGList;
13
14class MGGroupFrame : public TGGroupFrame, public TGWidget
15{
16 MGTask *fTask;
17 MGList *fList;
18
19public:
20 MGGroupFrame(MGTask *task,
21 const TGWindow *p, TGString *title,
22 UInt_t options = kVerticalFrame,
23 GContext_t norm=GetDefaultGC()(),
24 FontStruct_t font=GetDefaultFontStruct(),
25 ULong_t back=GetDefaultFrameBackground());
26 MGGroupFrame(MGTask *task,
27 const TGWindow *p, const char *title,
28 UInt_t options = kVerticalFrame,
29 GContext_t norm=GetDefaultGC()(),
30 FontStruct_t font=GetDefaultFontStruct(),
31 ULong_t back=GetDefaultFrameBackground());
32 virtual ~MGGroupFrame();
33
34 void AddToList(TObject *obj);
35 TObject *FindWidget(Int_t id) const;
36
37 virtual Bool_t ProcessMessage(Long_t msg, Long_t param1, Long_t param2);
38
39 ClassDef(MGGroupFrame, 0) // An interface to widgets in a group frame (makes live easier)
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.