Changeset 3519 for trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc
- Timestamp:
- 03/16/04 10:59:07 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc
r3487 r3519 561 561 void MAstroCatalog::Paint(Option_t *o) 562 562 { 563 if (!gPad->IsBatch())564 gVirtualX->ClearWindow();563 // if (!gPad->IsBatch()) 564 // gVirtualX->ClearWindow(); 565 565 566 566 if (TestBit(kHasChanged)) … … 643 643 gPad->Range(-edge, -edge, edge, edge); 644 644 645 cout << gPad->GetWw() << " " << gPad->GetWh() << endl;646 647 645 const Float_t w = gPad->GetWw(); 648 646 const Float_t h = gPad->GetWh(); … … 666 664 clk.Print(); 667 665 666 // Append to a possible second pad 667 if (!gPad->GetListOfPrimitives()->FindObject(this)) 668 AppendPad(o); 669 668 670 // Append all objects to pad 669 671 DrawMap(); … … 674 676 void MAstroCatalog::Draw(Option_t *o) 675 677 { 676 TObject::Draw(o); 678 // Append to first pad 679 AppendPad(o); 677 680 678 681 if (!TestBit(kHasChanged))
Note:
See TracChangeset
for help on using the changeset viewer.