Changeset 2947 for trunk/MagicSoft/Mars
- Timestamp:
- 01/28/04 17:57:35 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2946 r2947 60 60 - gave names to the filters 61 61 - removed adding MHCamera to fList because it was deleted twice 62 63 * mhist/MHCamera.cc: 64 - fixed usage of fPainter in Paint() - title was not updated 65 correctly 62 66 63 67 -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r2894 r2947 677 677 Bool_t iscol = isbox ? !opt.Contains("nocol") : 1; 678 678 679 GetPainter();680 if (fPainter)681 {679 if (GetPainter()) 680 { 681 // Paint statistics 682 682 if (!TestBit(TH1::kNoStats)) 683 {684 fPainter->SetHistogram(this);685 683 fPainter->PaintStat(gStyle->GetOptStat(), NULL); 686 }687 684 688 685 // Paint primitives (pixels, color legend, photons, ...) 689 686 if (fPainter->InheritsFrom(THistPainter::Class())) 690 ((THistPainter*)fPainter)->PaintTitle(); 687 { 688 static_cast<THistPainter*>(fPainter)->MakeChopt(""); 689 static_cast<THistPainter*>(fPainter)->PaintTitle(); 690 } 691 691 } 692 692
Note:
See TracChangeset
for help on using the changeset viewer.