source: trunk/MagicSoft/Mars/mbase/MGList.h@ 2772

Last change on this file since 2772 was 1108, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 656 bytes
Line 
1#ifndef MARS_MGList
2#define MARS_MGList
3
4#ifndef ROOT_TList
5#include <TList.h>
6#endif
7
8class TGWidget;
9class TGPicture;
10
11class MGList : public TList
12{
13private:
14 TGWidget *GetWidget(TObject *obj) const;
15 Bool_t IsExisting(TObject *obj) const;
16
17 void AddPicture(const TGPicture *pic, const char *name);
18
19public:
20 MGList() : TList() {}
21 virtual ~MGList();
22
23 void Add(TObject *obj);
24 void Add(TObject *obj, Option_t *opt);
25
26 const TGPicture *GetPicture(const char *name);
27 const TGPicture *GetPicture(const char *name, Int_t width, Int_t height);
28
29 TObject *FindWidget(Int_t id) const;
30
31 ClassDef(MGList, 0)
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.