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

Last change on this file since 4308 was 1111, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 834 bytes
Line 
1#ifndef MGCOORDINATES_H
2#define MGCOORDINATES_H
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,
18 kETypeRaDec
19};
20
21class MGCoordinate;
22
23class MGCoordinates : public TGFrame
24{
25 MGCoordinate *fX;
26 MGCoordinate *fY;
27
28public:
29 MGCoordinates(const TGWindow* p, const Int_t type=kETypeZdAz,
30 const Bool_t flag=kTRUE,
31 const Int_t deg1=0, const UInt_t min1=0, const UInt_t sec1=0,
32 const Int_t deg2=0, const UInt_t min2=0, const UInt_t sec2=0);
33 ~MGCoordinates();
34
35 XY GetCoordinates() const;
36 void SetCoordinates(const XY &xy);
37
38 void Print();
39
40 ClassDef(MGCoordinates, 0)
41};
42
43#endif // MGIMAGE_H
Note: See TracBrowser for help on using the repository browser.