Changeset 19359 for trunk/Mars/mbase
- Timestamp:
- 11/07/18 20:47:11 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MEvtLoop.cc
r19345 r19359 299 299 switch (fDisplay->CheckStatus()) 300 300 { 301 case MStatusDisplay::kLoopStep: 302 // Skip if this is a single step and nothing is to be displayed 303 if (looprc==kCONTINUE) 304 break; 305 //**FALLTHROU**/ 301 306 case MStatusDisplay::kLoopPause: 302 fDisplay->SetStatusLine1(MString::Format("Paused after %d", num-1)); 307 // Output current position in loop 308 fDisplay->SetStatusLine1(MString::Format("Paused after index %d", num-1)); 309 // In case of a singel step go back to pause mode 310 fDisplay->SetPause(); 311 // Wait until the user turns of pause mode 303 312 while (fDisplay && fDisplay->CheckStatus()==MStatusDisplay::kLoopPause) 304 313 { … … 306 315 gSystem->Sleep(1); 307 316 } 308 // FALLTHROUGH 309 case MStatusDisplay::kLoopStep: 310 if (fDisplay && fDisplay->CheckStatus()==MStatusDisplay::kLoopStep && looprc!=kCONTINUE) 311 { 312 //fDisplay->ClearStatus(); 313 fDisplay->SetPause(); 314 } 315 // FALLTHROUGH 317 if (fDisplay->CheckStatus()==MStatusDisplay::kLoopStep) 318 break; 319 return ProcessGuiEvents(num, looprc); 320 316 321 case MStatusDisplay::kLoopNone: 317 322 break;
Note:
See TracChangeset
for help on using the changeset viewer.