]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4ListTreeFrame.h
Changed for new Aliroot version.
[u/mrichter/AliRoot.git] / TGeant4 / TG4ListTreeFrame.h
1 // $Id$
2 // Category: interfaces
3 //
4 // Author: D. Adamova
5 //
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;
22 class TGTab;
23 class TGPicture;
24
25 class TG4ListTreeFrame : public TObject {
26 public:   
27
28     TG4ListTreeFrame( TGTab* tab, TGMainFrame* actionFrame);
29     virtual ~TG4ListTreeFrame();
30
31     Bool_t ProcessSubMessage(Long_t msg, Long_t parm1);  
32     void DrawSelectedVolume(TGListTreeItem* item);
33     TGListTreeItem*
34         AddItem(TObject* obj, TGListTreeItem* parent,const char* name,
35                 const TGPicture* open, const TGPicture* closed);    
36     void SendCloseMessage();                
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