Changeset 15 for trunk/UCore.pas
- Timestamp:
- Sep 22, 2014, 11:06:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r13 r15 57 57 procedure AZoomOutExecute(Sender: TObject); 58 58 procedure DataModuleCreate(Sender: TObject); 59 procedure DataModuleDestroy(Sender: TObject); 59 60 private 60 61 { private declarations } … … 94 95 end; 95 96 97 procedure TCore.DataModuleDestroy(Sender: TObject); 98 begin 99 Project.Free; 100 end; 101 96 102 procedure TCore.Init; 97 103 begin 98 104 // Set default 105 Project.Bitmap.ColorFormat := ColorManager.Formats[0]; 99 106 Project.Bitmap.Size := Point(200, 100); 100 107 if ColorManager.FormatCount > 0 then … … 114 121 Project.Bitmap.BackgroundColor.FromTColor(clBlack); 115 122 Project.Bitmap.DPI := FormNew.SpinEditDPI.Value; 116 AZoomAll.Execute; ;123 AZoomAll.Execute; 117 124 end; 118 125 end;
Note:
See TracChangeset
for help on using the changeset viewer.