Ignore:
Timestamp:
03/16/04 10:59:07 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc

    r3487 r3519  
    561561void MAstroCatalog::Paint(Option_t *o)
    562562{
    563     if (!gPad->IsBatch())
    564         gVirtualX->ClearWindow();
     563//    if (!gPad->IsBatch())
     564//        gVirtualX->ClearWindow();
    565565
    566566    if (TestBit(kHasChanged))
     
    643643     gPad->Range(-edge, -edge, edge, edge);
    644644
    645      cout << gPad->GetWw() << " " << gPad->GetWh() << endl;
    646 
    647645     const Float_t w = gPad->GetWw();
    648646     const Float_t h = gPad->GetWh();
     
    666664    clk.Print();
    667665
     666    // Append to a possible second pad
     667    if (!gPad->GetListOfPrimitives()->FindObject(this))
     668        AppendPad(o);
     669
    668670    // Append all objects to pad
    669671    DrawMap();
     
    674676void MAstroCatalog::Draw(Option_t *o)
    675677{
    676     TObject::Draw(o);
     678    // Append to first pad
     679    AppendPad(o);
    677680
    678681    if (!TestBit(kHasChanged))
Note: See TracChangeset for help on using the changeset viewer.