- Timestamp:
- 10/24/01 11:58:54 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
r980 r981 88 88 void MCamDisplay::Paint(Option_t *opt) 89 89 { 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()); 92 92 93 93 // … … 141 141 fDrawingPad = new TCanvas("CamDisplay", "Magic Camera Display", 0, 0, 750, 600); 142 142 else 143 {144 gPad->Clear();145 143 fDrawingPad = gPad; 146 }147 144 148 145 //
Note:
See TracChangeset
for help on using the changeset viewer.