Ignore:
Timestamp:
Dec 3, 2014, 9:09:42 PM (10 years ago)
Author:
chronos
Message:
  • Added: Support for high DPI screens. If not detected automatically correctly then user can specify desired values.
  • Updated: Common package to newer version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r57 r59  
    197197procedure TMainForm.FormShow(Sender: TObject);
    198198begin
     199  with Core.ScaleDPI do begin
     200    ApplyToAll(DesignDPI);
     201    ScaleImageList(ImageListMain, DesignDPI);
     202  end;
    199203  Core.CoolTranslator1.Translate;
    200204  LoadFromRegistry(HKEY(Core.ApplicationInfo.RegistryRoot), Core.ApplicationInfo.RegistryKey);
     
    446450procedure TMainForm.AOptionsExecute(Sender: TObject);
    447451begin
     452  OptionsForm.Load;
    448453  //OptionsForm.LoadFromInterpretter(CurrentTarget);
    449454  if OptionsForm.ShowModal = mrOK then begin
    450455    //OptionsForm.SaveToInterpretter(CurrentTarget);
     456    OptionsForm.Save;
    451457  end;
    452458end;
Note: See TracChangeset for help on using the changeset viewer.