Changeset 981


Ignore:
Timestamp:
10/24/01 11:58:54 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgui/MCamDisplay.cc

    r980 r981  
    8888void MCamDisplay::Paint(Option_t *opt)
    8989{
    90     const UInt_t w = gPad->GetWw();
    91     const UInt_t h = gPad->GetWh();
     90    const UInt_t w = (UInt_t)(gPad->GetWw()*gPad->GetAbsWNDC());
     91    const UInt_t h = (UInt_t)(gPad->GetWh()*gPad->GetAbsHNDC());
    9292
    9393    //
     
    141141        fDrawingPad = new TCanvas("CamDisplay", "Magic Camera Display", 0, 0, 750, 600);
    142142    else
    143     {
    144         gPad->Clear();
    145143        fDrawingPad = gPad;
    146     }
    147144
    148145    //
Note: See TracChangeset for help on using the changeset viewer.