Changeset 210 for branches/highdpi/LocalPlayer/LocalPlayer.pas
- Timestamp:
- May 9, 2020, 4:02:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/LocalPlayer.pas
r155 r210 11 11 12 12 uses 13 Term, CityScreen, Draft, MessgEx, Select, CityType, Help, UnitStat, Diagram,13 UDpiControls, Term, CityScreen, Draft, MessgEx, Select, CityType, Help, UnitStat, Diagram, 14 14 NatStat, Wonders, Nego, Enhance, BaseWin, Battle, Rates, TechTree, 15 15 … … 25 25 FormsCreated := true; 26 26 // 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); 46 46 end; 47 47 MainScreen.Client(Command, Player, Data);
Note:
See TracChangeset
for help on using the changeset viewer.