Changeset 7792
- Timestamp:
- 07/16/06 00:28:05 (18 years ago)
- Location:
- trunk/MagicSoft/Cosy
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/Changelog
r7791 r7792 1 1 -*-*- END -*-*- 2 2006/07/15 Daniela Dorner 2 2006/07/16 Daniela Dorner 3 4 * main/MStarguider.[h,cc]: 5 - improvement in showing/hiding of parts of the display in the starguider 6 window 7 8 3 9 4 10 * main/MStarguider.cc: -
trunk/MagicSoft/Cosy/main/MStarguider.cc
r7791 r7792 331 331 332 332 fGStarg = new MGStarg(this, 235); 333 fGStarg->DrawText("0.75'", "1.50'", "3.00'", "Mis spointing [min]");333 fGStarg->DrawText("0.75'", "1.50'", "3.00'", "Mispointing [min]"); 334 334 fGStarg->DrawHexagon(); 335 335 fGStarg->Move(530,596+5); 336 336 fList->Add(fGStarg); 337 337 338 //RA,Dec for catalog 338 339 fCRaDec = new MGCoordinates(this, kETypeRaDec); 339 340 fCRaDec->Move(4, fMenu->GetDefaultHeight()+584); … … 341 342 fList->Add(fCRaDec); 342 343 344 //telescope position 343 345 fCZdAz = new MGCoordinates(this, kETypeZdAz, 2); 344 346 fCZdAz->Move(240+12+28, fMenu->GetDefaultHeight()+597); … … 346 348 fList->Add(fCZdAz); 347 349 350 //starguider position 348 351 fPZdAz = new MGCoordinates(this, kETypeZdAz, 2); 349 352 fPZdAz->Move(240+12+28, fMenu->GetDefaultHeight()+640); … … 351 354 fList->Add(fPZdAz); 352 355 356 //mispointing 353 357 fDZdAz = new MGCoordinates(this, kETypeZdAz, 2); 354 358 fDZdAz->Move(240+12+28, fMenu->GetDefaultHeight()+683); … … 414 418 fList->Add(l); 415 419 416 l= new TGLabel(this, "Zd/Az telescope pointing at");417 l->SetTextJustify(kTextLeft);418 l->Move(240+12+20+7, fMenu->GetDefaultHeight()+584-5);419 AddFrame( l);420 fList->Add( l);421 422 l= new TGLabel(this, "Zd/Az starguider pointing at");423 l->SetTextJustify(kTextLeft);424 l->Move(240+12+20+7, fMenu->GetDefaultHeight()+630+20-5-23);425 AddFrame( l);426 fList->Add( l);427 428 l = new TGLabel(this, "Zd/Az misspointing");429 l->SetTextJustify(kTextLeft);430 l->Move(240+12+20+7, fMenu->GetDefaultHeight()+676+2*20-5-46);431 AddFrame( l);432 fList->Add( l);420 fCZdAzText = new TGLabel(this, "Zd/Az telescope pointing at"); 421 fCZdAzText->SetTextJustify(kTextLeft); 422 fCZdAzText->Move(240+12+20+7, fMenu->GetDefaultHeight()+584-5); 423 AddFrame(fCZdAzText); 424 fList->Add(fCZdAzText); 425 426 fPZdAzText = new TGLabel(this, "Zd/Az starguider pointing at"); 427 fPZdAzText->SetTextJustify(kTextLeft); 428 fPZdAzText->Move(240+12+20+7, fMenu->GetDefaultHeight()+630+20-5-23); 429 AddFrame(fPZdAzText); 430 fList->Add(fPZdAzText); 431 432 fDZdAzText = new TGLabel(this, "Zd/Az mispointing"); 433 fDZdAzText->SetTextJustify(kTextLeft); 434 fDZdAzText->Move(240+12+20+7, fMenu->GetDefaultHeight()+676+2*20-5-46); 435 AddFrame(fDZdAzText); 436 fList->Add(fDZdAzText); 433 437 434 438 #ifdef EXPERT 435 l = new TGLabel(this, "Mis spointing/FindStar (Experts Only!)");439 l = new TGLabel(this, "Mispointing/FindStar (Experts Only!)"); 436 440 l->SetTextJustify(kTextLeft); 437 441 l->Move(240+12+20, fMenu->GetDefaultHeight()+722+3*20-5); … … 513 517 fGStarg->UnmapWindow(); 514 518 fGNumStars->UnmapWindow(); 519 fCRaDec->UnmapWindow(); 520 fCZdAz->UnmapWindow(); 515 521 fPZdAz->UnmapWindow(); 522 fPZdAzText->UnmapWindow(); 516 523 fDZdAz->UnmapWindow(); 524 fDZdAzText->UnmapWindow(); 517 525 fSZdAz->UnmapWindow(); 518 526 fSkyBright->UnmapWindow(); … … 712 720 fIntRate = 125; 713 721 722 //catalog 714 723 fDisplay->CheckEntry(IDM_kCatalog); 724 fCRaDec->MapWindow(); 725 fCRaDecText-MapWindow(); 726 fCZdAz->MapWindow(); 727 fCZdAzText->MapWindow(); 728 729 fPZdAz->MapWindow(); 730 fPZdAzText->MapWindow(); 731 fDZdAz->MapWindow(); 732 fDZdAzText->MapWindow(); 733 715 734 fGStarg->MapWindow(); 716 735 fGNumStars->MapWindow(); … … 746 765 747 766 fPZdAz->UnmapWindow(); 767 fPZdAzText->UnmapWindow(); 748 768 fDZdAz->UnmapWindow(); 769 fDZdAzText->UnmapWindow(); 749 770 fSkyBright->UnmapWindow(); 771 //catalog 772 fCRaDec->UnmapWindow(); 773 fCRaDecText-UnmapWindow(); 774 fCZdAz->UnmapWindow(); 775 fCZdAzText->UnmapWindow(); 776 fDisplay->UnCheckEntry(IDM_kCatalog); 777 750 778 fGStarg->UnmapWindow(); 751 779 fGNumStars->UnmapWindow(); … … 845 873 case IDM_kCatalog: 846 874 Toggle(fDisplay, IDM_kCatalog); 875 if (fDisplay->IsEntryChecked(IDM_kCatalog)) 876 { 877 fCRaDec->MapWindow(); 878 fCZdAz->MapWindow(); 879 fCZdAzText->MapWindow(); 880 } 881 else 882 { 883 fCRaDec->UnmapWindow(); 884 fCZdAz->UnmapWindow(); 885 fCZdAzText->UnmapWindow(); 886 } 847 887 return kTRUE; 848 888 … … 1855 1895 << star.Az()*60 << "'" << endl; 1856 1896 #endif 1857 fSZdAz->SetCoordinates(star); // Mis spointing found from Camera1897 fSZdAz->SetCoordinates(star); // Mispointing found from Camera 1858 1898 1859 1899 SendAmcTrigger("Starguider"); … … 1969 2009 const Ring skycenter(768/2-off.X(), 576/2+off.Y()); 1970 2010 1971 // There are two corrections to the mis spointing2011 // There are two corrections to the mispointing 1972 2012 // - Sagging of the camera as measured with the LEDs 1973 2013 // - Star not ideally centered on MAGIC Camera -
trunk/MagicSoft/Cosy/main/MStarguider.h
r7790 r7792 92 92 TGLabel *fPosZoom; 93 93 TGLabel *fSkyBright; 94 TGLabel *fCZdAzText; 95 TGLabel *fPZdAzText; 96 TGLabel *fDZdAzText; 94 97 95 98 TGButton *fTPoint;
Note:
See TracChangeset
for help on using the changeset viewer.