Changeset 64 for trunk/Forms/UFormOptions.pas
- Timestamp:
- Dec 4, 2014, 2:59:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormOptions.pas
r59 r64 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 Spin, UTargetInterpretter ;9 Spin, UTargetInterpretter, UTarget; 10 10 11 11 type … … 19 19 CheckBoxDPIAuto: TCheckBox; 20 20 ComboBoxLanguage: TComboBox; 21 ComboBoxOptimizatipn: TComboBox; 21 22 Label1: TLabel; 22 23 Label2: TLabel; 23 24 Label3: TLabel; 25 Label4: TLabel; 24 26 LabelDPI: TLabel; 25 27 LabelX: TLabel; … … 78 80 SpinEditDPIY.Value := Core.ScaleDPI.DPI.Y; 79 81 CheckBoxDPIAuto.Checked := Core.ScaleDPI.AutoDetect; 82 ComboBoxOptimizatipn.ItemIndex := Integer(Core.OptimizationLevel); 80 83 UpdateInterface; 81 84 end; … … 86 89 Core.ScaleDPI.DPI.Y := SpinEditDPIY.Value; 87 90 Core.ScaleDPI.AutoDetect := CheckBoxDPIAuto.Checked; 91 Core.OptimizationLevel := TCompilerOptimization(ComboBoxOptimizatipn.ItemIndex); 88 92 end; 89 93
Note:
See TracChangeset
for help on using the changeset viewer.