Changeset 13 for trunk/Forms
- Timestamp:
- Sep 25, 2017, 2:48:08 PM (7 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r11 r13 1 1 object FormMain: TFormMain 2 Left = 56 52 Left = 566 3 3 Height = 687 4 Top = 2 594 Top = 262 5 5 Width = 932 6 6 Caption = 'Screen 1 - ChronOS' … … 12 12 OnKeyDown = FormKeyDown 13 13 OnShow = FormShow 14 LCLVersion = '1.6. 0.4'14 LCLVersion = '1.6.4.0' 15 15 object PaintBox1: TPaintBox 16 16 Left = 0 -
trunk/Forms/UFormMain.pas
r11 r13 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ExtCtrls, Menus, ActnList, UKernel, UMemory, UDevice, UPlatformBase, LCLType; 9 ExtCtrls, Menus, ActnList, UKernel, UMemory, UDevice, UPlatformBase, LCLType, 10 UGraphics; 10 11 11 12 type … … 88 89 VideoDevice.OnRedraw := VideoDeviceRedraw; 89 90 VideoDevice.DPI := Screen.PixelsPerInch; 90 VideoDevice.VideoMemorySize := Point(PaintBox1.Width, PaintBox1.Height);91 VideoDevice.VideoMemorySize := TPoint.Create(PaintBox1.Width, PaintBox1.Height); 91 92 VideoDevice.OnModeChanged := VideoDeviceRedraw; 92 93 Kernel.Devices.Add(VideoDevice); … … 156 157 procedure TFormMain.FormDestroy(Sender: TObject); 157 158 begin 158 Kernel.Free;159 FreeAndNil(Kernel); 159 160 end; 160 161
Note:
See TracChangeset
for help on using the changeset viewer.