Changeset 51 for trunk/Forms/UMainForm.pas
- Timestamp:
- Dec 20, 2021, 6:45:12 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UMainForm.pas
r47 r51 8 8 XMLConf, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, 9 9 Dialogs, ExtCtrls, ComCtrls, Menus, ActnList, UEngine, UPlatform, Math, 10 DateUtils, GraphType, UPersistentForm, UApplicationInfo, U CoolTranslator,11 LCLType, URegistry ;10 DateUtils, GraphType, UPersistentForm, UApplicationInfo, UTranslator, 11 LCLType, URegistry, UAboutDialog; 12 12 13 13 type … … 17 17 TMainForm = class(TForm) 18 18 AAbout: TAction; 19 AboutDialog1: TAboutDialog; 19 20 AShowRawImageDesc: TAction; 20 21 AShowMap: TAction; … … 143 144 Engine := TEngine.Create; 144 145 Engine.Bitmap := Image1.Picture.Bitmap; 145 Core. CoolTranslator1.Language := Core.CoolTranslator1.Languages.SearchByCode('cs');146 Core.Translator1.Language := Core.Translator1.Languages.SearchByCode('cs'); 146 147 LoadConfig; 147 148 Engine.NewGame; … … 221 222 procedure TMainForm.AAboutExecute(Sender: TObject); 222 223 begin 223 FormAbout := TFormAbout.Create(nil); 224 FormAbout.ShowModal; 225 FreeAndNil(FormAbout); 224 AboutDialog1.Show; 226 225 end; 227 226
Note:
See TracChangeset
for help on using the changeset viewer.