Changeset 5912 for trunk/MagicSoft/Mars
- Timestamp:
- 01/20/05 16:18:16 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5911 r5912 40 40 * mfbase/MFilterList.cc: 41 41 - added a comment 42 43 * mbase/MStatusDisplay.[h,cc]: 44 - fixed Write to be compatible with root 4.02/00 45 - worked around a problem with reading the DrawOption correctly 46 from a stored status display 42 47 43 48 -
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.