Ignore:
Timestamp:
Aug 29, 2017, 10:33:39 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Enabled DPI scaling.
  • Modified: Moved ImageListMain to Core unit and introduced Core Init method.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormOptions.pas

    r73 r88  
    7575procedure TOptionsForm.Load;
    7676begin
    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;
    8080  ComboBoxOptimizatipn.ItemIndex := Integer(Core.OptimizationLevel);
    8181  SpinEditCellSize.Value := Core.CellSize;
     
    8686procedure TOptionsForm.Save;
    8787begin
    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;
    9090  Core.OptimizationLevel := TCompilerOptimization(ComboBoxOptimizatipn.ItemIndex);
    9191  Core.CellSize := SpinEditCellSize.Value;
Note: See TracChangeset for help on using the changeset viewer.