Last change
on this file since 19260 was 19240, checked in by tbretz, 6 years ago |
Allow to link the marslogo into the shared object so that no path is required.
|
File size:
771 bytes
|
Line | |
---|
1 | #ifndef MARS_MGList
|
---|
2 | #define MARS_MGList
|
---|
3 |
|
---|
4 | #ifndef ROOT_TList
|
---|
5 | #include <TList.h>
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TGWidget;
|
---|
9 | class TGPicture;
|
---|
10 |
|
---|
11 | class MGList : public TList
|
---|
12 | {
|
---|
13 | private:
|
---|
14 | TGWidget *GetWidget(TObject *obj) const;
|
---|
15 | Bool_t IsExisting(TObject *obj) const;
|
---|
16 |
|
---|
17 | void AddPicture(TGPicture *pic, const char *name);
|
---|
18 | void DeletePictures();
|
---|
19 |
|
---|
20 | public:
|
---|
21 | MGList();
|
---|
22 | ~MGList();
|
---|
23 |
|
---|
24 | void Add(TObject *obj);
|
---|
25 | void Add(TObject *obj, Option_t *opt);
|
---|
26 |
|
---|
27 | void Delete(Option_t *option="");
|
---|
28 |
|
---|
29 | const TGPicture *GetPicture(const char *name);
|
---|
30 | const TGPicture *GetPicture(const char *name, Int_t width, Int_t height);
|
---|
31 | const TGPicture *GetPicture(const char *name, const char *xpm[]);
|
---|
32 |
|
---|
33 | TObject *FindWidget(Int_t id) const;
|
---|
34 |
|
---|
35 | ClassDef(MGList, 0)
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.