Changeset 2550 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 11/21/03 17:01:15 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r2519 r2550 560 560 // 561 561 MStatusDisplay::MStatusDisplay(Long_t t) 562 : TGMainFrame(gClient ? gClient->GetRoot() : NULL, 1, 1), fTab(NULL), fTimer(this, t, kTRUE), fStatus(kLoopNone), fLog(&gLog), fLogIdx(-1), fLogTimer(this, 250, kTRUE), fLogBox(NULL), fIsLocked(0) 563 { 562 : TGMainFrame(NULL, 1, 1), fTab(NULL), fTimer(this, t, kTRUE), fStatus(kLoopNone), fLog(&gLog), fLogIdx(-1), fLogTimer(this, 250, kTRUE), fLogBox(NULL), fIsLocked(0) 563 { 564 // p==NULL means: Take gClient->GetRoot() if not in batch mode 565 // see TGWindow::TGWindow() 566 564 567 // 565 568 // This is a possibility for the user to check whether this … … 1383 1386 1384 1387 gLog << dbg << "MStatusDisplay is on heap: " << (int)IsOnHeap() << endl; 1388 1389 if (TestBit(kExitLoopOnExit)) 1390 gSystem->ExitLoop(); 1391 if (TestBit(kExitLoopOnClose)) 1392 gSystem->ExitLoop(); 1385 1393 1386 1394 if (fIsLocked<=0 && IsOnHeap()) -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.h
r2493 r2550 53 53 kSearch 54 54 } Status_t; 55 56 enum 57 { 58 kExitLoopOnExit = BIT(14), 59 kExitLoopOnClose = BIT(15) 60 }; 55 61 56 62 protected:
Note:
See TracChangeset
for help on using the changeset viewer.