Changeset 98 for trunk/UView.pas


Ignore:
Timestamp:
Sep 28, 2022, 1:45:58 PM (20 months ago)
Author:
chronos
Message:
  • Modified: Do not change view zoom if new station is already visible.
  • Fixed: Line icon normalized.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UView.pas

    r91 r98  
    1818    procedure SetZoom(AValue: Double);
    1919  public
     20    procedure Assign(Source: TView);
    2021    function PointDestToSrc(Pos: TPoint): TPoint;
    2122    function PointSrcToDest(Pos: TPoint): TPoint;
     
    7677end;
    7778
     79procedure TView.Assign(Source: TView);
     80begin
     81  FDestRect := Source.FDestRect;
     82  FSourceRect := Source.FSourceRect;
     83  FZoom := Source.FZoom;
     84end;
     85
    7886function TView.PointDestToSrc(Pos: TPoint): TPoint;
    7987begin
Note: See TracChangeset for help on using the changeset viewer.