forked from MakeMagazinDE/GRBLize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdrawing_window.dfm
327 lines (327 loc) · 7.8 KB
/
drawing_window.dfm
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
object Form2: TForm2
Left = 0
Top = 0
Cursor = crCross
HorzScrollBar.Visible = False
VertScrollBar.Visible = False
BorderIcons = [biSystemMenu]
BorderStyle = bsSizeToolWin
Caption = 'Drawing'
ClientHeight = 563
ClientWidth = 856
Color = clBtnFace
Constraints.MaxHeight = 800
Constraints.MaxWidth = 1200
Constraints.MinHeight = 240
Constraints.MinWidth = 320
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnActivate = FormActivate
OnClose = FormClose
OnCreate = FormCreate
OnMouseWheel = FormMouseWheel
OnPaint = FormPaint
OnResize = FormResize
DesignSize = (
856
563)
PixelsPerInch = 96
TextHeight = 13
object DrawingBox: TPaintBox
Left = 0
Top = 0
Width = 857
Height = 565
Hint = 'Milling View - Drag with left-click or modify with right-click'
Anchors = [akLeft, akTop, akRight, akBottom]
Color = clCream
DragCursor = crSizeAll
ParentColor = False
ParentShowHint = False
ShowHint = True
OnMouseDown = DrawingBoxMouseDown
OnMouseMove = DrawingBoxMouseMove
OnMouseUp = DrawingBoxMouseUp
ExplicitWidth = 865
ExplicitHeight = 625
end
object Panel1: TPanel
Left = 8
Top = 8
Width = 132
Height = 177
Align = alCustom
TabOrder = 0
object Label1: TLabel
Left = 24
Top = 160
Width = 78
Height = 13
Caption = 'Grid/Ruler in mm'
end
object BtnZoomReset: TButton
Left = 16
Top = 129
Width = 97
Height = 24
HelpType = htKeyword
HelpKeyword = 'Reset zoom and pan'
Caption = 'Zoom Reset'
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
TabStop = False
OnClick = BtnZoomResetClick
end
object TrackBarZoom: TTrackBar
Left = 0
Top = 88
Width = 129
Height = 20
Hint = 'View zoom - disabled when camera ON'
Max = 50
Min = 1
PageSize = 1
Position = 4
TabOrder = 1
TabStop = False
TickStyle = tsNone
OnChange = TrackBarZoomChange
end
object CheckBoxDimensions: TCheckBox
Left = 8
Top = 8
Width = 121
Height = 17
Caption = 'Show Dimensions'
TabOrder = 2
OnClick = CheckBoxDimensionsClick
end
object CheckBoxDirections: TCheckBox
Left = 8
Top = 32
Width = 105
Height = 17
Caption = 'Show Directions'
TabOrder = 3
OnClick = CheckBoxDirectionsClick
end
object StaticText2: TStaticText
Left = 8
Top = 108
Width = 10
Height = 17
Caption = '1'
TabOrder = 4
end
object StaticText3: TStaticText
Left = 112
Top = 108
Width = 16
Height = 17
Caption = '50'
TabOrder = 5
end
object CheckBoxToolpath: TCheckBox
Left = 8
Top = 56
Width = 121
Height = 17
Caption = 'Show Tool Path'
Checked = True
State = cbChecked
TabOrder = 6
OnClick = CheckBoxDirectionsClick
end
end
object PopupMenuObject: TPopupMenu
Left = 1120
Top = 8
object pu_ObjectEnabled: TMenuItem
Caption = 'Object Enabled'
Checked = True
OnClick = pu_ObjectenabledClick
end
object N1: TMenuItem
Caption = '-'
end
object pu_online: TMenuItem
AutoCheck = True
Caption = 'Contour'
GroupIndex = 1
OnClick = pu_radioClick
end
object pu_inside: TMenuItem
Tag = 1
AutoCheck = True
Caption = 'Inside'
GroupIndex = 1
OnClick = pu_radioClick
end
object pu_outside: TMenuItem
Tag = 2
AutoCheck = True
Caption = 'Outside'
GroupIndex = 1
OnClick = pu_radioClick
end
object pu_pocket: TMenuItem
Tag = 3
AutoCheck = True
Caption = 'Pocket'
GroupIndex = 1
OnClick = pu_radioClick
end
object Drill1: TMenuItem
Caption = 'Drill'
GroupIndex = 2
OnClick = pu_radioClick
end
object N2: TMenuItem
Caption = '-'
GroupIndex = 2
end
object pu_isatCenter1: TMenuItem
Caption = 'Tool is above Object Center'
GroupIndex = 2
RadioItem = True
OnClick = pu_toolIsAtCenterClick
end
object pu_camIsAtCenter: TMenuItem
Caption = 'Cam is above Object Center'
GroupIndex = 2
RadioItem = True
OnClick = pu_camIsAtCenterClick
end
object N3: TMenuItem
Caption = '-'
GroupIndex = 2
end
object pu_moveCenter1: TMenuItem
Caption = 'Move Tool to Object Center'
GroupIndex = 2
OnClick = pu_moveToolToCenterClick
end
object pu_moveCamToCenter: TMenuItem
Caption = 'Move Cam to Object Center'
GroupIndex = 2
OnClick = pu_moveCamToCenterClick
end
end
object PopupMenuPart: TPopupMenu
AutoPopup = False
Left = 168
Top = 16
object pu_isAtZero2: TMenuItem
Caption = 'Tool is above Part Zero'
GroupIndex = 3
RadioItem = True
OnClick = pu_toolisAtPartZeroClick
end
object pu_camIsAtZero2: TMenuItem
Caption = 'Cam is above Part Zero'
GroupIndex = 3
RadioItem = True
OnClick = pu_camIsAtPartZeroClick
end
object N5: TMenuItem
Caption = '-'
GroupIndex = 3
end
object pu_moveZero2: TMenuItem
Caption = 'Move Tool to Part Zero'
GroupIndex = 3
RadioItem = True
OnClick = pu_moveToolToPartZeroClick
end
object pu_moveCamToZero2: TMenuItem
Caption = 'Move Cam to Part Zero'
GroupIndex = 3
RadioItem = True
OnClick = pu_moveCamToPartZeroClick
end
end
object PopupMenuPoint: TPopupMenu
AutoPopup = False
Left = 1120
Top = 8
object pu_PointEnabled: TMenuItem
Caption = 'Path Enabled'
Checked = True
OnClick = pu_PathEnabledClick
end
object MenuItem2: TMenuItem
Caption = '-'
end
object MenuItem3: TMenuItem
AutoCheck = True
Caption = 'Contour'
GroupIndex = 1
OnClick = pu_radioClick
end
object MenuItem4: TMenuItem
Tag = 1
AutoCheck = True
Caption = 'Inside'
GroupIndex = 1
OnClick = pu_radioClick
end
object MenuItem5: TMenuItem
Tag = 2
AutoCheck = True
Caption = 'Outside'
GroupIndex = 1
OnClick = pu_radioClick
end
object MenuItem6: TMenuItem
Tag = 3
AutoCheck = True
Caption = 'Pocket'
GroupIndex = 1
OnClick = pu_radioClick
end
object MenuItem7: TMenuItem
Caption = 'Drill'
GroupIndex = 2
OnClick = pu_radioClick
end
object MenuItem8: TMenuItem
Caption = '-'
GroupIndex = 2
end
object MenuItem10: TMenuItem
Caption = 'Tool is above Point'
GroupIndex = 2
RadioItem = True
OnClick = pu_toolisatpointClick
end
object MenuItem18: TMenuItem
Caption = 'Cam is above Point'
GroupIndex = 2
RadioItem = True
OnClick = pu_camIsAtPointClick
end
object MenuItem12: TMenuItem
Caption = '-'
GroupIndex = 2
end
object pu_MoveToPoint: TMenuItem
Caption = 'Move Tool to Point'
GroupIndex = 2
OnClick = pu_moveToolToPointClick
end
object pu_MoveCamToPoint: TMenuItem
Caption = 'Move Cam to Point'
GroupIndex = 2
OnClick = pu_moveCamToPointClick
end
end
end