Changeset 1111 for trunk/MagicSoft/Cosy/gui/MGCosy.cc
- Timestamp:
- 12/12/01 13:26:34 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/gui/MGCosy.cc
r926 r1111 4 4 5 5 #include "msgqueue.h" 6 #include "coord.h" 6 7 7 8 #include <TROOT.h> … … 28 29 #include "SlaStars.h" 29 30 31 ClassImp(MGCosy); 32 30 33 #define IDM_EXIT 1 31 34 #define IDM_TEXT 2 … … 50 53 // 51 54 TGPopupMenu *fFileMenu = new TGPopupMenu(gClient->GetRoot()); 52 fFileMenu->AddEntry ("Exit", IDM_EXIT);53 //fFileMenu->Associate(this);55 fFileMenu->AddEntry("Exit", IDM_EXIT); 56 fFileMenu->Associate(this); 54 57 fList->Add(fFileMenu); 55 58 … … 516 519 517 520 cout << "Ra/Dec: " << rd.Ra() << kDEG << " " << rd.Dec() << kDEG << endl; 518 ZdAz aa=sla.CalcZdAz(rd* D2PI/360.0)*360.0/D2PI;521 ZdAz aa=sla.CalcZdAz(rd*kDeg2Rad)*kRad2Deg; 519 522 cout << "Zd/Az: " << aa.Zd() << kDEG << " " << aa.Az() << kDEG << endl; 520 523 }
Note:
See TracChangeset
for help on using the changeset viewer.