Ignore:
Timestamp:
12/18/02 17:48:44 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.cc

    r1275 r1690  
    1212#include <TCanvas.h>
    1313
     14#undef DEBUG
     15
    1416ClassImp(MGEmbeddedCanvas);
    1517
     
    1921      fModified(kFALSE), fWidth(width), fRange(range), fPix(2.*range/width)
    2022{
     23#ifdef DEBUG
    2124    cout << "MGEmbeddedCanvas: Initializing." << endl;
     25#endif
     26
    2227    fCanvas = GetCanvas();
    2328
     29#ifdef DEBUG
    2430    cout << "MGEmbeddedCanvas: fCanvas = 0x" << fCanvas << endl;
    2531
    2632    cout << "MGEmbeddedCanvas: SetFillColor." << endl;
     33#endif
    2734    fCanvas->SetFillColor(39); // s. TAttFill
     35#ifdef DEBUG
    2836    cout << "MGEmbeddedCanvas: fRange=" << fRange << endl;
     37#endif
    2938    if (fRange>0)
    3039        fCanvas->Range(-fRange, -fRange, fRange, fRange);
     
    3342    fList->SetOwner();
    3443
     44#ifdef DEBUG
    3545    cout << "MGEmbeddedCanvas: Initializing done." << endl;
     46#endif
    3647}
    3748
Note: See TracChangeset for help on using the changeset viewer.