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

Last change on this file since 750 was 732, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 865 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
17class MGCoordinate;
18
19class MGCoordinates : public TGFrame
20{
21 MGCoordinate *fX;
22 MGCoordinate *fY;
23
24public:
25 MGCoordinates(const TGWindow* p,
26 const Bool_t flag=kTRUE,
27 const char *txt1="Coordinate1:",
28 const char *txt2="Coordinate2:",
29 const UInt_t deg1=0, const UInt_t min1=0, const UInt_t sec1=0,
30 const UInt_t deg2=0, const UInt_t min2=0, const UInt_t sec2=0);
31 ~MGCoordinates();
32
33 XY GetCoordinates() const;
34 void SetCoordinates(const XY &xy);
35
36 void Print();
37};
38
39#endif // MGIMAGE_H
Note: See TracBrowser for help on using the repository browser.