1 #ifndef ALIDETECTORFRAME_H
2 #define ALIDETECTORFRAME_H
4 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /////////////////////////////////////////////////////////////////////////
8 // ALICE DETECTOR FRAME CLASS //
9 // Author: Mayeul ROUSSELET //
10 // e-mail: Mayeul.Rousselet@cern.ch //
11 // Last update:26/08/2003 //
12 /////////////////////////////////////////////////////////////////////////
15 #include <RQ_OBJECT.h>
18 class TGCompositeFrame;
22 class AliDetectorFrame{
23 //This classe implements the frame which contains the list of enabled detectors
24 //and allows the user to change the current status of the detector (enabled/disabled)
28 AliDetectorFrame(const TGWindow *p, Int_t w, Int_t h,UInt_t bgc);
29 virtual ~AliDetectorFrame();
31 TGCompositeFrame* GetDetectorFrame(){return fMainFrame;};
34 void DoButton(Int_t pos=0);
35 void DoCheckButton(Int_t pos=0);
36 void DoSpecific() const;
40 TGCompositeFrame *fMainFrame; // Main frame
41 TGCompositeFrame *fButtonFrame; // Button frame
42 TGCheckButton **fCheckButton; // Array of checked buttons
43 TGTextButton *fButtonAll; // Button for "All"
44 TGTextButton *fButtonInvert; // Button for "Invert"
45 Bool_t *fCheckedButton; //fEnabledButton[i]=kTRUE if button checked
46 Int_t *fCheckButtonId; // Array of IDs for checked buttons
47 Bool_t fCheckedMode; // Flag for checked mode
48 static int fgBaseId; // Base ID???
50 RQ_OBJECT("AliDetectorFrame")
52 ClassDef(AliDetectorFrame,0);