source: branches/delphi/Forms/UFormNew.dfm

Last change on this file was 44, checked in by chronos, 10 years ago
  • Added: Test Delphi conversion.
File size: 6.8 KB
Line 
1object FormNew: TFormNew
2 Left = 706
3 Top = 455
4 Caption = 'New game'
5 ClientHeight = 560
6 ClientWidth = 700
7 Color = clBtnFace
8 Font.Charset = DEFAULT_CHARSET
9 Font.Color = clWindowText
10 Font.Height = -11
11 Font.Name = 'Tahoma'
12 Font.Style = []
13 OldCreateOrder = True
14 OnCreate = FormCreate
15 OnDestroy = FormDestroy
16 OnShow = FormShow
17 PixelsPerInch = 96
18 TextHeight = 13
19 object Splitter1: TSplitter
20 Left = 0
21 Top = 170
22 Width = 700
23 Height = 5
24 Cursor = crVSplit
25 Align = alTop
26 ExplicitWidth = 716
27 end
28 object Panel1: TPanel
29 Left = 0
30 Top = 0
31 Width = 700
32 Height = 170
33 Align = alTop
34 BevelOuter = bvNone
35 TabOrder = 0
36 DesignSize = (
37 700
38 170)
39 object ListView1: TListView
40 Left = 16
41 Top = 8
42 Width = 594
43 Height = 150
44 Anchors = [akLeft, akTop, akRight, akBottom]
45 Columns = <
46 item
47 Caption = 'Name'
48 Width = 200
49 end
50 item
51 Caption = 'Type'
52 Width = 100
53 end
54 item
55 Caption = 'Color'
56 Width = 100
57 end
58 item
59 Caption = 'Start units'
60 Width = 177
61 end>
62 OwnerData = True
63 ReadOnly = True
64 RowSelect = True
65 TabOrder = 0
66 ViewStyle = vsReport
67 OnData = ListView1Data
68 OnDblClick = ListView1DblClick
69 OnKeyPress = ListView1KeyPress
70 OnKeyUp = ListView1KeyUp
71 OnSelectItem = ListView1SelectItem
72 end
73 object ButtonPlayerAdd: TButton
74 Left = 616
75 Top = 8
76 Width = 83
77 Height = 25
78 Action = APlayerAdd
79 Anchors = [akLeft, akTop, akRight]
80 Caption = 'Add'
81 TabOrder = 1
82 end
83 object ButtonPlayerRemove: TButton
84 Left = 616
85 Top = 40
86 Width = 83
87 Height = 25
88 Action = APlayerRemove
89 Anchors = [akTop, akRight]
90 Caption = 'Remove'
91 TabOrder = 2
92 end
93 object ButtonPlayerModify: TButton
94 Left = 616
95 Top = 72
96 Width = 83
97 Height = 25
98 Action = APlayerModify
99 Anchors = [akTop, akRight]
100 Caption = 'Modify'
101 TabOrder = 3
102 end
103 end
104 object Panel2: TPanel
105 Left = 0
106 Top = 175
107 Width = 700
108 Height = 385
109 Align = alClient
110 BevelOuter = bvNone
111 TabOrder = 1
112 ExplicitHeight = 291
113 DesignSize = (
114 700
115 385)
116 object Label1: TLabel
117 Left = 8
118 Top = 9
119 Width = 53
120 Height = 13
121 Caption = 'Map width:'
122 Color = clBtnFace
123 ParentColor = False
124 end
125 object Label3: TLabel
126 Left = 331
127 Top = 102
128 Width = 11
129 Height = 13
130 Caption = '%'
131 Color = clBtnFace
132 ParentColor = False
133 end
134 object Label2: TLabel
135 Left = 8
136 Top = 57
137 Width = 57
138 Height = 13
139 Caption = 'Map height:'
140 Color = clBtnFace
141 ParentColor = False
142 end
143 object Label4: TLabel
144 Left = 331
145 Top = 142
146 Width = 11
147 Height = 13
148 Caption = '%'
149 Color = clBtnFace
150 ParentColor = False
151 end
152 object Label5: TLabel
153 Left = 216
154 Top = 201
155 Width = 48
156 Height = 13
157 Caption = 'Grid type:'
158 Color = clBtnFace
159 ParentColor = False
160 end
161 object ButtonOk: TButton
162 Left = 616
163 Top = 353
164 Width = 75
165 Height = 25
166 Anchors = [akRight, akBottom]
167 Caption = 'Ok'
168 ModalResult = 1
169 TabOrder = 0
170 ExplicitTop = 259
171 end
172 object ButtonCancel: TButton
173 Left = 526
174 Top = 353
175 Width = 75
176 Height = 25
177 Anchors = [akBottom]
178 Caption = 'Cancel'
179 ModalResult = 2
180 TabOrder = 1
181 ExplicitTop = 259
182 end
183 object CheckBoxVoid: TCheckBox
184 Left = 8
185 Top = 101
186 Width = 175
187 Height = 24
188 Caption = 'Inaccessible places'
189 TabOrder = 2
190 OnClick = CheckBoxVoidChange
191 end
192 object SpinEditMapSizeX: TSpinEdit
193 Left = 136
194 Top = 1
195 Width = 98
196 Height = 22
197 MaxValue = 100
198 MinValue = 2
199 TabOrder = 3
200 Value = 0
201 OnChange = SpinEditMapSizeXChange
202 end
203 object SpinEditMapSizeY: TSpinEdit
204 Left = 128
205 Top = 55
206 Width = 98
207 Height = 22
208 MaxValue = 100
209 MinValue = 2
210 TabOrder = 4
211 Value = 0
212 OnChange = SpinEditMapSizeYChange
213 end
214 object SpinEditVoidPercent: TSpinEdit
215 Left = 216
216 Top = 97
217 Width = 106
218 Height = 22
219 MaxValue = 0
220 MinValue = 1
221 TabOrder = 5
222 Value = 0
223 end
224 object TrackBarSizeX: TTrackBar
225 Left = 240
226 Top = 1
227 Width = 451
228 Height = 43
229 Anchors = [akLeft, akTop, akRight]
230 Max = 100
231 Min = 2
232 Position = 2
233 TabOrder = 6
234 TickStyle = tsNone
235 OnChange = TrackBarSizeXChange
236 end
237 object TrackBarSizeY: TTrackBar
238 Left = 240
239 Top = 49
240 Width = 451
241 Height = 43
242 Anchors = [akLeft, akTop, akRight]
243 Max = 100
244 Min = 2
245 Position = 2
246 TabOrder = 7
247 TickStyle = tsNone
248 OnChange = TrackBarSizeYChange
249 end
250 object CheckBoxCity: TCheckBox
251 Left = 8
252 Top = 141
253 Width = 68
254 Height = 24
255 Caption = 'Cities'
256 TabOrder = 8
257 OnClick = CheckBoxCityChange
258 end
259 object SpinEditCityPercent: TSpinEdit
260 Left = 216
261 Top = 137
262 Width = 106
263 Height = 22
264 MaxValue = 0
265 MinValue = 1
266 TabOrder = 9
267 Value = 0
268 end
269 object RadioGroupGrowAmount: TRadioGroup
270 Left = 360
271 Top = 97
272 Width = 241
273 Height = 76
274 Caption = 'Per turn grow amount'
275 Items.Strings = (
276 'By one'
277 'By square root')
278 TabOrder = 10
279 end
280 object RadioGroupGrowCells: TRadioGroup
281 Left = 8
282 Top = 185
283 Width = 185
284 Height = 105
285 Caption = 'Growing cells'
286 Items.Strings = (
287 'None'
288 'Player cities'
289 'Player all')
290 TabOrder = 11
291 end
292 object ComboBoxGridType: TComboBox
293 Left = 312
294 Top = 201
295 Width = 208
296 Height = 21
297 Style = csDropDownList
298 TabOrder = 12
299 Items.Strings = (
300 'Hexagonal'
301 'Square')
302 end
303 end
304 object ActionList1: TActionList
305 Images = Core.ImageListSmall
306 Left = 224
307 Top = 64
308 object APlayerModify: TAction
309 Caption = 'Modify player'
310 OnExecute = APlayerModifyExecute
311 end
312 object APlayerAdd: TAction
313 Caption = 'Add player'
314 OnExecute = APlayerAddExecute
315 end
316 object APlayerRemove: TAction
317 Caption = 'Remove player'
318 OnExecute = APlayerRemoveExecute
319 end
320 end
321end
Note: See TracBrowser for help on using the repository browser.