]>
Commit | Line | Data |
---|---|---|
32e219c2 | 1 | #ifndef ROOT_TGClassBrowser |
2 | #define ROOT_TGClassBrowser | |
3 | ||
4 | #ifndef ROOT_TGFrame | |
5 | #include "TGFrame.h" | |
6 | #endif | |
7 | ||
8 | class TGCanvas; | |
9 | class TGListTree; | |
10 | class TGListTreeItem; | |
11 | class TGPicture; | |
12 | ||
13 | class TGClassBrowser : public TGMainFrame { | |
14 | ||
15 | protected: | |
16 | TGCanvas *fCanvas; | |
17 | TGListTree *fListTree; | |
18 | const TGPicture *fClassIcon; | |
19 | const TGPicture *fMemberIcon; | |
20 | const TGPicture *fMethodIcon; | |
21 | ||
22 | public: | |
23 | TGClassBrowser(const TGWindow *p, UInt_t w, UInt_t h); | |
24 | virtual ~TGClassBrowser(); | |
25 | ||
26 | void DisplayClass(TGListTreeItem *item, const TString &fname); | |
27 | void DoubleClicked(TGListTreeItem *item, Int_t btn); | |
28 | ||
29 | ClassDef(TGClassBrowser, 0) // ROOT Classes browser | |
30 | }; | |
31 | ||
32 | #endif | |
33 |