]>
Commit | Line | Data |
---|---|---|
7bb7ac14 | 1 | #ifndef ALIINFOFRAME_H |
2 | #define ALIINFOFRAME_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 INFO 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 TGCompositeFrame; | |
17 | class TGLabel; | |
18 | ||
19 | class AliInfoFrame{ | |
20 | //This class implements the info frame where the number of particles... are displayed | |
21 | ||
22 | public: | |
23 | ||
24 | AliInfoFrame(TGCompositeFrame *p, UInt_t w, UInt_t h); | |
25 | virtual ~AliInfoFrame(void); | |
26 | ||
27 | void AddLabel(const char *text, UInt_t options); | |
28 | TGCompositeFrame *GetInfoFrame() const {return fMainFrame;}; | |
29 | void Update(); | |
30 | ||
31 | private: | |
32 | ||
33 | TGCompositeFrame *fMainFrame; // Main frame | |
34 | TGCompositeFrame *fTitleFrame; // Title frame | |
35 | TGCompositeFrame *fFiguresFrame; // Fugures frame | |
36 | TGLabel *fNbParticuleLabel; // Label for particle number | |
37 | TGLabel *fNbEventLabel; // Label for event number | |
38 | TGLabel *fNbHitsLabel; // Label for hits number | |
39 | TGLabel *fNbClustersLabel; // Label for clusters number | |
40 | ||
41 | RQ_OBJECT("AliInfoFrame") | |
42 | ||
43 | ClassDef(AliInfoFrame,0); | |
44 | }; | |
45 | ||
46 | #endif |