source: trunk/MagicSoft/Cosy/gui/MGCoordinates.h@ 7790

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