Make the Scan method public
[u/mrichter/AliRoot.git] / MUON / AliMUONAttPainterSelectorFrame.h
CommitLineData
0145e89a 1#ifndef ALIMUONATTPAINTERSELECTORFRAME_H
2#define ALIMUONATTPAINTERSELECTORFRAME_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup graphics
10/// \class AliMUONAttPainterSelectorFrame
11/// \brief Widget to select the painter(s) view type
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef ROOT_TGFrame
16# include "TGFrame.h"
17#endif
0145e89a 18#ifndef ALIMUONATTPAINTER_H
19# include "AliMUONAttPainter.h"
20#endif
21
22class TGButtonGroup;
23
24class AliMUONAttPainterSelectorFrame : public TGHorizontalFrame
25{
0145e89a 26public:
27 AliMUONAttPainterSelectorFrame(TGWindow* p=0x0, UInt_t w=1, UInt_t h=1);
28 virtual ~AliMUONAttPainterSelectorFrame();
29
30 void Update(const AliMUONAttPainter& att);
31
57e2ad1a 32 void Clicked(const AliMUONAttPainter* newValues); // *SIGNAL*
0145e89a 33
34 void CathodeClicked(Int_t buttonId);
35
36 void PlaneClicked(Int_t buttonId);
37
38 void ViewClicked(Int_t buttonId);
39
40private:
41 /// Not implemented
42 AliMUONAttPainterSelectorFrame(const AliMUONAttPainterSelectorFrame& rhs);
43 /// Not implemented
44 AliMUONAttPainterSelectorFrame& operator=(const AliMUONAttPainterSelectorFrame& rhs);
45
46private:
47
48 TGButtonGroup* fCathode; ///< cathode selection buttons
49 TGButtonGroup* fPlane; ///< plane selection buttons
50 TGButtonGroup* fViewPoint; ///< viewpoint selection buttons
51
52 AliMUONAttPainter fAttributes; ///< attributes
53
54 ClassDef(AliMUONAttPainterSelectorFrame,1) // Widget to select painter view type
55};
56
57#endif