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

Last change on this file since 1105 was 921, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 833 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#ifndef COORD_H
14#include "coord.h"
15#endif
16
17enum {
18 kETypeZdAz,
19 kETypeRaDec
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 Bool_t flag=kTRUE,
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
42#endif // MGIMAGE_H
Note: See TracBrowser for help on using the repository browser.