Changeset 2518 for trunk/MagicSoft/Cosy/main/MStarguider.cc
- Timestamp:
- 11/17/03 13:50:48 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MStarguider.cc
r2278 r2518 176 176 fInterpol->AddEntry("2", IDM_kInterpol2); 177 177 fInterpol->AddEntry("Off", IDM_kInterpol1); 178 fInterpol->CheckEntry(IDM_kInterpol1);179 178 fInterpol->Associate(this); 180 179 fList->Add(fInterpol); 181 180 182 fIntRate = 1; 181 TString disp=gVirtualX->DisplayName(); 182 if (disp.First(':')>0) 183 disp=disp(0, disp.First(':')); 184 185 if (disp.IsNull() || disp==(TString)"localhost") 186 { 187 fInterpol->CheckEntry(IDM_kInterpol1); 188 fIntRate = 1; 189 } 190 else 191 { 192 fInterpol->CheckEntry(IDM_kInterpol125); 193 fIntRate = 125; 194 } 183 195 184 196 fSetup = new MGPopupMenu(p); … … 347 359 gVirtualX->GrabButton(fId, kButton2, 0, 0, 0, 0, kTRUE); 348 360 349 fTimer=new TTimer(this, 1000/25); // 100ms361 fTimer=new TTimer(this, 1000/25); // 40ms 350 362 fTimer->TurnOn(); 351 363
Note:
See TracChangeset
for help on using the changeset viewer.