Changeset 70 for trunk/Forms/UFormOptions.pas
- Timestamp:
- Oct 11, 2015, 6:50:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormOptions.pas
r64 r70 39 39 procedure Load; 40 40 procedure Save; 41 procedure LoadFromInterpretter(Interpretter: TTargetInterpretter);42 procedure SaveToInterpretter(Interpretter: TTargetInterpretter);43 41 end; 44 42 … … 81 79 CheckBoxDPIAuto.Checked := Core.ScaleDPI.AutoDetect; 82 80 ComboBoxOptimizatipn.ItemIndex := Integer(Core.OptimizationLevel); 81 SpinEditCellSize.Value := Core.CellSize; 82 SpinEditMemorySize.Value := Core.MemorySize; 83 83 UpdateInterface; 84 84 end; … … 90 90 Core.ScaleDPI.AutoDetect := CheckBoxDPIAuto.Checked; 91 91 Core.OptimizationLevel := TCompilerOptimization(ComboBoxOptimizatipn.ItemIndex); 92 Core.CellSize := SpinEditCellSize.Value; 93 Core.MemorySize := SpinEditMemorySize.Value; 92 94 end; 93 95 … … 104 106 end; 105 107 106 procedure TOptionsForm.LoadFromInterpretter(Interpretter: TTargetInterpretter107 );108 begin109 SpinEditCellSize.Value := Interpretter.CellSize;110 SpinEditMemorySize.Value := Interpretter.MemorySize;111 end;112 113 procedure TOptionsForm.SaveToInterpretter(Interpretter: TTargetInterpretter);114 begin115 Interpretter.CellSize := SpinEditCellSize.Value;116 Interpretter.MemorySize := SpinEditMemorySize.Value;117 end;118 119 108 end. 120 109
Note:
See TracChangeset
for help on using the changeset viewer.