Changeset 7824 for trunk/MagicSoft/Mars/mgui
- Timestamp:
- 07/30/06 17:28:28 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MHexagon.cc
r7823 r7824 334 334 void MHexagon::SavePrimitive(ostream &out, Option_t *) 335 335 { 336 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,12,00) 336 337 if (gROOT->ClassSaved(Class())) 337 338 out << " "; … … 345 346 346 347 out << " hexagon->Draw();" << endl; 348 #endif 347 349 } 348 350 349 351 void MHexagon::SavePrimitive(ofstream &out, Option_t *) 350 352 { 353 #if ROOT_VERSION_CODE < ROOT_VERSION(5,12,00) 354 if (gROOT->ClassSaved(Class())) 355 out << " "; 356 else 357 out << " MHexagon *"; 358 359 out << "hexagon = new MHexagon(" << fX << "," << fY << "," << fD << ");" << endl; 360 361 SaveFillAttributes(out, "hexagon"); 362 SaveLineAttributes(out, "hexagon"); 363 364 out << " hexagon->Draw();" << endl; 365 #else 351 366 MHexagon::SavePrimitive(static_cast<ostream&>(out), ""); 352 } 367 #endif 368 }
Note:
See TracChangeset
for help on using the changeset viewer.