Ignore:
Timestamp:
12/12/01 13:26:34 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/gui/MGCosy.cc

    r926 r1111  
    44
    55#include "msgqueue.h"
     6#include "coord.h"
    67
    78#include <TROOT.h>
     
    2829#include "SlaStars.h"
    2930
     31ClassImp(MGCosy);
     32
    3033#define IDM_EXIT 1
    3134#define IDM_TEXT 2
     
    5053    //
    5154    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);
    5457    fList->Add(fFileMenu);
    5558
     
    516519
    517520                    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;
    519522                    cout << "Zd/Az: " << aa.Zd() << kDEG << " " << aa.Az() << kDEG << endl;
    520523                }
Note: See TracChangeset for help on using the changeset viewer.