source: trunk/MagicSoft/Cosy/gui/MGStarg.h@ 6724

Last change on this file since 6724 was 4865, checked in by rwagner, 20 years ago
*** empty log message ***
File size: 745 bytes
Line 
1#ifndef MGSTARG_H
2#define MGSTARG_H
3
4#ifndef COSY_MGEmbeddedCanvas
5#include "MGEmbeddedCanvas.h"
6#endif
7
8class TGraph;
9class TLine;
10class TText;
11
12class ZdAz;
13
14class MGStarg : public MGEmbeddedCanvas
15{
16 TLine *fLin1;
17 TLine *fLin2;
18
19 TText *fTxt;
20
21 TLine *fBar;
22
23 TGraph *fGraph;
24
25 Double_t fTime;
26
27 void DrawCoordinateSystem();
28
29 void InitText();
30 void InitCross();
31 void InitBar();
32
33 void UpdateCross(Float_t x, Float_t y);
34 void UpdateText(Float_t acc);
35 void UpdateGraph(Float_t acc);
36 void Update(Float_t zd, Float_t x, Float_t y);
37
38public:
39 MGStarg(const TGWindow* p, const UInt_t w);
40 ~MGStarg();
41
42 void Update(ZdAz &pos, ZdAz &acc);
43
44 ClassDef(MGStarg, 0)
45};
46
47#endif // MGSTARG_H
Note: See TracBrowser for help on using the repository browser.