Ignore:
Timestamp:
01/20/05 16:18:16 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r5713 r5912  
    16101610    TVirtualPad *padsav = gPad;
    16111611    oldc.cd();
     1612    gPad = &oldc; // FIXME: Why is this necessary to make GetDrawOption work?
    16121613
    16131614    //copy primitives
     
    17051706// Writes the contents of a MStatusDisplay to a file.
    17061707//
    1707 Int_t MStatusDisplay::Write(Int_t num, const char *name, Int_t option, Int_t bufsize)
     1708Int_t MStatusDisplay::Write(Int_t num, const char *name, Int_t option, Int_t bufsize) const
    17081709{
    17091710    if (!gFile)
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.h

    r5713 r5912  
    161161     TCanvas *GetCanvas(const TString &name) const;
    162162     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
    164166     Int_t Read(const char *name="MStatusDisplay");
    165167     Int_t Write(const char *name="MStatusDisplay", Int_t option=0, Int_t bufsize=0)
     
    167169         return Write(-1, name, option, bufsize);
    168170     }
    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     }
    170175
    171176     Bool_t CdCanvas(const TString &name);
Note: See TracChangeset for help on using the changeset viewer.