Changeset 6 for trunk/UProject.pas
- Timestamp:
- Sep 19, 2014, 7:12:01 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UProject.pas
r2 r6 10 10 type 11 11 12 { TViewPort } 13 14 TViewPort = class 15 public 16 Pos: TPoint; 17 Zoom: Double; 18 ViewSize: TPoint; 19 end; 20 12 21 { TProject } 13 22 … … 15 24 FileName: string; 16 25 Bitmap: TGBitmap; 26 ViewPort: TViewPort; 17 27 constructor Create; 18 28 destructor Destroy; override; … … 21 31 implementation 22 32 33 23 34 { TProject } 24 35 … … 26 37 begin 27 38 Bitmap := TGBitmap.Create; 39 ViewPort := TViewPort.Create; 28 40 end; 29 41 30 42 destructor TProject.Destroy; 31 43 begin 44 ViewPort.Free; 32 45 Bitmap.Free; 33 46 inherited Destroy;
Note:
See TracChangeset
for help on using the changeset viewer.