Changeset 6954 for trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
- Timestamp:
- 04/18/05 20:11:09 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r6938 r6954 766 766 TVirtualPad *MStatusDisplay::GetFullPad(const Int_t i, const Int_t j) 767 767 { 768 769 TVirtualPad *vpad = GetCanvas(i)->GetPad(j); 770 if (vpad) 768 if (!GetCanvas(i)) 769 { 770 *fLog << warn << "MStatusDisplay::GetFullPad: i-th canvas not dound." << endl; 771 return NULL; 772 } 773 774 TVirtualPad *vpad = GetCanvas(i)->GetPad(j); 775 if (!vpad) 776 { 777 *fLog << warn << "MStatusDisplay::GetFullPad: Pad is out of range." << endl; 778 return NULL; 779 } 780 771 781 vpad->SetPad(0.,0.,1.,1.); 772 else 773 *fLog << warn << "MStatusDisplay::GetFullPad: Pad is out of range." << endl; 774 775 return vpad; 776 } 777 778 782 return vpad; 783 } 779 784 780 785 // --------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.