]>
Commit | Line | Data |
---|---|---|
8d68ee9f | 1 | // $Id$ |
2 | // Category: interfaces | |
3 | // | |
4 | // Author: D. Adamova | |
208c9539 | 5 | // |
8d68ee9f | 6 | //====================================================== |
7 | // | |
8 | //------------TG4ListTreeFrame.h--------------------------------// | |
9 | //---------Frame for the ListTree container---// | |
10 | // | |
11 | //======================================================= | |
12 | ||
13 | #ifndef TG4_LISTTREE_FRAME_H | |
14 | #define TG4_LISTTREE_FRAME_H | |
15 | ||
16 | #include <TGFrame.h> | |
17 | #include <TObject.h> | |
18 | ||
19 | class TGListTreeItem; | |
20 | class TGListTree; | |
21 | class TGCanvas; | |
208c9539 | 22 | class TGTab; |
23 | class TGPicture; | |
8d68ee9f | 24 | |
25 | class TG4ListTreeFrame : public TObject { | |
26 | public: | |
27 | ||
208c9539 | 28 | TG4ListTreeFrame( TGTab* tab, TGMainFrame* actionFrame); |
8d68ee9f | 29 | virtual ~TG4ListTreeFrame(); |
30 | ||
208c9539 | 31 | Bool_t ProcessSubMessage(Long_t msg, Long_t parm1); |
8d68ee9f | 32 | void DrawSelectedVolume(TGListTreeItem* item); |
208c9539 | 33 | TGListTreeItem* |
34 | AddItem(TObject* obj, TGListTreeItem* parent,const char* name, | |
35 | const TGPicture* open, const TGPicture* closed); | |
65b5af58 | 36 | void SendCloseMessage(); |
8d68ee9f | 37 | //--------------------------------------------------------------------------- |
38 | ||
39 | protected: | |
40 | ||
41 | TG4ListTreeFrame& operator=(const TG4ListTreeFrame& ltf); | |
42 | TG4ListTreeFrame(const TG4ListTreeFrame& ltf); | |
43 | //---------------------------------------------------- | |
44 | ||
45 | private: | |
46 | ||
47 | TGCanvas* fCanvasWindow; // Canvas window for the list tree | |
48 | TGListTree* fVolumesListTree; // volumes list tree | |
49 | ||
50 | ClassDef(TG4ListTreeFrame,0) // the frame for the volumes list tree | |
51 | }; | |
52 | ||
53 | // | |
54 | ||
55 | #endif |