Changeset 145 for trunk/Forms/FormCPU.pas
- Timestamp:
- Jun 5, 2023, 6:44:57 PM (18 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormCPU.pas
r144 r145 1 unit UFormCPU;1 unit FormCPU; 2 2 3 3 interface … … 20 20 LabelStepCounter: TLabel; 21 21 LabelStepSpeed: TLabel; 22 private22 procedure FormCreate(Sender: TObject); 23 23 public 24 24 LastStepCounter: Integer; … … 29 29 FormCPU: TFormCPU; 30 30 31 31 32 implementation 32 33 33 34 uses 34 UCore, UTargetInterpretter;35 Core, TargetInterpretter; 35 36 36 37 {$R *.lfm} … … 41 42 { TFormCPU } 42 43 44 procedure TFormCPU.FormCreate(Sender: TObject); 45 begin 46 Core.Core.Translator.TranslateComponentRecursive(Self); 47 Core.Core.ThemeManager.UseTheme(Self); 48 end; 49 43 50 procedure TFormCPU.Reload; 44 51 begin 45 if Core.C urrentTarget is TTargetInterpretter then46 with TTargetInterpretter(Core.C urrentTarget) do begin52 if Core.Core.CurrentTarget is TTargetInterpretter then 53 with TTargetInterpretter(Core.Core.CurrentTarget) do begin 47 54 LabelProgramPointer.Caption := IntToStr(ProgramIndex); 48 55 LabelMemoryPointer.Caption := IntToStr(MemoryPosition);
Note:
See TracChangeset
for help on using the changeset viewer.