Changeset 145 for trunk/Forms
- Timestamp:
- Nov 12, 2017, 1:47:20 PM (7 years ago)
- Location:
- trunk/Forms
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormCharts.lfm
r128 r145 9 9 OnClose = FormClose 10 10 OnShow = FormShow 11 LCLVersion = '1. 6.4.0'11 LCLVersion = '1.8.0.4' 12 12 object Chart1: TChart 13 13 Left = 8 … … 35 35 object ComboBox1: TComboBox 36 36 Left = 24 37 Height = 3 437 Height = 36 38 38 Top = 8 39 39 Width = 392 -
trunk/Forms/UFormCharts.pas
r130 r145 7 7 uses 8 8 Classes, SysUtils, FileUtil, TAGraph, TASeries, Forms, Controls, Graphics, 9 Dialogs, StdCtrls , LMessages;9 Dialogs, StdCtrls; 10 10 11 11 type -
trunk/Forms/UFormMain.lfm
r132 r145 5 5 Width = 775 6 6 Caption = 'xTactics' 7 ClientHeight = 5 967 ClientHeight = 587 8 8 ClientWidth = 775 9 9 Menu = MainMenu1 … … 13 13 OnKeyUp = FormKeyUp 14 14 OnShow = FormShow 15 LCLVersion = '1. 6.2.0'15 LCLVersion = '1.8.0.4' 16 16 WindowState = wsMaximized 17 17 object StatusBar1: TStatusBar 18 18 Left = 0 19 Height = 2820 Top = 5 6819 Height = 30 20 Top = 557 21 21 Width = 775 22 22 Panels = < … … 34 34 object ToolBar1: TToolBar 35 35 Left = 0 36 Height = 5 6836 Height = 557 37 37 Top = 0 38 38 Width = 80 … … 72 72 object ToolButton6: TToolButton 73 73 Left = 1 74 Top = 1 9474 Top = 170 75 75 Action = AZoomIn 76 76 end 77 77 object ToolButton7: TToolButton 78 78 Left = 1 79 Top = 2 2679 Top = 202 80 80 Action = AZoomOut 81 81 end 82 82 object ToolButton8: TToolButton 83 83 Left = 1 84 Top = 2 5884 Top = 234 85 85 Action = AZoomAll 86 86 end 87 87 object ToolButton9: TToolButton 88 88 Left = 1 89 Height = 3290 89 Top = 162 91 90 Width = 32 … … 94 93 object ToolButton10: TToolButton 95 94 Left = 1 96 Height = 32 97 Top = 290 95 Top = 266 98 96 Width = 32 99 97 Style = tbsSeparator … … 101 99 object ToolButton11: TToolButton 102 100 Left = 1 103 Top = 322101 Top = 274 104 102 Action = Core.AGameLoad 105 103 end 106 104 object ToolButton12: TToolButton 107 105 Left = 1 108 Top = 3 54106 Top = 306 109 107 Action = Core.AGameSave 110 108 end 111 109 object ToolButton13: TToolButton 112 110 Left = 1 113 Top = 3 86111 Top = 338 114 112 Action = Core.AExit 115 113 end … … 117 115 object PaintBox1: TPaintBox 118 116 Left = 80 119 Height = 5 68117 Height = 557 120 118 Top = 0 121 119 Width = 695 -
trunk/Forms/UFormMain.pas
r133 r145 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 UGame, LCLType, Menus, ActnList, ComCtrls, types, dateutils, XMLConf ;9 UGame, LCLType, Menus, ActnList, ComCtrls, types, dateutils, XMLConf, DOM; 10 10 11 11 const … … 193 193 begin 194 194 with Config do begin 195 AToolBarBigIcons.Checked := GetValue( Path + '/LargeIcons', False);196 AToolBarVisible.Checked := GetValue( Path + '/ToolBarVisible', True);197 AStatusBarVisible.Checked := GetValue( Path + '/StatusBarVisible', False);195 AToolBarBigIcons.Checked := GetValue(DOMString(Path + '/LargeIcons'), False); 196 AToolBarVisible.Checked := GetValue(DOMString(Path + '/ToolBarVisible'), True); 197 AStatusBarVisible.Checked := GetValue(DOMString(Path + '/StatusBarVisible'), False); 198 198 end; 199 199 end; … … 202 202 begin 203 203 with Config do begin 204 SetValue( Path + '/LargeIcons', AToolBarBigIcons.Checked);205 SetValue( Path + '/ToolBarVisible', AToolBarVisible.Checked);206 SetValue( Path + '/StatusBarVisible', AStatusBarVisible.Checked);204 SetValue(DOMString(Path + '/LargeIcons'), AToolBarBigIcons.Checked); 205 SetValue(DOMString(Path + '/ToolBarVisible'), AToolBarVisible.Checked); 206 SetValue(DOMString(Path + '/StatusBarVisible'), AStatusBarVisible.Checked); 207 207 end; 208 208 end; … … 289 289 290 290 procedure TFormMain.AZoomOutExecute(Sender: TObject); 291 var292 D: TPoint;291 //var 292 // D: TPoint; 293 293 begin 294 294 with Core.CurrentClient do begin -
trunk/Forms/UFormSettings.lfm
r107 r145 13 13 OnShow = FormShow 14 14 Position = poMainFormCenter 15 LCLVersion = '1. 4.4.0'15 LCLVersion = '1.8.0.4' 16 16 object ButtonOk: TButton 17 17 Left = 444 … … 47 47 object TabSheetGeneral: TTabSheet 48 48 Caption = 'General' 49 ClientHeight = 22 650 ClientWidth = 5 3849 ClientHeight = 220 50 ClientWidth = 540 51 51 object Label2: TLabel 52 52 Left = 27 53 Height = 2 553 Height = 26 54 54 Top = 78 55 Width = 1 3955 Width = 150 56 56 Caption = 'Animation speed:' 57 57 ParentColor = False … … 59 59 object SpinEditAnimSpeed: TSpinEdit 60 60 Left = 232 61 Height = 3 361 Height = 36 62 62 Top = 72 63 63 Width = 122 … … 66 66 object Label3: TLabel 67 67 Left = 368 68 Height = 2 568 Height = 26 69 69 Top = 82 70 70 Width = 15 … … 72 72 ParentColor = False 73 73 end 74 object CheckBox 1: TCheckBox74 object CheckBoxAutoSaveTurn: TCheckBox 75 75 Left = 8 76 76 Height = 27 77 77 Top = 112 78 Width = 58 478 Width = 586 79 79 Anchors = [akTop, akLeft, akRight] 80 80 AutoSize = False … … 84 84 object Label1: TLabel 85 85 Left = 20 86 Height = 2 586 Height = 26 87 87 Top = 26 88 Width = 8 188 Width = 88 89 89 Caption = 'Language:' 90 90 ParentColor = False … … 92 92 object ComboBoxLanguage: TComboBox 93 93 Left = 178 94 Height = 3394 Height = 40 95 95 Top = 24 96 96 Width = 196 97 ItemHeight = 2597 ItemHeight = 0 98 98 Style = csDropDownList 99 99 TabOrder = 2 … … 102 102 object TabSheetDebug: TTabSheet 103 103 Caption = 'Debug' 104 ClientHeight = 22 6105 ClientWidth = 5 38104 ClientHeight = 220 105 ClientWidth = 540 106 106 object CheckBoxDevelMode: TCheckBox 107 107 Left = 16 -
trunk/Forms/UFormSettings.pas
r104 r145 16 16 ButtonOk: TButton; 17 17 ButtonCancel: TButton; 18 CheckBox 1: TCheckBox;18 CheckBoxAutoSaveTurn: TCheckBox; 19 19 CheckBox2: TCheckBox; 20 20 CheckBoxDevelMode: TCheckBox; … … 62 62 begin 63 63 PageControl1.TabIndex := 0; 64 Core.CoolTranslator1.TranslateComponentRecursive(Self); 64 65 end; 65 66 … … 83 84 SpinEditX.Value := Core.ScaleDPI1.DPI.X; 84 85 SpinEditY.Value := Core.ScaleDPI1.DPI.Y; 86 CheckBoxAutoSaveTurn.Checked := Core.AutoSaveEnabled; 85 87 end; 86 88 … … 93 95 Core.ScaleDPI1.AutoDetect := CheckBox2.Checked; 94 96 Core.ScaleDPI1.DPI := Point(SpinEditX.Value, SpinEditY.Value); 97 Core.AutoSaveEnabled := CheckBoxAutoSaveTurn.Checked; 95 98 end; 96 99
Note:
See TracChangeset
for help on using the changeset viewer.