Changeset 5912 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 01/20/05 16:18:16 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r5713 r5912 1610 1610 TVirtualPad *padsav = gPad; 1611 1611 oldc.cd(); 1612 gPad = &oldc; // FIXME: Why is this necessary to make GetDrawOption work? 1612 1613 1613 1614 //copy primitives … … 1705 1706 // Writes the contents of a MStatusDisplay to a file. 1706 1707 // 1707 Int_t MStatusDisplay::Write(Int_t num, const char *name, Int_t option, Int_t bufsize) 1708 Int_t MStatusDisplay::Write(Int_t num, const char *name, Int_t option, Int_t bufsize) const 1708 1709 { 1709 1710 if (!gFile) -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.h
r5713 r5912 161 161 TCanvas *GetCanvas(const TString &name) const; 162 162 TVirtualPad *GetFullPad(const Int_t canvas, const Int_t pad); 163 163 164 Int_t Write(Int_t num, const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0) const; 165 164 166 Int_t Read(const char *name="MStatusDisplay"); 165 167 Int_t Write(const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0) … … 167 169 return Write(-1, name, option, bufsize); 168 170 } 169 Int_t Write(Int_t num, const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0); 171 Int_t Write(const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0) const 172 { 173 return Write(-1, name, option, bufsize); 174 } 170 175 171 176 Bool_t CdCanvas(const TString &name);
Note:
See TracChangeset
for help on using the changeset viewer.