Changeset 21 for trunk/Forms
- Timestamp:
- Sep 27, 2011, 11:01:18 PM (13 years ago)
- Location:
- trunk/Forms
- Files:
-
- 5 added
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UMainForm.lfm
r19 r21 94 94 end 95 95 object ActionList1: TActionList 96 left = 2 7297 top = 2496 left = 288 97 top = 32 98 98 object AFullScreen: TAction 99 99 Caption = 'Fullscreen mode' … … 124 124 end 125 125 end 126 object CoolTranslator1: TCoolTranslator 127 POFilesFolder = 'Languages' 128 left = 288 129 top = 104 130 end 126 131 end -
trunk/Forms/UMainForm.pas
r19 r21 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 9 ComCtrls, Menus, ActnList, UCore, UPlatform, Math, DateUtils, GraphType, 10 UPersistentForm, UApplicationInfo ;10 UPersistentForm, UApplicationInfo, UCoolTranslator; 11 11 12 12 type … … 22 22 AFullScreen: TAction; 23 23 ActionList1: TActionList; 24 CoolTranslator1: TCoolTranslator; 24 25 Image1: TImage; 25 26 MainMenu1: TMainMenu; … … 69 70 70 71 uses 71 UMapForm ;72 UMapForm, UNewGameForm; 72 73 73 74 { TMainForm } … … 186 187 procedure TMainForm.ANewGameExecute(Sender: TObject); 187 188 begin 188 Engine.NewGame;189 if NewGameForm.ShowModal = mrOk then Engine.NewGame; 189 190 end; 190 191 … … 225 226 begin 226 227 PersistentForm.Load(Self); 228 CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode('cs'); 227 229 end; 228 230
Note:
See TracChangeset
for help on using the changeset viewer.