]> git.uio.no Git - u/mrichter/AliRoot.git/blob - DISPLAY/AliSettingFrame.h
Initialize arrays in constructor (Ivana)
[u/mrichter/AliRoot.git] / DISPLAY / AliSettingFrame.h
1 #ifndef ALISETTINGFRAME_H
2 #define ALISETTINGFRAME_H
3 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /////////////////////////////////////////////////////////////////////////
7 // ALICE SETTING FRAME CLASS                                           //
8 // Author: Mayeul   ROUSSELET                                          //
9 // e-mail: Mayeul.Rousselet@cern.ch                                    //
10 // Last update:26/08/2003                                              //
11 /////////////////////////////////////////////////////////////////////////
12
13 #include <Rtypes.h>
14 #include <RQ_OBJECT.h>
15
16 class TGWindow;
17 class TGCompositeFrame;
18 class TGLayoutHints;
19 class TGNumberEntryField;
20 class TGLabel;
21 class TGCheckButton;
22
23 class AliSettingFrame:public TGTransientFrame{
24   //This classe implement the setting frame where the different otption can be set
25
26 public:
27
28  AliSettingFrame(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h);
29  virtual ~AliSettingFrame();
30
31  //Slots
32  void                                   DoSettings(Int_t id=0) const;
33
34 private:
35
36  TGCompositeFrame               *fMainFrame; // Main frame
37  TGCompositeFrame               *fZoomStepFrame; // Zoom step frame
38  TGLayoutHints                  *fZoomStepLayout; // Zoom step layout
39  TGNumberEntryField             *fZoomStepEntry; // Zoom step entry
40  TGLabel                        *fZoomStepLabel; // zoom step label
41  TGCompositeFrame               *fSliderStepFrame; // Slider step frame
42  TGLayoutHints                  *fSliderStepLayout; // Slider step layout
43  TGNumberEntryField             *fSliderStepEntry; // Slider step entry
44  TGLabel                        *fSliderStepLabel; // Slider step label
45  TGCompositeFrame               *fSliderUpdateFrame; // Slider update frame
46  TGLayoutHints                  *fSliderUpdateLayout;// Slider update layout
47  TGCheckButton                  *fSliderUpdateButton; // Slider update button
48  Bool_t                         fIsLoading;//Used when retrieving the state of the check button
49
50  RQ_OBJECT("AliSettingFrame")
51
52  ClassDef(AliSettingFrame,0);
53 };
54
55 #endif