Changeset 849 for trunk/MagicSoft/Mars
- Timestamp:
- 06/13/01 12:48:40 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParContainer.cc
r848 r849 92 92 void MParContainer::Copy(TObject &obj) 93 93 { 94 MParContainer &cont = (MParContainer&)obj; 95 94 96 TObject::Copy(obj); 95 *(((MParContainer&)obj).fName) = *fName; 96 *(((MParContainer&)obj).fTitle) = *fTitle; 97 ((MParContainer&)obj).fLog = fLog; 98 ((MParContainer&)obj).fHasChanged = fHasChanged; 97 98 *cont.fName = *fName; 99 *cont.fTitle = *fTitle; 100 101 cont.fLog = fLog; 102 cont.fHasChanged = fHasChanged; 99 103 } 100 104 -
trunk/MagicSoft/Mars/mgui/MHexagon.cc
r749 r849 70 70 void MHexagon::Copy( TObject &obj ) 71 71 { 72 // copy this hexagon to hexagon 73 TObject::Copy ( obj ) ; 74 TAttLine::Copy (((MHexagon&) obj ) ) ; 75 TAttFill::Copy (((MHexagon&) obj ) ) ; 76 77 ((MHexagon&) obj).fX = fX ; 78 ((MHexagon&) obj).fY = fY ; 79 ((MHexagon&) obj).fD = fD ; 72 // copy this hexagon to hexagon 73 MHexagon &hex = (MHexagon&) obj; 74 75 TObject::Copy(obj); 76 TAttLine::Copy(hex); 77 TAttFill::Copy(hex); 78 79 hex.fX = fX ; 80 hex.fY = fY ; 81 hex.fD = fD ; 80 82 } 81 83 Int_t MHexagon::DistancetoPrimitive( Int_t px, Int_t py )
Note:
See TracChangeset
for help on using the changeset viewer.