Changeset 1793 for trunk/MagicSoft/Cosy/gui/MGCosy.cc
- Timestamp:
- 02/25/03 21:07:13 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/gui/MGCosy.cc
r1760 r1793 48 48 kPB_TPOINT, 49 49 kPB_START, 50 kPB_DISPLAY1, 51 kPB_DISPLAY2, 50 52 kPB_RAp, 51 53 kPB_RAm, … … 345 347 TGCompositeFrame *tf1 = fTab->AddTab("Position"); 346 348 TGCompositeFrame *tf2 = fTab->AddTab("Track"); 347 TGCompositeFrame *tf4 = fTab->AddTab("Calib ration");349 TGCompositeFrame *tf4 = fTab->AddTab("Calib"); 348 350 TGCompositeFrame *tf5 = fTab->AddTab("Test SE"); 351 TGCompositeFrame *tf6 = fTab->AddTab("Gear"); 349 352 /*TGCompositeFrame *tf3 =*/ fTab->AddTab("Demo"); 350 353 … … 418 421 fList->Add(l3); 419 422 fList->Add(l4); 423 424 l1 = new TGLabel(tf6, "FIXME Text missing / Only one axis?"); 425 l1->Move(x, y); 426 fList->Add(l1); 420 427 421 428 // … … 465 472 fList->Add(but); 466 473 474 but = new TGTextButton(tf5, "Display", kPB_DISPLAY1); 475 but->Resize(80, 25); 476 but->Move(160, 197); 477 but->SetToolTipText("Display Histogram."); 478 but->Associate(this); 479 fList->Add(but); 480 481 but = new TGTextButton(tf6, "Display", kPB_DISPLAY2); 482 but->Resize(80, 25); 483 but->Move(160, 197); 484 but->SetToolTipText("Display Histogram."); 485 but->Associate(this); 486 fList->Add(but); 487 467 488 but= new TGTextButton(tf2, "Calc Zd/Az", kPB_CALCALTAZ); 468 489 but->Resize(80, 25); … … 1190 1211 return kTRUE; 1191 1212 case 4: 1213 fQueue->Proc(WM_GEAR, (void*)1); 1214 return kTRUE; 1215 case 5: 1192 1216 StartDemo(); 1193 1217 return kTRUE; … … 1201 1225 if (fTab->GetCurrent()==3) 1202 1226 fQueue->Proc(WM_TESTSE, NULL); 1227 if (fTab->GetCurrent()==4) 1228 fQueue->Proc(WM_GEAR, NULL); 1203 1229 cout << "PostMsg (WM_Stop) returned." << endl; 1204 1230 return kTRUE; … … 1256 1282 fQueue->PostMsg(WM_HOME, 0, 0); 1257 1283 return kTRUE; 1284 case kPB_DISPLAY1: 1285 case kPB_DISPLAY2: 1286 fQueue->PostMsg(WM_DISPLAY, 0, 0); 1287 return kTRUE; 1258 1288 1259 1289 default:
Note:
See TracChangeset
for help on using the changeset viewer.