Changeset 6 for trunk/UProject.pas


Ignore:
Timestamp:
Sep 19, 2014, 7:12:01 AM (10 years ago)
Author:
chronos
Message:
  • Added: Prepared more menu actions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UProject.pas

    r2 r6  
    1010type
    1111
     12  { TViewPort }
     13
     14  TViewPort = class
     15  public
     16    Pos: TPoint;
     17    Zoom: Double;
     18    ViewSize: TPoint;
     19  end;
     20
    1221  { TProject }
    1322
     
    1524    FileName: string;
    1625    Bitmap: TGBitmap;
     26    ViewPort: TViewPort;
    1727    constructor Create;
    1828    destructor Destroy; override;
     
    2131implementation
    2232
     33
    2334{ TProject }
    2435
     
    2637begin
    2738  Bitmap := TGBitmap.Create;
     39  ViewPort := TViewPort.Create;
    2840end;
    2941
    3042destructor TProject.Destroy;
    3143begin
     44  ViewPort.Free;
    3245  Bitmap.Free;
    3346  inherited Destroy;
Note: See TracChangeset for help on using the changeset viewer.