Ignore:
Timestamp:
Jun 23, 2019, 3:15:29 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Use DpiControls package for High DPI support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Integrated.lpr

    r166 r178  
    2424  Term in 'LocalPlayer\Term.pas' {MainScreen} ,
    2525  MessgEx in 'LocalPlayer\MessgEx.pas' {MessgExDlg} ,
     26  BaseWin in 'LocalPlayer\BaseWin.pas',
    2627  Help in 'LocalPlayer\Help.pas' {HelpDlg} ,
    2728  Select in 'LocalPlayer\Select.pas' {ListDlg} ,
     
    3940  Rates in 'LocalPlayer\Rates.pas' {RatesDlg} ,
    4041  TechTree in 'LocalPlayer\TechTree.pas' {TechTreeDlg},
    41   ScreenTools, Directories;
     42  ScreenTools, Directories, UDpiControls;
    4243
    4344{$if declared(UseHeapTrace)}
     
    5657
    5758  DotNetClient := nil;
    58   Application.Initialize;
    59   Application.Title := 'c-evo';
     59  DpiApplication.Initialize;
     60  DpiApplication.Title := 'c-evo';
    6061  Directories.InitUnit;
    6162  ScreenTools.UnitInit;
    62   Application.CreateForm(TDirectDlg, DirectDlg);
    63   Application.CreateForm(TStartDlg, StartDlg);
    64   Application.CreateForm(TMessgDlg, MessgDlg);
    65   Application.CreateForm(TInputDlg, InputDlg);
    66   Application.CreateForm(TBackground, Background);
    67   Application.CreateForm(TLogDlg, LogDlg);
    68   Application.Run;
     63  DpiApplication.CreateForm(TDirectDlg, DirectDlg);
     64  DpiApplication.CreateForm(TStartDlg, StartDlg);
     65  DpiApplication.CreateForm(TMessgDlg, MessgDlg);
     66  DpiApplication.CreateForm(TInputDlg, InputDlg);
     67  DpiApplication.CreateForm(TBackground, Background);
     68  DpiApplication.CreateForm(TLogDlg, LogDlg);
     69  DpiApplication.Run;
    6970  ScreenTools.UnitDone;
    7071end.
Note: See TracChangeset for help on using the changeset viewer.