Changeset 362
- Timestamp:
- Dec 31, 2024, 1:15:01 PM (7 days ago)
- Location:
- trunk
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Core.pas
r361 r362 476 476 FormMain.FormKeyShortcuts := TFormKeyShortcuts.Create(nil); 477 477 with FormMain.FormKeyShortcuts do begin 478 Image List:= ImageListSmall;478 Images := ImageListSmall; 479 479 SourceComponents.Clear; 480 480 SourceComponents.Add(Self); -
trunk/Forms/FormCharts.lfm
r317 r362 1 1 object FormCharts: TFormCharts 2 Left = 8083 Height = 7094 Top = 3655 Width = 9442 Left = 411 3 Height = 586 4 Top = 146 5 Width = 787 6 6 Caption = 'Charts' 7 ClientHeight = 7098 ClientWidth = 9449 DesignTimePPI = 1 447 ClientHeight = 586 8 ClientWidth = 787 9 DesignTimePPI = 120 10 10 OnShow = FormShow 11 LCLVersion = '3. 4.0.0'11 LCLVersion = '3.6.0.0' 12 12 object Chart1: TChart 13 Left = 1014 Height = 63615 Top = 6716 Width = 92913 Left = 8 14 Height = 488 15 Top = 48 16 Width = 775 17 17 AxisList = < 18 18 item … … 38 38 end 39 39 object ComboBox1: TComboBox 40 Left = 2 941 Height = 3842 Top = 1043 Width = 47044 ItemHeight = 040 Left = 24 41 Height = 28 42 Top = 8 43 Width = 392 44 ItemHeight = 20 45 45 ItemIndex = 0 46 46 Items.Strings = ( … … 55 55 OnChange = ComboBox1Change 56 56 end 57 object ButtonClose: TButton 58 Left = 680 59 Height = 31 60 Top = 544 61 Width = 94 62 Caption = 'Close' 63 ModalResult = 11 64 TabOrder = 2 65 OnClick = ButtonCloseClick 66 end 57 67 end -
trunk/Forms/FormCharts.lrj
r317 r362 1 1 {"version":1,"strings":[ 2 2 {"hash":77498803,"name":"tformcharts.caption","sourcebytes":[67,104,97,114,116,115],"value":"Charts"}, 3 {"hash":264628691,"name":"tformcharts.combobox1.text","sourcebytes":[79,99,99,117,112,105,101,100,32,99,101,108,108,115],"value":"Occupied cells"} 3 {"hash":264628691,"name":"tformcharts.combobox1.text","sourcebytes":[79,99,99,117,112,105,101,100,32,99,101,108,108,115],"value":"Occupied cells"}, 4 {"hash":4863637,"name":"tformcharts.buttonclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"} 4 5 ]} -
trunk/Forms/FormCharts.pas
r344 r362 12 12 13 13 TFormCharts = class(TFormEx) 14 ButtonClose: TButton; 14 15 Chart1: TChart; 15 16 ComboBox1: TComboBox; 17 procedure ButtonCloseClick(Sender: TObject); 16 18 procedure ComboBox1Change(Sender: TObject); 17 19 procedure FormShow(Sender: TObject); … … 44 46 begin 45 47 Redraw; 48 end; 49 50 procedure TFormCharts.ButtonCloseClick(Sender: TObject); 51 begin 52 Close; 46 53 end; 47 54 -
trunk/Forms/FormHelp.lfm
r317 r362 1 1 object FormHelp: TFormHelp 2 Left = 10403 Height = 4324 Top = 5405 Width = 5822 Left = 514 3 Height = 360 4 Top = 267 5 Width = 485 6 6 Caption = 'Help' 7 ClientHeight = 4328 ClientWidth = 5829 Constraints.MinHeight = 26810 Constraints.MinWidth = 50911 DesignTimePPI = 1 447 ClientHeight = 360 8 ClientWidth = 485 9 Constraints.MinHeight = 100 10 Constraints.MinWidth = 100 11 DesignTimePPI = 120 12 12 OnCreate = FormCreate 13 13 Position = poMainFormCenter 14 LCLVersion = '3. 4.0.0'14 LCLVersion = '3.6.0.0' 15 15 object Memo1: TMemo 16 Left = 7 17 Height = 418 18 Top = 7 19 Width = 568 20 Align = alClient 21 BorderSpacing.Around = 7 16 Left = 8 17 Height = 304 18 Top = 8 19 Width = 469 20 Align = alTop 21 Anchors = [akTop, akLeft, akRight, akBottom] 22 BorderSpacing.Around = 8 22 23 ReadOnly = True 23 24 ScrollBars = ssAutoBoth 24 25 TabOrder = 0 25 26 end 27 object ButtonClose: TButton 28 Left = 383 29 Height = 31 30 Top = 320 31 Width = 94 32 Anchors = [akRight, akBottom] 33 Caption = 'Close' 34 ModalResult = 11 35 TabOrder = 1 36 end 26 37 end -
trunk/Forms/FormHelp.lrj
r317 r362 1 1 {"version":1,"strings":[ 2 {"hash":322608,"name":"tformhelp.caption","sourcebytes":[72,101,108,112],"value":"Help"} 2 {"hash":322608,"name":"tformhelp.caption","sourcebytes":[72,101,108,112],"value":"Help"}, 3 {"hash":4863637,"name":"tformhelp.buttonclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"} 3 4 ]} -
trunk/Forms/FormHelp.pas
r317 r362 12 12 13 13 TFormHelp = class(TFormEx) 14 ButtonClose: TButton; 14 15 Memo1: TMemo; 15 16 procedure FormCreate(Sender: TObject); -
trunk/Forms/FormPlayersStats.lfm
r317 r362 1 1 object FormPlayersStats: TFormPlayersStats 2 Left = 9073 Height = 3004 Top = 5705 Width = 7462 Left = 689 3 Height = 249 4 Top = 437 5 Width = 598 6 6 Caption = 'Players stats' 7 ClientHeight = 300 8 ClientWidth = 746 9 DesignTimePPI = 144 7 ClientHeight = 249 8 ClientWidth = 598 9 Constraints.MinHeight = 100 10 Constraints.MinWidth = 100 11 DesignTimePPI = 120 10 12 OnShow = FormShow 11 LCLVersion = '3. 4.0.0'13 LCLVersion = '3.6.0.0' 12 14 object ListView1: TListView 13 Left = 5 14 Height = 290 15 Top = 5 16 Width = 736 17 Align = alClient 18 BorderSpacing.Around = 5 15 Left = 8 16 Height = 191 17 Top = 8 18 Width = 582 19 Align = alTop 20 Anchors = [akTop, akLeft, akRight, akBottom] 21 BorderSpacing.Around = 8 19 22 Columns = < 20 23 item 21 24 Caption = 'Name' 22 Width = 1 2025 Width = 100 23 26 end 24 27 item 25 28 Caption = 'Mode' 26 Width = 1 2029 Width = 100 27 30 end 28 31 item 29 32 Caption = 'Cells' 30 Width = 1 2033 Width = 100 31 34 end 32 35 item 33 36 Caption = 'Discovered' 34 Width = 1 2037 Width = 100 35 38 end 36 39 item 37 40 Caption = 'Cities' 38 Width = 1 2041 Width = 100 39 42 end 40 43 item 41 44 Caption = 'Units' 42 Width = 1 2045 Width = 100 43 46 end 44 47 item 45 48 Caption = 'Win objective cells' 46 Width = 1 5049 Width = 125 47 50 end> 48 51 OwnerData = True … … 54 57 OnData = ListView1Data 55 58 end 59 object ButtonClose: TButton 60 Left = 496 61 Height = 31 62 Top = 207 63 Width = 94 64 Anchors = [akRight, akBottom] 65 Caption = 'Close' 66 TabOrder = 1 67 OnClick = ButtonCloseClick 68 end 56 69 object PopupMenu1: TPopupMenu 57 Left = 1 7258 Top = 1 3270 Left = 143 71 Top = 110 59 72 object MenuItem1: TMenuItem 60 73 Action = ASpectate … … 62 75 end 63 76 object ActionList1: TActionList 64 Left = 44865 Top = 1 3677 Left = 373 78 Top = 113 66 79 object ASpectate: TAction 67 80 Caption = 'Spectate' … … 75 88 Column = 0 76 89 Order = soNone 77 Left = 65378 Top = 1 3290 Left = 544 91 Top = 110 79 92 end 80 93 end -
trunk/Forms/FormPlayersStats.lrj
r317 r362 8 8 {"hash":6049971,"name":"tformplayersstats.listview1.columns[5].caption","sourcebytes":[85,110,105,116,115],"value":"Units"}, 9 9 {"hash":164849683,"name":"tformplayersstats.listview1.columns[6].caption","sourcebytes":[87,105,110,32,111,98,106,101,99,116,105,118,101,32,99,101,108,108,115],"value":"Win objective cells"}, 10 {"hash":4863637,"name":"tformplayersstats.buttonclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"}, 10 11 {"hash":112897285,"name":"tformplayersstats.aspectate.caption","sourcebytes":[83,112,101,99,116,97,116,101],"value":"Spectate"} 11 12 ]} -
trunk/Forms/FormPlayersStats.pas
r318 r362 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, 7 Menus, ActnList, Game, ListViewSort, FormEx, Player;7 Menus, ActnList, StdCtrls, Game, ListViewSort, FormEx, Player; 8 8 9 9 type … … 14 14 ASpectate: TAction; 15 15 ActionList1: TActionList; 16 ButtonClose: TButton; 16 17 ListView1: TListView; 17 18 ListViewSort1: TListViewSort; … … 19 20 PopupMenu1: TPopupMenu; 20 21 procedure ASpectateExecute(Sender: TObject); 22 procedure ButtonCloseClick(Sender: TObject); 21 23 procedure FormShow(Sender: TObject); 22 24 procedure ListView1Data(Sender: TObject; Item: TListItem); … … 95 97 end; 96 98 99 procedure TFormPlayersStats.ButtonCloseClick(Sender: TObject); 100 begin 101 Close; 102 end; 103 97 104 procedure TFormPlayersStats.ReloadList; 98 105 begin -
trunk/Forms/FormUnitMoves.lfm
r318 r362 1 1 object FormUnitMoves: TFormUnitMoves 2 2 Left = 879 3 Height = 4183 Height = 279 4 4 Top = 511 5 Width = 8025 Width = 660 6 6 Caption = 'Unit moves' 7 ClientHeight = 418 8 ClientWidth = 802 9 DesignTimePPI = 144 7 ClientHeight = 279 8 ClientWidth = 660 9 Constraints.MinHeight = 100 10 Constraints.MinWidth = 100 11 DesignTimePPI = 120 10 12 OnShow = FormShow 11 LCLVersion = '3. 4.0.0'13 LCLVersion = '3.6.0.0' 12 14 object ListView1: TListView 13 Left = 0 14 Height = 418 15 Top = 0 16 Width = 802 17 Align = alClient 15 Left = 8 16 Height = 224 17 Top = 8 18 Width = 644 19 Align = alTop 20 Anchors = [akTop, akLeft, akRight, akBottom] 21 BorderSpacing.Around = 8 18 22 Columns = < 19 23 item 20 24 Caption = 'From cell' 21 Width = 1 8025 Width = 150 22 26 end 23 27 item 24 28 Caption = 'To cell' 25 Width = 1 8029 Width = 150 26 30 end 27 31 item 28 32 Caption = 'Once count' 29 Width = 1 8033 Width = 150 30 34 end 31 35 item 32 36 Caption = 'Repeat count' 33 Width = 3 9837 Width = 332 34 38 end> 35 39 OwnerData = True … … 41 45 OnData = ListView1Data 42 46 end 47 object ButtonClose: TButton 48 Left = 558 49 Height = 31 50 Top = 240 51 Width = 94 52 Anchors = [akRight, akBottom] 53 Caption = 'Close' 54 ModalResult = 11 55 TabOrder = 1 56 OnClick = ButtonCloseClick 57 end 43 58 end -
trunk/Forms/FormUnitMoves.lrj
r317 r362 4 4 {"hash":186031228,"name":"tformunitmoves.listview1.columns[1].caption","sourcebytes":[84,111,32,99,101,108,108],"value":"To cell"}, 5 5 {"hash":124588228,"name":"tformunitmoves.listview1.columns[2].caption","sourcebytes":[79,110,99,101,32,99,111,117,110,116],"value":"Once count"}, 6 {"hash":65405396,"name":"tformunitmoves.listview1.columns[3].caption","sourcebytes":[82,101,112,101,97,116,32,99,111,117,110,116],"value":"Repeat count"} 6 {"hash":65405396,"name":"tformunitmoves.listview1.columns[3].caption","sourcebytes":[82,101,112,101,97,116,32,99,111,117,110,116],"value":"Repeat count"}, 7 {"hash":4863637,"name":"tformunitmoves.buttonclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"} 7 8 ]} -
trunk/Forms/FormUnitMoves.pas
r318 r362 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, 7 FormEx, Game;7 StdCtrls, FormEx, Game; 8 8 9 9 type … … 12 12 13 13 TFormUnitMoves = class(TFormEx) 14 ButtonClose: TButton; 14 15 ListView1: TListView; 16 procedure ButtonCloseClick(Sender: TObject); 15 17 procedure FormShow(Sender: TObject); 16 18 procedure ListView1Data(Sender: TObject; Item: TListItem); … … 48 50 end; 49 51 52 procedure TFormUnitMoves.ButtonCloseClick(Sender: TObject); 53 begin 54 Close; 55 end; 56 50 57 procedure TFormUnitMoves.ReloadList; 51 58 begin -
trunk/Languages/xtactics.cs.po
r361 r362 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Generator: Poedit 3. 4.2\n"12 "X-Generator: Poedit 3.5\n" 13 13 14 14 #: building.sbonusattack … … 575 575 msgstr "Uložit jako" 576 576 577 #: tformcharts.buttonclose.caption 578 msgctxt "tformcharts.buttonclose.caption" 579 msgid "Close" 580 msgstr "Zavřít" 581 577 582 #: tformcharts.caption 578 583 msgctxt "tformcharts.caption" … … 735 740 msgstr "Jméno" 736 741 742 #: tformhelp.buttonclose.caption 743 msgctxt "tformhelp.buttonclose.caption" 744 msgid "Close" 745 msgstr "Zavřít" 746 737 747 #: tformhelp.caption 738 748 msgctxt "tformhelp.caption" … … 1058 1068 msgstr "Divák" 1059 1069 1070 #: tformplayersstats.buttonclose.caption 1071 msgctxt "tformplayersstats.buttonclose.caption" 1072 msgid "Close" 1073 msgstr "Zavřít" 1074 1060 1075 #: tformplayersstats.caption 1061 1076 msgid "Players stats" … … 1182 1197 msgstr "Obecné" 1183 1198 1199 #: tformunitmoves.buttonclose.caption 1200 msgctxt "tformunitmoves.buttonclose.caption" 1201 msgid "Close" 1202 msgstr "Zavřít" 1203 1184 1204 #: tformunitmoves.caption 1185 1205 msgctxt "tformunitmoves.caption" … … 1237 1257 msgid "View range" 1238 1258 msgstr "Dohled" 1239 -
trunk/Languages/xtactics.pot
r361 r362 553 553 msgstr "" 554 554 555 #: tformcharts.buttonclose.caption 556 msgctxt "tformcharts.buttonclose.caption" 557 msgid "Close" 558 msgstr "" 559 555 560 #: tformcharts.caption 556 561 msgctxt "tformcharts.caption" … … 711 716 msgstr "" 712 717 718 #: tformhelp.buttonclose.caption 719 msgctxt "tformhelp.buttonclose.caption" 720 msgid "Close" 721 msgstr "" 722 713 723 #: tformhelp.caption 714 724 msgctxt "tformhelp.caption" … … 1022 1032 msgstr "" 1023 1033 1034 #: tformplayersstats.buttonclose.caption 1035 msgctxt "tformplayersstats.buttonclose.caption" 1036 msgid "Close" 1037 msgstr "" 1038 1024 1039 #: tformplayersstats.caption 1025 1040 msgid "Players stats" … … 1145 1160 msgstr "" 1146 1161 1162 #: tformunitmoves.buttonclose.caption 1163 msgctxt "tformunitmoves.buttonclose.caption" 1164 msgid "Close" 1165 msgstr "" 1166 1147 1167 #: tformunitmoves.caption 1148 1168 msgctxt "tformunitmoves.caption" -
trunk/Packages/Common/Forms/FormKeyShortcuts.lfm
r332 r362 1 1 object FormKeyShortcuts: TFormKeyShortcuts 2 2 Left = 839 3 Height = 3293 Height = 274 4 4 Top = 609 5 Width = 7045 Width = 587 6 6 Caption = 'Key shortcuts' 7 ClientHeight = 3298 ClientWidth = 7049 DesignTimePPI = 1 447 ClientHeight = 274 8 ClientWidth = 587 9 DesignTimePPI = 120 10 10 OnCreate = FormCreate 11 11 OnDestroy = FormDestroy 12 12 OnShow = FormShow 13 LCLVersion = '3. 4.0.0'13 LCLVersion = '3.6.0.0' 14 14 object ListView1: TListView 15 Left = 5 16 Height = 319 17 Top = 5 18 Width = 694 19 Align = alClient 20 BorderSpacing.Around = 5 15 Left = 8 16 Height = 212 17 Top = 8 18 Width = 571 19 Align = alTop 20 Anchors = [akTop, akLeft, akRight, akBottom] 21 BorderSpacing.Around = 8 21 22 Columns = < 22 23 item 23 24 Caption = 'Action' 24 Width = 2 4025 Width = 200 25 26 end 26 27 item 27 28 Caption = 'Window' 28 Width = 2 4029 Width = 200 29 30 end 30 31 item 31 32 Caption = 'Shortcut' 32 Width = 1 9933 Width = 166 33 34 end> 34 35 OwnerData = True … … 42 43 OnKeyPress = ListView1KeyPress 43 44 end 45 object ButtonClose: TButton 46 Left = 485 47 Height = 31 48 Top = 232 49 Width = 94 50 Anchors = [akRight, akBottom] 51 Caption = 'Close' 52 ModalResult = 11 53 TabOrder = 1 54 OnClick = ButtonCloseClick 55 end 44 56 object PopupMenu1: TPopupMenu 45 Left = 40846 Top = 1 4457 Left = 340 58 Top = 120 47 59 object MenuItem1: TMenuItem 48 60 Caption = 'Execute' … … 55 67 Column = 0 56 68 Order = soNone 57 Left = 20058 Top = 1 6069 Left = 184 70 Top = 120 59 71 end 60 72 end -
trunk/Packages/Common/Forms/FormKeyShortcuts.lrj
r332 r362 4 4 {"hash":98585447,"name":"tformkeyshortcuts.listview1.columns[1].caption","sourcebytes":[87,105,110,100,111,119],"value":"Window"}, 5 5 {"hash":258584404,"name":"tformkeyshortcuts.listview1.columns[2].caption","sourcebytes":[83,104,111,114,116,99,117,116],"value":"Shortcut"}, 6 {"hash":4863637,"name":"tformkeyshortcuts.buttonclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"}, 6 7 {"hash":216771813,"name":"tformkeyshortcuts.menuitem1.caption","sourcebytes":[69,120,101,99,117,116,101],"value":"Execute"} 7 8 ]} -
trunk/Packages/Common/Forms/FormKeyShortcuts.pas
r332 r362 13 13 14 14 TFormKeyShortcuts = class(TFormEx) 15 ButtonClose: TButton; 15 16 ListView1: TListView; 16 17 ListViewSort1: TListViewSort; 17 18 MenuItem1: TMenuItem; 18 19 PopupMenu1: TPopupMenu; 20 procedure ButtonCloseClick(Sender: TObject); 19 21 procedure FormCreate(Sender: TObject); 20 22 procedure FormDestroy(Sender: TObject); … … 25 27 procedure MenuItem1Click(Sender: TObject); 26 28 private 27 function GetImage List: TCustomImageList;28 procedure SetImage List(AValue: TCustomImageList);29 function GetImages: TCustomImageList; 30 procedure SetImages(AValue: TCustomImageList); 29 31 public 30 32 SourceComponents: TObjectList<TComponent>; 31 33 MainForm: TForm; 32 34 procedure LoadFromComponent(C: TComponent); 33 property Image List: TCustomImageList read GetImageList write SetImageList;35 property Images: TCustomImageList read GetImages write SetImages; 34 36 end; 35 37 … … 49 51 SShortcut = 'Shortcut'; 50 52 SKeyShortcuts = 'Key shortcuts'; 53 SClose = 'Close'; 51 54 52 55 { TFormKeyShortcuts } … … 105 108 end; 106 109 110 procedure TFormKeyShortcuts.ButtonCloseClick(Sender: TObject); 111 begin 112 Close; 113 end; 114 107 115 procedure TFormKeyShortcuts.FormDestroy(Sender: TObject); 108 116 begin … … 116 124 end; 117 125 118 function TFormKeyShortcuts.GetImage List: TCustomImageList;126 function TFormKeyShortcuts.GetImages: TCustomImageList; 119 127 begin 120 128 Result := ListView1.SmallImages; 121 129 end; 122 130 123 procedure TFormKeyShortcuts.SetImage List(AValue: TCustomImageList);131 procedure TFormKeyShortcuts.SetImages(AValue: TCustomImageList); 124 132 begin 125 133 ListView1.SmallImages := AValue; -
trunk/Packages/Common/Languages/FormKeyShortcuts.cs.po
r355 r362 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Generator: Poedit 3. 4.2\n"12 "X-Generator: Poedit 3.5\n" 13 13 14 14 #: formkeyshortcuts.saction 15 15 msgid "Action" 16 16 msgstr "Akce" 17 18 #: formkeyshortcuts.sclose 19 msgid "Close" 20 msgstr "Zavřít" 17 21 18 22 #: formkeyshortcuts.sexecute … … 40 44 msgid "Window" 41 45 msgstr "Okno" 42 -
trunk/Packages/Common/Languages/FormKeyShortcuts.pot
r332 r362 4 4 #: formkeyshortcuts.saction 5 5 msgid "Action" 6 msgstr "" 7 8 #: formkeyshortcuts.sclose 9 msgid "Close" 6 10 msgstr "" 7 11
Note:
See TracChangeset
for help on using the changeset viewer.