Changeset 88 for trunk/Forms/UFormOptions.pas
- Timestamp:
- Aug 29, 2017, 10:33:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormOptions.pas
r73 r88 75 75 procedure TOptionsForm.Load; 76 76 begin 77 SpinEditDPIX.Value := Core.ScaleDPI .DPI.X;78 SpinEditDPIY.Value := Core.ScaleDPI .DPI.Y;79 CheckBoxDPIAuto.Checked := Core.ScaleDPI .AutoDetect;77 SpinEditDPIX.Value := Core.ScaleDPI1.DPI.X; 78 SpinEditDPIY.Value := Core.ScaleDPI1.DPI.Y; 79 CheckBoxDPIAuto.Checked := Core.ScaleDPI1.AutoDetect; 80 80 ComboBoxOptimizatipn.ItemIndex := Integer(Core.OptimizationLevel); 81 81 SpinEditCellSize.Value := Core.CellSize; … … 86 86 procedure TOptionsForm.Save; 87 87 begin 88 Core.ScaleDPI .DPI := Point(SpinEditDPIX.Value, SpinEditDPIY.Value);89 Core.ScaleDPI .AutoDetect := CheckBoxDPIAuto.Checked;88 Core.ScaleDPI1.DPI := Point(SpinEditDPIX.Value, SpinEditDPIY.Value); 89 Core.ScaleDPI1.AutoDetect := CheckBoxDPIAuto.Checked; 90 90 Core.OptimizationLevel := TCompilerOptimization(ComboBoxOptimizatipn.ItemIndex); 91 91 Core.CellSize := SpinEditCellSize.Value;
Note:
See TracChangeset
for help on using the changeset viewer.