Ignore:
Timestamp:
03/02/03 17:08:13 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1702 r1804  
    5252}
    5353
     54void MGEmbeddedCanvas::Resize(TGDimension size)
     55{
     56    fWidth = size.fWidth;
     57    fPix = 2.*fRange/size.fWidth;
     58    TRootEmbeddedCanvas::Resize(size);
     59}
     60
     61void MGEmbeddedCanvas::Resize(UInt_t w, UInt_t h)
     62{
     63    fWidth = w;
     64    fPix = 2.*fRange/w;
     65    TRootEmbeddedCanvas::Resize(w, h);
     66}
     67
     68void MGEmbeddedCanvas::MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
     69{
     70    fWidth = w;
     71    fPix = 2.*fRange/w;
     72    TRootEmbeddedCanvas::MoveResize(x, y, w, h);
     73}
     74
    5475// ------------------------------------------------------------------------
    5576//
Note: See TracChangeset for help on using the changeset viewer.