- Timestamp:
- Dec 25, 2014, 12:54:57 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r91 r97 192 192 object MenuItem16: TMenuItem 193 193 Caption = 'Help' 194 object MenuItem23: TMenuItem 195 Action = Core.AHelp 196 end 194 197 object MenuItem17: TMenuItem 195 198 Action = Core.AAbout -
trunk/Forms/UFormMain.pas
r91 r97 41 41 MenuItem21: TMenuItem; 42 42 MenuItem22: TMenuItem; 43 MenuItem23: TMenuItem; 43 44 MenuItem3: TMenuItem; 44 45 MenuItem4: TMenuItem; -
trunk/Forms/UFormSettings.pas
r77 r97 49 49 CheckBoxDevelMode.Checked := Core.DevelMode; 50 50 SpinEditAnimSpeed.Value := Core.AnimationSpeed; 51 {$IFDEF DEBUG} 52 CheckBoxDevelMode.Visible := True; 53 {$ELSE} 54 CheckBoxDevelMode.Visible := False; 55 {$ENDIF} 51 56 end; 52 57 -
trunk/Languages/xtactics.cs.po
r91 r97 70 70 msgstr "Uložit" 71 71 72 #: tcore.ahelp.caption 73 msgctxt "tcore.ahelp.caption" 74 msgid "Help" 75 msgstr "Nápověda" 76 72 77 #: tcore.asettings.caption 73 78 msgctxt "tcore.asettings.caption" … … 112 117 msgstr "OK" 113 118 119 #: tformhelp.caption 120 msgctxt "tformhelp.caption" 121 msgid "Help" 122 msgstr "Nápověda" 123 114 124 #: tformmain.astatusbarvisible.caption 115 125 msgid "Statusbar visible" … … 149 159 150 160 #: tformmain.menuitem16.caption 161 msgctxt "tformmain.menuitem16.caption" 151 162 msgid "Help" 152 163 msgstr "Nápověda" -
trunk/Languages/xtactics.po
r91 r97 61 61 msgstr "" 62 62 63 #: tcore.ahelp.caption 64 msgctxt "TCORE.AHELP.CAPTION" 65 msgid "Help" 66 msgstr "" 67 63 68 #: tcore.asettings.caption 64 69 msgctxt "tcore.asettings.caption" … … 103 108 msgstr "" 104 109 110 #: tformhelp.caption 111 msgctxt "TFORMHELP.CAPTION" 112 msgid "Help" 113 msgstr "" 114 105 115 #: tformmain.astatusbarvisible.caption 106 116 msgid "Statusbar visible" … … 140 150 141 151 #: tformmain.menuitem16.caption 152 msgctxt "tformmain.menuitem16.caption" 142 153 msgid "Help" 143 154 msgstr "" -
trunk/UCore.lfm
r94 r97 69 69 ImageIndex = 2 70 70 OnExecute = AAboutExecute 71 end 72 object AHelp: TAction 73 Caption = 'Help' 74 OnExecute = AHelpExecute 71 75 end 72 76 end -
trunk/UCore.lrt
r43 r97 14 14 TCORE.AGAMELOAD.CAPTION=Load 15 15 TCORE.AABOUT.CAPTION=About 16 TCORE.AHELP.CAPTION=Help -
trunk/UCore.pas
r95 r97 15 15 TCore = class(TDataModule) 16 16 AAbout: TAction; 17 AHelp: TAction; 17 18 AGameSave: TAction; 18 19 AGameLoad: TAction; … … 41 42 procedure AGameRestartExecute(Sender: TObject); 42 43 procedure AGameSaveExecute(Sender: TObject); 44 procedure AHelpExecute(Sender: TObject); 43 45 procedure ASettingsExecute(Sender: TObject); 44 46 procedure CoolTranslator1Translate(Sender: TObject); … … 79 81 80 82 uses 81 UFormMove, UFormMain, UFormNew, UFormSettings, UFormAbout, UFormPlayer; 83 UFormMove, UFormMain, UFormNew, UFormSettings, UFormAbout, UFormPlayer, 84 UFormHelp; 82 85 83 86 resourcestring … … 296 299 end; 297 300 301 procedure TCore.AHelpExecute(Sender: TObject); 302 begin 303 FormHelp.ShowModal; 304 end; 305 298 306 procedure TCore.ASettingsExecute(Sender: TObject); 299 307 begin -
trunk/xtactics.lpi
r94 r97 87 87 </Item5> 88 88 </RequiredPackages> 89 <Units Count=" 9">89 <Units Count="10"> 90 90 <Unit0> 91 91 <Filename Value="xtactics.lpr"/> … … 111 111 <HasResources Value="True"/> 112 112 <ResourceBaseClass Value="Form"/> 113 <UnitName Value="UFormPlayer"/> 113 114 </Unit3> 114 115 <Unit4> … … 134 135 <HasResources Value="True"/> 135 136 <ResourceBaseClass Value="Form"/> 137 <UnitName Value="UFormMove"/> 136 138 </Unit6> 137 139 <Unit7> … … 141 143 <HasResources Value="True"/> 142 144 <ResourceBaseClass Value="Form"/> 145 <UnitName Value="UFormNew"/> 143 146 </Unit7> 144 147 <Unit8> … … 149 152 <ResourceBaseClass Value="Form"/> 150 153 </Unit8> 154 <Unit9> 155 <Filename Value="Forms/UFormHelp.pas"/> 156 <IsPartOfProject Value="True"/> 157 <ComponentName Value="FormHelp"/> 158 <HasResources Value="True"/> 159 <ResourceBaseClass Value="Form"/> 160 <UnitName Value="UFormHelp"/> 161 </Unit9> 151 162 </Units> 152 163 </ProjectOptions> -
trunk/xtactics.lpr
r57 r97 11 11 UFormPlayer 12 12 { you can add units after this }, 13 SysUtils, UFormSettings, UFormMain, UFormMove, UFormNew, UFormAbout; 13 SysUtils, UFormSettings, UFormMain, UFormMove, UFormNew, UFormAbout, 14 UFormHelp; 14 15 15 16 {$R *.res} … … 37 38 Application.CreateForm(TFormSettings, FormSettings); 38 39 Application.CreateForm(TFormAbout, FormAbout); 40 Application.CreateForm(TFormHelp, FormHelp); 39 41 Application.Run; 40 42 end.
Note:
See TracChangeset
for help on using the changeset viewer.