Changeset 145 for trunk/Forms/FormMemory.pas
- Timestamp:
- Jun 5, 2023, 6:44:57 PM (18 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMemory.pas
r144 r145 1 unit UFormMemory;1 unit FormMemory; 2 2 3 3 interface … … 17 17 Label6: TLabel; 18 18 ListViewMemory: TListView; 19 procedure FormCreate(Sender: TObject); 19 20 procedure ListViewMemoryData(Sender: TObject; Item: TListItem); 20 21 private … … 24 25 end; 25 26 26 var27 FormMemory: TFormMemory;28 27 29 28 implementation … … 32 31 33 32 uses 34 UCore, UTargetInterpretter;33 Core, TargetInterpretter; 35 34 36 35 { TFormMemory } … … 38 37 procedure TFormMemory.Reload; 39 38 begin 40 if Core.C urrentTarget is TTargetInterpretter then41 with TTargetInterpretter(Core.C urrentTarget) do begin39 if Core.Core.CurrentTarget is TTargetInterpretter then 40 with TTargetInterpretter(Core.Core.CurrentTarget) do begin 42 41 if MemoryChanged then begin 43 42 MemoryChanged := False; … … 55 54 Address: Integer; 56 55 begin 57 if Core.C urrentTarget is TTargetInterpretter then58 with TTargetInterpretter(Core.C urrentTarget) do56 if Core.Core.CurrentTarget is TTargetInterpretter then 57 with TTargetInterpretter(Core.Core.CurrentTarget) do 59 58 if (Item.Index >= 0) and (Item.Index <= Trunc((MemoryMaxUsedAddr + 1) / RowSize)) then begin 60 59 Item.Caption := IntToHex(Item.Index * RowSize, 8); … … 75 74 end; 76 75 76 procedure TFormMemory.FormCreate(Sender: TObject); 77 begin 78 Core.Core.Translator.TranslateComponentRecursive(Self); 79 Core.Core.ThemeManager.UseTheme(Self); 80 end; 81 77 82 end. 78 83
Note:
See TracChangeset
for help on using the changeset viewer.