source: trunk/Cosy/gui/MGCoordinates.h@ 15765

Last change on this file since 15765 was 8838, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 821 bytes
Line 
1#ifndef COSY_MGCoordinates
2#define COSY_MGCoordinates
3
4#ifndef ROOT_TGFrame
5#include <TGFrame.h>
6#endif
7
8#ifndef MARS_MPointing
9#include "MPointing.h"
10#endif
11
12enum {
13 kETypeZdAz = BIT(0),
14 kETypeRaDec= BIT(1),
15 kETypeNone = BIT(3)
16};
17
18class MGCoordinate;
19
20class MGCoordinates : public TGFrame
21{
22 MGCoordinate *fX;
23 MGCoordinate *fY;
24
25public:
26 MGCoordinates(const TGWindow* p, const Int_t type=kETypeZdAz,
27 const Int_t flag=1,
28 const Int_t deg1=0, const UInt_t min1=0, const UInt_t sec1=0,
29 const Int_t deg2=0, const UInt_t min2=0, const UInt_t sec2=0);
30 ~MGCoordinates();
31
32 XY GetCoordinates() const;
33 void SetCoordinates(const XY &xy);
34
35 void Print(Option_t *o="") const;
36
37 ClassDef(MGCoordinates, 0)
38};
39
40#endif // COSY_MGCoordinates
Note: See TracBrowser for help on using the repository browser.