Changeset 308 for trunk/UCore.pas
- Timestamp:
- Aug 18, 2021, 11:50:13 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r304 r308 7 7 uses 8 8 Classes, SysUtils, XMLConf, FileUtil, ActnList, Controls, Dialogs, Forms, 9 UGame, UApplicationInfo, UPersistentForm, UScaleDPI, UCoolTranslator, DOM, 10 URegistry, ULastOpenedList, UTheme, Registry, Menus, UFormClient, UPlayer, 11 UGameServer, UGameClient, fgl, UServerList, UGameSystem, Graphics; 9 UGame, UApplicationInfo, UPersistentForm, UScaleDPI, UTranslator, DOM, 10 URegistry, ULastOpenedList, UTheme, UAboutDialog, Registry, Menus, 11 UFormClient, UPlayer, UGameServer, UGameClient, fgl, UServerList, UGameSystem, 12 Graphics; 12 13 13 14 type … … 17 18 TCore = class(TDataModule) 18 19 AAbout: TAction; 20 AboutDialog1: TAboutDialog; 19 21 AFullscreen: TAction; 20 22 AToggleFogOfWar: TAction; … … 35 37 AGameNew: TAction; 36 38 AGameRestart: TAction; 37 CoolTranslator1: T CoolTranslator;39 CoolTranslator1: TTranslator; 38 40 ImageListLarge: TImageList; 39 41 ImageListSmall: TImageList; … … 324 326 procedure TCore.AAboutExecute(Sender: TObject); 325 327 begin 326 FormAbout := TFormAbout.Create(Self); 327 try 328 FormAbout.ApplicationInfo := ApplicationInfo; 329 FormAbout.ShowModal; 330 finally 331 FreeAndNil(FormAbout); 332 end; 328 AboutDialog1.Show; 333 329 end; 334 330
Note:
See TracChangeset
for help on using the changeset viewer.