]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant3/AliGUISliders.h
Index on media and material arrays corrected
[u/mrichter/AliRoot.git] / TGeant3 / AliGUISliders.h
1 #ifndef ALIGUISLIDERS_H
2 #define ALIGUISLIDERS_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 #include "TGFrame.h"
9 #include "TGSlider.h"
10 #include "TGTextEntry.h"
11 #include "TGTextBuffer.h"
12 #include "TGLabel.h"
13
14 class AliG3Volume;
15
16 class AliGUISliders : public  TGCompositeFrame {
17 public:
18    AliGUISliders(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h);
19    virtual ~AliGUISliders();
20    virtual void CloseWindow();
21    virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
22    virtual void Update();
23 private:
24 //
25     TGHorizontalFrame *fHframe[8];       // 8 Horizontal frames for sliders
26     TGLayoutHints     *fBly, *fBfly1;    // Lay-out hints
27     TGHSlider         *fHslider[8];      // 8 Sliders
28     TGTextEntry       *fTeh[8];          // Text entries for slider position
29     TGTextBuffer      *fTbh[8];          // Text buffer  
30     TGLabel           *fLabel[8];        // Slider labels
31     Text_t            fLabelText[8];     // Label text 
32
33   AliGUISliders(const AliGUISliders &gs) :
34     TGCompositeFrame((const TGCompositeFrame&) gs) {}
35   AliGUISliders & operator=(const AliGUISliders &) {return *this;}
36   
37       
38    //   ClassDef(AliGUISliders,1)  // Window containing sliders 
39 };
40
41 R__EXTERN AliG3Volume  *gCurrentVolume;
42
43 #endif