Changeset 8917 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 06/03/08 12:29:27 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r8899 r8917 68 68 #include <TEnv.h> // TEnv 69 69 #include <TLine.h> // TLine 70 #include <TMath.h> 70 71 #include <TText.h> // TText 71 72 #include <TFile.h> // gFile … … 685 686 // 686 687 MStatusDisplay::MStatusDisplay(Int_t w, Int_t h, Long_t t) 687 : TGMainFrame( NULL, 1, 1), fName("MStatusDisplay"), fLog(&gLog), fBar(NULL), fTab(NULL), fTimer(this, t, kTRUE), fStatus(kLoopNone), fLogIdx(-1), fLogTimer(this, 250, kTRUE), fLogBox(NULL), fIsLocked(0)688 : TGMainFrame((TGWindow*)((gClient?gClient:new TGClient),NULL), 1, 1), fName("MStatusDisplay"), fLog(&gLog), fBar(NULL), fTab(NULL), fTimer(this, t, kTRUE), fStatus(kLoopNone), fLogIdx(-1), fLogTimer(this, 250, kTRUE), fLogBox(NULL), fIsLocked(0) 688 689 { 689 690 // p==NULL means: Take gClient->GetRoot() if not in batch mode -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.h
r8899 r8917 225 225 Int_t SaveAs(TString name) { return SaveAs(-1, name); } 226 226 Int_t PrintPS() { return PrintPS(-1); } 227 228 void SaveAs(const char *c, const Option_t *o) const { TGObject::SaveAs(c, o); } 227 229 228 230 Int_t SaveAsPS(Int_t num, TString name="", const TString addon="") { return SaveAsVGF(num, name, addon, "ps"); }
Note:
See TracChangeset
for help on using the changeset viewer.