This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathvcmi.frames.tools.lfm
483 lines (483 loc) · 17.2 KB
/
vcmi.frames.tools.lfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
object ToolsFrame: TToolsFrame
Left = 0
Height = 350
Top = 0
Width = 218
ClientHeight = 350
ClientWidth = 218
Constraints.MinHeight = 200
Constraints.MinWidth = 200
TabOrder = 0
DesignLeft = 553
DesignTop = 200
object ToolsPages: TPageControl
Left = 0
Height = 350
Top = 0
Width = 218
ActivePage = tsObjects
Align = alClient
TabIndex = 0
TabOrder = 0
TabPosition = tpLeft
OnChange = ToolsPagesChange
OnChanging = ToolsPagesChanging
object tsObjects: TTabSheet
Caption = 'Objects'
ClientHeight = 342
ClientWidth = 187
object gbBrushObjects: TGroupBox
Left = 1
Height = 50
Top = 1
Width = 185
Align = alTop
BorderSpacing.Around = 1
Caption = 'Brush'
ChildSizing.LeftRightSpacing = 3
ChildSizing.TopBottomSpacing = 5
ChildSizing.HorizontalSpacing = 1
ChildSizing.VerticalSpacing = 5
ChildSizing.EnlargeHorizontal = crsHomogenousSpaceResize
ChildSizing.EnlargeVertical = crsHomogenousSpaceResize
ChildSizing.ShrinkHorizontal = crsHomogenousSpaceResize
ChildSizing.ShrinkVertical = crsHomogenousSpaceResize
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 6
ClientHeight = 30
ClientWidth = 181
Constraints.MaxHeight = 50
Constraints.MinHeight = 46
TabOrder = 0
object btnSelect: TSpeedButton
Left = 43
Height = 28
Top = 0
Width = 28
Action = actObjSize0
BorderSpacing.Around = 3
Constraints.MinWidth = 24
Down = True
Glyph.Data = {
36090000424D3609000000000000360000002800000018000000180000000100
2000000000000009000064000000640000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000101FF000202FF0000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000030809FFF7FCFDFFFAFEFFFF010304FF00000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000E0508FF000000000000
000000000000000001FFFDFFFFFFFFFEFFFF030002FF00000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000090000FF050000FF0000
00000A0808FFFDFDFDFF00000000060404FF0000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000E0607FFFFFAFBFF0400
00FF020000FFFCFAFAFFFFFEFFFF040000FF0000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000040000FF00000000FFFD
FDFF0000000000000000020000FF000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000020000FF00000000FDFF
FFFFF8FAFAFFF7F9F9FF0B0B0BFF020000FF040000FF080203FF000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000100FFFBFFFEFFFBFF
FEFFF1F8F5FFFAFFFEFFFAFFFEFFFDFFFFFF020000FF00000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000080907FFFBFEFCFFF9FE
FCFFFAFFFEFFF2F9F6FFFAFFFFFF000100FF0000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000A0502FFF9F6F2FFFFFF
FCFFF8FDFBFFFAFFFEFF000200FF000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000100000FFFFFDFBFFFFFF
FCFFFEFCFBFF000200FF00000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000002E0C0CFFFFF8F7FFFFFB
F8FF090000FF0000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000002C0000FFFFFAFBFF1E00
00FF000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000440207FF300000FF0000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000010000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000
}
GroupIndex = 10
end
object btnBrushArea: TSpeedButton
Left = 114
Height = 28
Top = 0
Width = 24
Action = actObjSizeRect
BorderSpacing.Around = 3
Constraints.MinWidth = 24
Enabled = False
Font.Height = -16
Font.Style = [fsBold]
GroupIndex = 10
ParentFont = False
end
end
end
object tsTerrain: TTabSheet
Caption = 'Terrain'
ClientHeight = 342
ClientWidth = 187
object gbBrushTerrain: TGroupBox
Left = 1
Height = 50
Top = 1
Width = 185
Align = alTop
BorderSpacing.Around = 1
Caption = 'Brush'
ChildSizing.LeftRightSpacing = 3
ChildSizing.TopBottomSpacing = 5
ChildSizing.HorizontalSpacing = 1
ChildSizing.VerticalSpacing = 5
ChildSizing.EnlargeHorizontal = crsHomogenousSpaceResize
ChildSizing.EnlargeVertical = crsHomogenousSpaceResize
ChildSizing.ShrinkHorizontal = crsHomogenousSpaceResize
ChildSizing.ShrinkVertical = crsHomogenousSpaceResize
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 6
ClientHeight = 30
ClientWidth = 181
Constraints.MaxHeight = 50
Constraints.MinHeight = 46
TabOrder = 0
object btnBrush3: TSpeedButton
Left = 17
Height = 25
Top = 0
Width = 24
Action = actSize1
BorderSpacing.Around = 3
Constraints.MinWidth = 24
Down = True
GroupIndex = 1
end
object btnBrush5: TSpeedButton
Left = 58
Height = 25
Top = 0
Width = 24
Action = actSize2
BorderSpacing.Around = 3
Constraints.MinWidth = 24
GroupIndex = 1
end
object btnBrush6: TSpeedButton
Left = 99
Height = 25
Top = 0
Width = 24
Action = actSize4
BorderSpacing.Around = 3
Constraints.MinWidth = 24
GroupIndex = 1
end
object btnBrushArea1: TSpeedButton
Left = 140
Height = 25
Top = 0
Width = 24
Action = actSizeRect
BorderSpacing.Around = 3
Constraints.MinWidth = 24
Font.Height = -16
Font.Style = [fsBold]
GroupIndex = 1
ParentFont = False
end
end
object gbTerrain: TGroupBox
Left = 1
Height = 204
Top = 52
Width = 185
Align = alTop
BorderSpacing.Around = 1
Caption = 'Landscape'
ChildSizing.LeftRightSpacing = 5
ChildSizing.HorizontalSpacing = 5
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousSpaceResize
ChildSizing.ShrinkHorizontal = crsHomogenousChildResize
ChildSizing.ShrinkVertical = crsHomogenousSpaceResize
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 3
TabOrder = 1
end
end
object tsRoads: TTabSheet
Caption = 'Roads'
ClientHeight = 342
ClientWidth = 187
object RoadType: TRadioGroup
Left = 1
Height = 19
Top = 1
Width = 185
Align = alTop
AutoFill = True
AutoSize = True
BorderSpacing.Around = 1
Caption = 'RoadType'
ChildSizing.LeftRightSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
OnSelectionChanged = RoadTypeSelectionChanged
TabOrder = 0
end
end
object tsRivers: TTabSheet
Caption = 'Rivers'
ClientHeight = 342
ClientWidth = 187
object RiverType: TRadioGroup
Left = 1
Height = 19
Top = 1
Width = 185
Align = alTop
AutoFill = True
AutoSize = True
BorderSpacing.Around = 1
Caption = 'RiverType'
ChildSizing.LeftRightSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
OnSelectionChanged = RiverTypeSelectionChanged
TabOrder = 0
end
end
object tsErase: TTabSheet
Caption = 'Erase'
ClientHeight = 342
ClientWidth = 187
object gbBrushTerrain1: TGroupBox
Left = 1
Height = 50
Top = 1
Width = 185
Align = alTop
BorderSpacing.Around = 1
Caption = 'Brush'
ChildSizing.LeftRightSpacing = 3
ChildSizing.TopBottomSpacing = 5
ChildSizing.HorizontalSpacing = 1
ChildSizing.VerticalSpacing = 5
ChildSizing.EnlargeHorizontal = crsHomogenousSpaceResize
ChildSizing.EnlargeVertical = crsHomogenousSpaceResize
ChildSizing.ShrinkHorizontal = crsHomogenousSpaceResize
ChildSizing.ShrinkVertical = crsHomogenousSpaceResize
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 6
ClientHeight = 30
ClientWidth = 181
Constraints.MaxHeight = 50
Constraints.MinHeight = 46
TabOrder = 0
object btnBrush4: TSpeedButton
Left = 17
Height = 25
Top = 0
Width = 24
Action = actEraseSize1
BorderSpacing.Around = 3
Constraints.MinWidth = 24
Down = True
GroupIndex = 50
end
object btnBrush7: TSpeedButton
Left = 58
Height = 25
Top = 0
Width = 24
Action = actEraseSize2
BorderSpacing.Around = 3
Constraints.MinWidth = 24
GroupIndex = 50
end
object btnBrush8: TSpeedButton
Left = 99
Height = 25
Top = 0
Width = 24
Action = actEraseSize4
BorderSpacing.Around = 3
Constraints.MinWidth = 24
GroupIndex = 50
end
object btnBrushArea2: TSpeedButton
Left = 140
Height = 25
Top = 0
Width = 24
Action = actEraseSizeRect
BorderSpacing.Around = 3
Constraints.MinWidth = 24
Font.Height = -16
Font.Style = [fsBold]
GroupIndex = 50
ParentFont = False
end
end
object EraseFilter: TCheckGroup
Left = 1
Height = 105
Top = 52
Width = 185
Align = alTop
AutoFill = True
BorderSpacing.Around = 1
Caption = 'Filter'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
OnItemClick = EraseFilterItemClick
TabOrder = 1
end
object EraseObjects: TRadioGroup
Left = 0
Height = 105
Top = 158
Width = 187
Align = alTop
AutoFill = True
Caption = 'Erase objects by'
ChildSizing.LeftRightSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
OnClick = EraseObjectsClick
TabOrder = 2
end
end
end
object act: TActionList
left = 152
top = 296
object actSize1: TAction
Category = 'BrushSize'
AutoCheck = True
Caption = '1x1'
GroupIndex = 1
OnExecute = actSize1Execute
end
object actSize2: TAction
Category = 'BrushSize'
AutoCheck = True
Caption = '2x2'
GroupIndex = 1
OnExecute = actSize2Execute
end
object actSize4: TAction
Category = 'BrushSize'
AutoCheck = True
Caption = '4x4'
GroupIndex = 1
OnExecute = actSize4Execute
end
object actSizeRect: TAction
Category = 'BrushSize'
AutoCheck = True
Caption = '□'
GroupIndex = 1
OnExecute = actSizeRectExecute
end
object actObjSize0: TAction
Category = 'BrushSize'
AutoCheck = True
Checked = True
GroupIndex = 10
OnExecute = actObjSize0Execute
end
object actObjSizeRect: TAction
Category = 'BrushSize'
AutoCheck = True
Caption = '□'
GroupIndex = 10
OnExecute = actObjSizeRectExecute
end
object actEraseSize1: TAction
Category = 'BrushSize'
AutoCheck = True
Caption = '1x1'
Checked = True
GroupIndex = 50
OnExecute = actEraseSize1Execute
end
object actEraseSize2: TAction
Category = 'BrushSize'
AutoCheck = True
Caption = '2x2'
GroupIndex = 50
OnExecute = actEraseSize2Execute
end
object actEraseSize4: TAction
Category = 'BrushSize'
AutoCheck = True
Caption = '4x4'
GroupIndex = 50
OnExecute = actEraseSize4Execute
end
object actEraseSizeRect: TAction
Category = 'BrushSize'
AutoCheck = True
Caption = '□'
GroupIndex = 50
OnExecute = actEraseSizeRectExecute
end
end
end