Ignore:
Timestamp:
May 9, 2020, 4:02:07 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Improved HighDPI branch. Imported new changes from trunk branch.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/LocalPlayer/LocalPlayer.pas

    r155 r210  
    1111
    1212uses
    13   Term, CityScreen, Draft, MessgEx, Select, CityType, Help, UnitStat, Diagram,
     13  UDpiControls, Term, CityScreen, Draft, MessgEx, Select, CityType, Help, UnitStat, Diagram,
    1414  NatStat, Wonders, Nego, Enhance, BaseWin, Battle, Rates, TechTree,
    1515
     
    2525    FormsCreated := true;
    2626    // TODO: Changing application name in runtime will cause change of Linux XML registry file path
    27 //    Application.MainForm := MainScreen;
    28     Application.CreateForm(TMainScreen, MainScreen);
    29     Application.CreateForm(TCityDlg, CityDlg);
    30     Application.CreateForm(TModalSelectDlg, ModalSelectDlg);
    31     Application.CreateForm(TListDlg, ListDlg);
    32     Application.CreateForm(TMessgExDlg, MessgExDlg);
    33     Application.CreateForm(TDraftDlg, DraftDlg);
    34     Application.CreateForm(TCityTypeDlg, CityTypeDlg);
    35     Application.CreateForm(THelpDlg, HelpDlg);
    36     Application.CreateForm(TUnitStatDlg, UnitStatDlg);
    37     Application.CreateForm(TDiaDlg, DiaDlg);
    38     Application.CreateForm(TNatStatDlg, NatStatDlg);
    39     Application.CreateForm(TWondersDlg, WondersDlg);
    40     Application.CreateForm(TNegoDlg, NegoDlg);
    41     Application.CreateForm(TEnhanceDlg, EnhanceDlg);
    42     Application.CreateForm(TBattleDlg, BattleDlg);
    43     // Application.CreateForm(TAdvisorDlg, AdvisorDlg);
    44     Application.CreateForm(TRatesDlg, RatesDlg);
    45     Application.CreateForm(TTechTreeDlg, TechTreeDlg);
     27//    DpiApplication.MainForm := MainScreen;
     28    DpiApplication.CreateForm(TMainScreen, MainScreen);
     29    DpiApplication.CreateForm(TCityDlg, CityDlg);
     30    DpiApplication.CreateForm(TModalSelectDlg, ModalSelectDlg);
     31    DpiApplication.CreateForm(TListDlg, ListDlg);
     32    DpiApplication.CreateForm(TMessgExDlg, MessgExDlg);
     33    DpiApplication.CreateForm(TDraftDlg, DraftDlg);
     34    DpiApplication.CreateForm(TCityTypeDlg, CityTypeDlg);
     35    DpiApplication.CreateForm(THelpDlg, HelpDlg);
     36    DpiApplication.CreateForm(TUnitStatDlg, UnitStatDlg);
     37    DpiApplication.CreateForm(TDiaDlg, DiaDlg);
     38    DpiApplication.CreateForm(TNatStatDlg, NatStatDlg);
     39    DpiApplication.CreateForm(TWondersDlg, WondersDlg);
     40    DpiApplication.CreateForm(TNegoDlg, NegoDlg);
     41    DpiApplication.CreateForm(TEnhanceDlg, EnhanceDlg);
     42    DpiApplication.CreateForm(TBattleDlg, BattleDlg);
     43    // DpiApplication.CreateForm(TAdvisorDlg, AdvisorDlg);
     44    DpiApplication.CreateForm(TRatesDlg, RatesDlg);
     45    DpiApplication.CreateForm(TTechTreeDlg, TechTreeDlg);
    4646  end;
    4747  MainScreen.Client(Command, Player, Data);
Note: See TracChangeset for help on using the changeset viewer.