Changeset 2947 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 01/28/04 17:57:35 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.