forked from P33a/SimTwo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSceneEdit.lfm
364 lines (364 loc) · 9.9 KB
/
SceneEdit.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
object FSceneEdit: TFSceneEdit
Left = 417
Height = 728
Top = 230
Width = 910
Caption = 'XML Scene Edit'
ClientHeight = 708
ClientWidth = 910
Color = clBtnFace
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Menu = MainMenu
OnClose = FormClose
OnCloseQuery = FormCloseQuery
OnCreate = FormCreate
OnShow = FormShow
SessionProperties = 'PageControlXML.ActivePage;Top;Left;Width;Height'
LCLVersion = '2.1.0.0'
Visible = True
object Splitter: TSplitter
Cursor = crVSplit
Left = 0
Height = 3
Top = 585
Width = 910
Align = alBottom
ResizeAnchor = akBottom
end
object StatusBar: TStatusBar
Left = 0
Height = 23
Top = 685
Width = 910
Panels = <
item
Alignment = taCenter
Text = 'Line:Col'
Width = 60
end
item
Alignment = taCenter
Text = 'Modified'
Width = 50
end
item
Alignment = taCenter
Text = 'Insert'
Width = 55
end
item
Alignment = taCenter
Width = 150
end
item
Width = 50
end>
end
object LBErrors: TListBox
Left = 0
Height = 97
Top = 588
Width = 910
Align = alBottom
ItemHeight = 0
OnDblClick = LBErrorsDblClick
TabOrder = 1
end
object PageControlXML: TPageControl
Left = 0
Height = 585
Top = 0
Width = 910
ActivePage = TabScene
Align = alClient
TabIndex = 0
TabOrder = 2
OnChange = PageControlXMLChange
object TabScene: TTabSheet
Caption = 'Scene.xml'
ClientHeight = 559
ClientWidth = 902
inline SynEditXML: TSynEdit
Left = 0
Height = 681
Top = -122
Width = 902
Align = alBottom
Enabled = False
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Pitch = fpFixed
Font.Quality = fqNonAntialiased
ParentColor = False
ParentFont = False
TabOrder = 0
Gutter.Width = 57
Gutter.MouseActions = <>
RightGutter.Width = 0
RightGutter.MouseActions = <>
Highlighter = SynXMLSyn
Keystrokes = <>
MouseActions = <>
MouseTextActions = <>
MouseSelActions = <>
Lines.Strings = (
'<?xml version="1.0" ?>'
'<scene>'
''
'<!--'
' <robot>'
' <ID name=''Classic''/>'
' <pos x=''0'' y=''-1'' z=''0''/>'
' <rot_deg x=''0'' y=''0'' z=''0''/>'
''
' <body file=''Differential4.xml''/>'
' </robot>-->'
''
' <robot>'
' <ID name=''Zeppelin''/>'
' <pos x=''0'' y=''-1'' z=''0.5''/>'
' <rot_deg x=''0'' y=''0'' z=''0''/>'
''
' <body file=''zeppelin.xml''/>'
' </robot>'
''
' <robot>'
' <ID name=''belt''/>'
' <pos x=''1.5'' y=''0'' z=''0.5''/>'
' <rot_deg x=''0'' y=''0'' z=''0''/>'
''
' <body file=''Belt.xml''/>'
' </robot>'
''
' <robot>'
' <ID name=''Omni3''/>'
' <pos x=''0'' y=''0'' z=''0''/>'
' <rot_deg x=''0'' y=''0'' z=''90''/>'
''
' <body file=''Omni3.xml''/>'
' </robot>'
''
''
' <things file=''things.xml''/>'
''
' <obstacles file=''obstacles.xml''/>'
''
' <track file=''track.xml''/>'
''
'</scene>'
''
)
Options = [eoAutoIndent, eoGroupUndo, eoScrollByOneLess, eoScrollPastEol, eoShowScrollHint, eoSmartTabs, eoTabIndent, eoTabsToSpaces, eoDragDropEditing]
MouseOptions = [emDragDropEditing]
VisibleSpecialChars = [vscSpace, vscTabAtLast]
SelectedColor.BackPriority = 50
SelectedColor.ForePriority = 50
SelectedColor.FramePriority = 50
SelectedColor.BoldPriority = 50
SelectedColor.ItalicPriority = 50
SelectedColor.UnderlinePriority = 50
SelectedColor.StrikeOutPriority = 50
BracketHighlightStyle = sbhsBoth
BracketMatchColor.Background = clNone
BracketMatchColor.Foreground = clNone
BracketMatchColor.Style = [fsBold]
FoldedCodeColor.Background = clNone
FoldedCodeColor.Foreground = clGray
FoldedCodeColor.FrameColor = clGray
MouseLinkColor.Background = clNone
MouseLinkColor.Foreground = clBlue
LineHighlightColor.Background = clNone
LineHighlightColor.Foreground = clNone
OnStatusChange = SynEditXMLStatusChange
inline SynLeftGutterPartList1: TSynGutterPartList
object SynGutterMarks1: TSynGutterMarks
Width = 24
MouseActions = <>
end
object SynGutterLineNumber1: TSynGutterLineNumber
Width = 17
MouseActions = <>
MarkupInfo.Background = clBtnFace
MarkupInfo.Foreground = clNone
DigitCount = 2
ShowOnlyLineNumbersMultiplesOf = 1
ZeroStart = False
LeadingZeros = False
end
object SynGutterChanges1: TSynGutterChanges
Width = 4
MouseActions = <>
ModifiedColor = 59900
SavedColor = clGreen
end
object SynGutterSeparator1: TSynGutterSeparator
Width = 2
MouseActions = <>
MarkupInfo.Background = clWhite
MarkupInfo.Foreground = clGray
end
object SynGutterCodeFolding1: TSynGutterCodeFolding
MouseActions = <>
MarkupInfo.Background = clNone
MarkupInfo.Foreground = clGray
MouseActionsExpanded = <>
MouseActionsCollapsed = <>
end
end
end
end
end
object MainMenu: TMainMenu
Left = 164
Top = 36
object MenuFile: TMenuItem
Caption = '&File'
object MenuNew: TMenuItem
Caption = '&New'
ShortCut = 16462
OnClick = MenuNewClick
end
object MenuOpen: TMenuItem
Caption = '&Open...'
ShortCut = 16463
OnClick = MenuOpenClick
end
object N2: TMenuItem
Caption = '-'
end
object MenuSave: TMenuItem
Caption = '&Save'
ShortCut = 16467
OnClick = MenuSaveClick
end
object MenuSaveAs: TMenuItem
Caption = 'Save &As...'
OnClick = MenuSaveAsClick
end
object N3: TMenuItem
Caption = '-'
end
object MenuPrintSource: TMenuItem
Caption = '&Print...'
Enabled = False
ShortCut = 16464
end
object N1: TMenuItem
Caption = '-'
end
object MenuExit: TMenuItem
Caption = 'E&xit'
OnClick = MenuExitClick
end
end
object MenuEdit: TMenuItem
Caption = '&Edit'
object MenuUndo: TMenuItem
Caption = '&Undo'
ShortCut = 16474
OnClick = MenuUndoClick
end
object MenuRedo: TMenuItem
Caption = '&Redo'
ShortCut = 24666
OnClick = MenuRedoClick
end
object N4: TMenuItem
Caption = '-'
end
object MenuFind: TMenuItem
Caption = '&Find'
ShortCut = 16454
OnClick = MenuFindClick
end
object MenuReplace: TMenuItem
Caption = 'Replace'
ShortCut = 16466
OnClick = MenuReplaceClick
end
end
object MenuScene: TMenuItem
Caption = '&Scene'
object MenuReBuild: TMenuItem
Caption = '&Rebuild'
ShortCut = 16450
OnClick = MenuReBuildClick
end
object MenuChange: TMenuItem
Caption = '&Change...'
ShortCut = 16453
OnClick = MenuChangeClick
end
object MenuNewScene: TMenuItem
Caption = '&New...'
OnClick = MenuNewSceneClick
end
end
object MenuWindow: TMenuItem
Caption = '&Window'
object MenuSceneXML: TMenuItem
Caption = '&Scene.XML'
end
end
end
object SynXMLSyn: TSynXMLSyn
DefaultFilter = 'XML Document (*.xml,*.xsd,*.xsl,*.xslt,*.dtd)|*.xml;*.xsd;*.xsl;*.xslt;*.dtd'
Enabled = False
CommentAttri.Background = clNone
WantBracesParsed = False
Left = 192
Top = 36
end
object ReplaceDialog: TReplaceDialog
Options = [frDown, frHideMatchCase, frReplace, frReplaceAll, frHidePromptOnReplace]
OnFind = ReplaceDialogAction
OnReplace = ReplaceDialogAction
Left = 380
Top = 36
end
object FindDialog: TFindDialog
Options = [frDown, frHidePromptOnReplace]
OnFind = FindDialogFind
Left = 352
Top = 36
end
object OpenDialog: TOpenDialog
Title = 'Load Scene File'
Filter = 'Scene File|*.xml'
Options = [ofHideReadOnly, ofNoChangeDir, ofFileMustExist, ofEnableSizing]
Left = 288
Top = 36
end
object SaveDialog: TSaveDialog
Title = 'Save Scene File'
Filter = 'Scene File|*.xml'
Options = [ofHideReadOnly, ofNoChangeDir, ofPathMustExist, ofCreatePrompt, ofEnableSizing]
Left = 316
Top = 36
end
object IniPropStorage: TIniPropStorage
StoredValues = <>
IniSection = 'SceneEditor'
Left = 515
Top = 92
end
object ProcessUTF8: TProcessUTF8
Active = False
Options = []
Priority = ppNormal
StartupOptions = []
ShowWindow = swoNone
WindowColumns = 0
WindowHeight = 0
WindowLeft = 0
WindowRows = 0
WindowTop = 0
WindowWidth = 0
FillAttribute = 0
Left = 292
Top = 191
end
end