Changeset 921 for trunk/MagicSoft/Cosy/gui/MGCoordinates.cc
- Timestamp:
- 08/30/01 16:02:20 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/gui/MGCoordinates.cc
r808 r921 12 12 13 13 MGCoordinates::MGCoordinates(const TGWindow* p, 14 const Int_t type, 14 15 const Bool_t flag, 15 const char *txt1, const char *txt2,16 16 const Int_t deg1, const UInt_t min1, const UInt_t sec1, 17 17 const Int_t deg2, const UInt_t min2, const UInt_t sec2) 18 : TGFrame(p, 2 34, 76, kFixedSize)18 : TGFrame(p, 244, 76, kFixedSize) 19 19 { 20 const Int_t t = type==kETypeZdAz ? kETypeDeg : kETypeH; 21 const char *txt1 = type==kETypeZdAz ? "Zenith Dist [\xb0]:" : "Right Ascension [h]:"; 22 const char *txt2 = type==kETypeZdAz ? "Azimuth [\xb0]:" : "Declination [\xb0]:"; 23 20 24 // p = pointer to MainFrame (not owner) 21 fX = new MGCoordinate(this, flag, txt1, deg1, min1, sec1);25 fX = new MGCoordinate(this, t, flag, txt1, deg1, min1, sec1); 22 26 fX->Move(0, 0); 23 27 24 fY = new MGCoordinate(this, flag, txt2, deg2, min2, sec2);25 fY->Move(12 0, 0);28 fY = new MGCoordinate(this, kETypeDeg, flag, txt2, deg2, min2, sec2); 29 fY->Move(125, 0); 26 30 27 31 MapWindow();
Note:
See TracChangeset
for help on using the changeset viewer.