-
Notifications
You must be signed in to change notification settings - Fork 0
/
FormMain.dfm
315 lines (315 loc) · 6.59 KB
/
FormMain.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
object frmMain: TfrmMain
Left = 0
Top = 0
Caption = 'Area'
ClientHeight = 449
ClientWidth = 718
Color = clBtnFace
Constraints.MinHeight = 250
Constraints.MinWidth = 480
DoubleBuffered = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OnKeyPress = FormKeyPress
PixelsPerInch = 96
TextHeight = 13
object pnlViewport: TPanel
AlignWithMargins = True
Left = 16
Top = 130
Width = 686
Height = 303
Margins.Left = 16
Margins.Top = 16
Margins.Right = 16
Margins.Bottom = 16
Align = alClient
BevelOuter = bvLowered
Caption = 'pnlViewport'
ShowCaption = False
TabOrder = 0
OnResize = pnlViewportResize
ExplicitWidth = 518
ExplicitHeight = 200
DesignSize = (
686
303)
object paintboxViewport: TPaintBox
Left = 1
Top = 1
Width = 684
Height = 301
Cursor = crCross
Align = alClient
OnMouseDown = paintboxViewportMouseDown
OnMouseLeave = paintboxViewportMouseLeave
OnMouseMove = paintboxViewportMouseMove
OnMouseUp = paintboxViewportMouseUp
OnPaint = paintboxViewportPaint
ExplicitTop = 0
ExplicitWidth = 516
ExplicitHeight = 198
end
object lblHitTest: TLabel
Left = 657
Top = 281
Width = 5
Height = 13
Anchors = [akRight, akBottom]
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
ExplicitLeft = 574
ExplicitTop = 251
end
object Label5: TLabel
Left = 639
Top = 281
Width = 16
Height = 13
Alignment = taRightJustify
Anchors = [akRight, akBottom]
Caption = 'hit:'
ExplicitLeft = 556
ExplicitTop = 251
end
object Label6: TLabel
Left = 9
Top = 11
Width = 14
Height = 13
Alignment = taRightJustify
Caption = 'W:'
end
object lblWidth: TLabel
Left = 26
Top = 11
Width = 4
Height = 13
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label8: TLabel
Left = 12
Top = 22
Width = 11
Height = 13
Alignment = taRightJustify
Caption = 'H:'
end
object lblHeight: TLabel
Left = 26
Top = 22
Width = 4
Height = 13
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object lblCoords: TLabel
Left = 9
Top = 281
Width = 3
Height = 13
Anchors = [akLeft, akBottom]
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
ExplicitTop = 178
end
object lblBoundingBox: TLabel
Left = 675
Top = 11
Width = 3
Height = 13
Alignment = taRightJustify
Anchors = [akTop, akRight]
ExplicitLeft = 507
end
end
object Panel1: TPanel
Left = 0
Top = 51
Width = 718
Height = 63
Align = alTop
BevelOuter = bvNone
Caption = 'pnlText'
ShowCaption = False
TabOrder = 1
ExplicitWidth = 550
DesignSize = (
718
63)
object Label1: TLabel
Left = 19
Top = 9
Width = 22
Height = 13
Caption = 'Text'
end
object Label3: TLabel
Left = 356
Top = 9
Width = 22
Height = 13
Anchors = [akTop, akRight]
Caption = 'Font'
ExplicitLeft = 188
end
object Label4: TLabel
Left = 549
Top = 9
Width = 31
Height = 13
Anchors = [akTop, akRight]
Caption = 'Height'
ExplicitLeft = 381
end
object checkboxBold: TCheckBox
Left = 627
Top = 13
Width = 71
Height = 17
Anchors = [akTop, akRight]
Caption = 'Bold'
TabOrder = 0
OnClick = TextChanged
ExplicitLeft = 459
end
object checkboxItalic: TCheckBox
Left = 627
Top = 36
Width = 57
Height = 17
Anchors = [akTop, akRight]
Caption = 'Italic'
TabOrder = 1
OnClick = TextChanged
ExplicitLeft = 459
end
object comboboxFontName: TComboBox
Left = 354
Top = 24
Width = 173
Height = 21
Style = csDropDownList
Anchors = [akTop, akRight]
TabOrder = 2
OnChange = TextChanged
ExplicitLeft = 186
end
object edtText: TEdit
Left = 17
Top = 24
Width = 317
Height = 21
Anchors = [akLeft, akTop, akRight]
TabOrder = 3
Text = 'OqgAW'
OnChange = TextChanged
ExplicitWidth = 149
end
object edtTextSize: TEdit
Left = 547
Top = 24
Width = 65
Height = 21
Alignment = taRightJustify
Anchors = [akTop, akRight]
NumbersOnly = True
TabOrder = 4
Text = '180'
OnExit = TextChanged
OnKeyPress = edtTextSizeKeyPress
ExplicitLeft = 379
end
end
object Panel2: TPanel
Left = 0
Top = 0
Width = 718
Height = 51
Align = alTop
BevelOuter = bvNone
Caption = 'Panel2'
ShowCaption = False
TabOrder = 2
ExplicitWidth = 550
DesignSize = (
718
51)
object Label7: TLabel
Left = 608
Top = 9
Width = 32
Height = 13
Anchors = [akTop, akRight]
Caption = 'Viewer'
ExplicitLeft = 440
end
object Label2: TLabel
Left = 114
Top = 9
Width = 36
Height = 13
Caption = 'Method'
end
object Button1: TButton
Left = 17
Top = 22
Width = 75
Height = 25
Action = actArea
TabOrder = 0
end
object comboboxRenderer: TComboBox
Left = 606
Top = 24
Width = 96
Height = 21
Style = csDropDownList
Anchors = [akTop, akRight]
TabOrder = 1
OnChange = comboboxRendererChange
ExplicitLeft = 438
end
object comboboxAreaMethod: TComboBox
Left = 112
Top = 24
Width = 137
Height = 21
Style = csDropDownList
TabOrder = 2
OnChange = comboboxAreaMethodChange
end
end
object ActionList1: TActionList
Left = 208
Top = 160
object actArea: TAction
Caption = 'Area'
OnExecute = actAreaExecute
OnUpdate = actAreaUpdate
end
end
end