Ignore:
Timestamp:
08/20/07 11:04:58 (17 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

    r8678 r8680  
    602602// is assumed to be (0,1)
    603603//
    604 void MStatusDisplay::SetProgressBarPosition(Float_t p)
     604void MStatusDisplay::SetProgressBarPosition(Float_t p, Bool_t upd)
    605605{
    606606    fBar->SetPosition(p);
     607    if (upd)
     608        gClient->ProcessEventsFor(fBar);
    607609}
    608610
     
    685687    // p==NULL means: Take gClient->GetRoot() if not in batch mode
    686688    // see TGWindow::TGWindow()
     689
     690    // Make sure that the display is removed via RecursiveRemove
     691    // from whereever possible.
     692    SetBit(kMustCleanup);
    687693
    688694    //
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.h

    r8642 r8680  
    168168     void SetUpdateTime(Long_t t);
    169169
    170      void SetProgressBarPosition(Float_t p);
     170     void SetProgressBarPosition(Float_t p, Bool_t upd=kFALSE);
    171171     TGProgressBar *GetBar() const { return (TGProgressBar*)fBar; }
    172172
Note: See TracChangeset for help on using the changeset viewer.