]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant3/AliGuiGeomDialog.h
Coding convention rules obeyed
[u/mrichter/AliRoot.git] / TGeant3 / AliGuiGeomDialog.h
1 #ifndef ALIGUIGEOMDIALOG_H
2 #define ALIGUIGEOMDIALOG_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
10 class AliGUISliders;
11 class TGButton;
12 class TGComboBox;
13 class TGLabel;
14 class TGTab;
15 class TGTextBuffer;
16 class TGTextEntry;
17 class TGDoubleHSlider;
18 class AliDrawVolume;
19
20 class AliGuiGeomDialog : public TGTransientFrame {
21 public:
22    AliGuiGeomDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
23                UInt_t options = kMainFrame | kVerticalFrame);
24    virtual ~AliGuiGeomDialog();
25 // Destroy this window
26    virtual void CloseWindow();
27 // Process messages from this window    
28    virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
29 // Update widgets   
30    virtual void Update();
31 private:
32     AliGUISliders       *fF1;                                          // Slider for Draw Control
33     TGCompositeFrame    *fFrame1, *fF2, *fF3, *fF4;                            // Outer frames
34     TGButton            *fOkButton, *fCancelButton;                            // Buttons
35     TGButton            *fChk1, *fChk2, *fChk3;                                // Buttons
36     TGComboBox          *fCombo, *fCombo2;                                     // Combo Boxes
37     TGLabel             *fLabel1, *fLabel2;                                    // Labels
38     TGTab               *fTab;                                                 // Tab Entries
39     TGLayoutHints       *fL1, *fL2, *fL3, *fL4, *fBly, *fBfly1;                // Layout hints
40     TGHorizontalFrame   *fHSframe1, *fHSframe2, *fHSframe3;                    // Horizontal frames
41     TGTextBuffer        *fTbh11, *fTbh12, *fTbh21, *fTbh22, *fTbh31, *fTbh32;  // Text buffers
42     TGTextEntry         *fTeh11, *fTeh12, *fTeh21, *fTeh22, *fTeh31, *fTeh32;  // Text Entries
43     TGDoubleHSlider     *fDslider1, *fDslider2, *fDslider3;                    // Sliders for clip box
44     TGLabel             *fSLabel1,  *fSLabel2,  *fSLabel3;                     // Labels
45
46 private:
47   AliGuiGeomDialog(const AliGuiGeomDialog& gd):
48     TGTransientFrame((const TGTransientFrame&)gd) {}
49   virtual AliGuiGeomDialog & operator=(const AliGuiGeomDialog &) 
50   {return *this;}
51 };
52
53 R__EXTERN AliDrawVolume  *gCurrentVolume;
54
55 #endif