-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFormScriptingParser.dfm
More file actions
378 lines (378 loc) · 7.89 KB
/
FormScriptingParser.dfm
File metadata and controls
378 lines (378 loc) · 7.89 KB
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
object fmScriptingParser: TfmScriptingParser
Left = 0
Top = 0
Caption = 'KMR/KP Scripting Parser'
ClientHeight = 649
ClientWidth = 945
Color = clBtnFace
Constraints.MinHeight = 400
Constraints.MinWidth = 500
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OnCreate = FormCreate
OnDestroy = FormDestroy
DesignSize = (
945
649)
TextHeight = 13
object btnReyKMR: TButton
Left = 840
Top = 16
Width = 33
Height = 33
Anchors = [akTop, akRight]
Caption = 'Rey KMR'
TabOrder = 0
WordWrap = True
OnClick = btnReyKMRClick
end
object btnKromKP: TButton
Left = 904
Top = 16
Width = 33
Height = 33
Anchors = [akTop, akRight]
Caption = 'Krom KP'
TabOrder = 1
WordWrap = True
OnClick = btnKromKPClick
end
object btnGenerateWiki: TButton
Left = 840
Top = 56
Width = 97
Height = 49
Anchors = [akTop, akRight]
Caption = 'Generate Wiki'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = False
TabOrder = 2
WordWrap = True
OnClick = btnGenerateWikiClick
end
object btnGenerateXML: TButton
Left = 840
Top = 200
Width = 97
Height = 49
Anchors = [akTop, akRight]
Caption = 'Generate XML'
Enabled = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = False
TabOrder = 3
WordWrap = True
OnClick = btnGenerateXMLClick
end
object gbSettings: TGroupBox
Left = 8
Top = 8
Width = 825
Height = 185
Caption = ' Settings '
TabOrder = 4
object Label1: TLabel
Left = 8
Top = 32
Width = 39
Height = 13
Caption = 'Actions:'
end
object Label2: TLabel
Left = 8
Top = 56
Width = 37
Height = 13
Caption = 'Events:'
end
object Label3: TLabel
Left = 8
Top = 128
Width = 24
Height = 13
Caption = 'Utils:'
end
object Label8: TLabel
Left = 8
Top = 104
Width = 35
Height = 13
Caption = 'States:'
end
object Label4: TLabel
Left = 48
Top = 16
Width = 43
Height = 13
Caption = 'Input file'
end
object Label5: TLabel
Left = 304
Top = 16
Width = 81
Height = 13
Caption = 'Wiki template file'
end
object Label6: TLabel
Left = 464
Top = 16
Width = 71
Height = 13
Caption = 'Wiki output file'
end
object Label7: TLabel
Left = 8
Top = 152
Width = 33
Height = 13
Caption = 'Types:'
end
object Label9: TLabel
Left = 664
Top = 16
Width = 77
Height = 13
Caption = 'Code output file'
end
object edActionsIn: TEdit
Left = 48
Top = 32
Width = 249
Height = 21
TabOrder = 0
OnChange = edtOnTextChange
end
object edEventsIn: TEdit
Left = 48
Top = 56
Width = 249
Height = 21
TabOrder = 1
OnChange = edtOnTextChange
end
object edStatesIn: TEdit
Left = 48
Top = 104
Width = 249
Height = 21
TabOrder = 2
OnChange = edtOnTextChange
end
object edActionsOut: TEdit
Left = 464
Top = 32
Width = 193
Height = 21
TabOrder = 4
OnChange = edtOnTextChange
end
object edEventsOut: TEdit
Left = 464
Top = 56
Width = 193
Height = 21
TabOrder = 5
OnChange = edtOnTextChange
end
object edStatesOut: TEdit
Left = 464
Top = 104
Width = 193
Height = 21
TabOrder = 6
OnChange = edtOnTextChange
end
object edUtilsOut: TEdit
Left = 464
Top = 128
Width = 193
Height = 21
TabOrder = 7
OnChange = edtOnTextChange
end
object edUtilsIn: TEdit
Left = 48
Top = 128
Width = 249
Height = 21
TabOrder = 3
OnChange = edtOnTextChange
end
object edActionsTemplate: TEdit
Left = 304
Top = 32
Width = 153
Height = 21
TabOrder = 8
OnChange = edtOnTextChange
end
object edEventsTemplate: TEdit
Left = 304
Top = 56
Width = 153
Height = 21
TabOrder = 9
OnChange = edtOnTextChange
end
object edStatesTemplate: TEdit
Left = 304
Top = 104
Width = 153
Height = 21
TabOrder = 10
OnChange = edtOnTextChange
end
object edUtilsTemplate: TEdit
Left = 304
Top = 128
Width = 153
Height = 21
TabOrder = 11
OnChange = edtOnTextChange
end
object edTypesOut: TEdit
Left = 464
Top = 152
Width = 193
Height = 21
TabOrder = 12
OnChange = edtOnTextChange
end
object edTypesIn: TEdit
Left = 48
Top = 152
Width = 249
Height = 21
TabOrder = 13
OnChange = edtOnTextChange
end
object edTypesTemplate: TEdit
Left = 304
Top = 152
Width = 153
Height = 21
TabOrder = 14
OnChange = edtOnTextChange
end
object edActionsCode: TEdit
Left = 664
Top = 32
Width = 153
Height = 21
TabOrder = 15
OnChange = edtOnTextChange
end
object edEventsCode: TEdit
Left = 664
Top = 56
Width = 153
Height = 21
TabOrder = 16
OnChange = edtOnTextChange
end
object edStatesCode: TEdit
Left = 664
Top = 104
Width = 153
Height = 21
TabOrder = 17
OnChange = edtOnTextChange
end
object edUtilsCode: TEdit
Left = 664
Top = 128
Width = 153
Height = 21
TabOrder = 18
OnChange = edtOnTextChange
end
object edTypesCode: TEdit
Left = 664
Top = 152
Width = 153
Height = 21
TabOrder = 19
OnChange = edtOnTextChange
end
object edEventsCode2: TEdit
Left = 664
Top = 80
Width = 153
Height = 21
TabOrder = 20
OnChange = edtOnTextChange
end
end
object btnKromKMR: TButton
Left = 872
Top = 16
Width = 33
Height = 33
Anchors = [akTop, akRight]
Caption = 'Krom KMR'
TabOrder = 5
WordWrap = True
OnClick = btnKromKMRClick
end
object btnGenerateCode: TButton
Left = 840
Top = 104
Width = 97
Height = 49
Anchors = [akTop, akRight]
Caption = 'Generate Code'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = False
TabOrder = 6
WordWrap = True
OnClick = btnGenerateCodeClick
end
object meLog: TMemo
Left = 8
Top = 200
Width = 825
Height = 441
Anchors = [akLeft, akTop, akRight, akBottom]
TabOrder = 7
end
object btnCheckMessages: TButton
Left = 840
Top = 152
Width = 97
Height = 49
Anchors = [akTop, akRight]
Caption = 'Check messages'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = False
TabOrder = 8
WordWrap = True
OnClick = btnCheckMessagesClick
end
end