forked from thargor6/mb3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathColorPick.dfm
555 lines (555 loc) · 13.1 KB
/
ColorPick.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
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
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
object ColorForm: TColorForm
Left = 191
Top = 214
BorderStyle = bsDialog
Caption = 'Color adjustment'
ClientHeight = 262
ClientWidth = 936
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
FormStyle = fsStayOnTop
KeyPreview = True
OldCreateOrder = False
OnCreate = FormCreate
OnHide = FormHide
OnKeyDown = FormKeyDown
OnMouseMove = FormMouseMove
OnPaint = FormPaint
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Shape30: TShape
Tag = 30
Left = 788
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape29: TShape
Tag = 29
Left = 652
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape28: TShape
Tag = 28
Left = 564
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape27: TShape
Tag = 27
Left = 452
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape26: TShape
Tag = 26
Left = 364
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape25: TShape
Tag = 25
Left = 292
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape24: TShape
Tag = 24
Left = 244
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape23: TShape
Tag = 23
Left = 156
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape22: TShape
Tag = 22
Left = 92
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape21: TShape
Tag = 21
Left = 3
Top = 136
Width = 25
Height = 19
OnMouseDown = Shape1MouseDown
OnMouseEnter = Shape21MouseEnter
end
object Shape20: TShape
Tag = 20
Left = 788
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape19: TShape
Tag = 19
Left = 652
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape18: TShape
Tag = 18
Left = 564
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape17: TShape
Tag = 17
Left = 452
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape16: TShape
Tag = 16
Left = 364
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape15: TShape
Tag = 15
Left = 292
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape14: TShape
Tag = 14
Left = 244
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape13: TShape
Tag = 13
Left = 156
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape12: TShape
Tag = 12
Left = 92
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape11: TShape
Tag = 11
Left = 3
Top = 178
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
end
object Shape10: TShape
Tag = 10
Left = 788
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape9: TShape
Tag = 9
Left = 652
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape8: TShape
Tag = 8
Left = 564
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape7: TShape
Tag = 7
Left = 452
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape6: TShape
Tag = 6
Left = 364
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape5: TShape
Tag = 5
Left = 292
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape4: TShape
Tag = 4
Left = 244
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape3: TShape
Tag = 3
Left = 156
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape2: TShape
Tag = 2
Left = 92
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
OnMouseMove = Shape1MouseMove
end
object Shape1: TShape
Tag = 1
Left = 3
Top = 154
Width = 25
Height = 25
OnMouseDown = Shape1MouseDown
end
object Image1: TImage
Left = 16
Top = 8
Width = 785
Height = 121
OnMouseDown = Image1MouseDown
end
object Label1: TLabel
Left = 807
Top = 32
Width = 42
Height = 13
Caption = 'Specular'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 808
Top = 56
Width = 33
Height = 13
Caption = 'Diffuse'
end
object Label3: TLabel
Left = 8
Top = 209
Width = 662
Height = 13
Caption =
'(Rightclick on sliders to change the colors. Usage of keyboard w' +
'hen cursor is over a slider: (c) copy colors, (v) paste colors, ' +
'(b) paste 1 color)'
end
object Label4: TLabel
Left = 808
Top = 32
Width = 54
Height = 13
Caption = 'Inside color'
Visible = False
end
object SpeedButton1: TSpeedButton
Left = 877
Top = 179
Width = 22
Height = 22
Hint = 'Reference for diffuse colors'
Glyph.Data = {
D6020000424DD6020000000000003600000028000000100000000E0000000100
180000000000A0020000120B0000120B0000000000000000000043FD35000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000000000000000000000000000000000000
000000000000000000000000000000000000000000000043FD35}
ParentShowHint = False
ShowHint = True
OnClick = SpeedButton1Click
OnMouseDown = SpeedButton1MouseDown
end
object SpeedButton2: TSpeedButton
Tag = 1
Left = 877
Top = 154
Width = 22
Height = 22
Hint = 'Reference for specular colors'
Glyph.Data = {
D6020000424DD6020000000000003600000028000000100000000E0000000100
180000000000A0020000120B0000120B0000000000000000000043FD35000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000080808080808080808080808080808080
808080808080808080808080808080808080808000000043FD3543FD35000000
8080808080808080808080808080808080808080808080808080808080808080
8080808000000043FD3543FD3500000000000000000000000000000000000000
000000000000000000000000000000000000000000000043FD35}
ParentShowHint = False
ShowHint = True
OnClick = SpeedButton1Click
OnMouseDown = SpeedButton1MouseDown
end
object Label5: TLabel
Left = 807
Top = 8
Width = 65
Height = 13
Caption = 'Transparency'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Shape31: TShape
Left = 117
Top = 235
Width = 22
Height = 22
Brush.Style = bsClear
end
object CheckBox1: TCheckBox
Left = 709
Top = 214
Width = 81
Height = 17
Hint =
'If glued, the sliders behaves like sticked together with a rubbe' +
'r band.'
Caption = 'Glue sliders'
Checked = True
ParentShowHint = False
ShowHint = True
State = cbChecked
TabOrder = 0
end
object Button1: TButton
Left = 823
Top = 179
Width = 51
Height = 22
Hint = 'generate random diffuse colors'
Caption = 'Random'
ParentShowHint = False
ShowHint = True
TabOrder = 1
OnClick = Button1Click
end
object Button2: TButton
Left = 823
Top = 154
Width = 51
Height = 22
Hint = 'generate random specular colors according to the diffuse colors'
Caption = 'Random'
ParentShowHint = False
ShowHint = True
TabOrder = 2
OnClick = Button2Click
end
object Button3: TButton
Left = 837
Top = 232
Width = 87
Height = 25
Caption = 'Update Image'
TabOrder = 3
OnClick = Button3Click
end
object RadioGroup1: TRadioGroup
Left = 840
Top = 72
Width = 81
Height = 57
Caption = 'Object colors'
ItemIndex = 0
Items.Strings = (
'Outside'
'Inside')
TabOrder = 4
OnClick = RadioGroup1Click
end
object CheckBox2: TCheckBox
Left = 709
Top = 238
Width = 113
Height = 17
Caption = 'Auto update image'
Checked = True
State = cbChecked
TabOrder = 5
end
object Edit1: TEdit
Left = 903
Top = 180
Width = 29
Height = 21
Hint = 'Random multiplier'
ParentShowHint = False
ShowHint = True
TabOrder = 6
Text = '0.5'
end
object Edit2: TEdit
Left = 903
Top = 155
Width = 29
Height = 21
Hint = 'Random multiplier'
ParentShowHint = False
ShowHint = True
TabOrder = 7
Text = '1.0'
end
object TrackBarEx1: TTrackBarEx
Left = 589
Top = 135
Width = 91
Height = 21
Max = 255
PositionToolTip = ptTop
TabOrder = 8
ThumbLength = 18
TickMarks = tmTopLeft
TickStyle = tsNone
Visible = False
OnChange = TrackBarEx1Change
OnExit = TrackBarEx1Exit
OnMouseUp = TrackBarEx1MouseUp
end
object CheckBox3: TCheckBox
Left = 16
Top = 237
Width = 89
Height = 17
Alignment = taLeftJustify
Caption = 'Paint on image'
TabOrder = 9
OnClick = CheckBox3Click
end
object ColorDialog1: TColorDialog
CustomColors.Strings = (
'ColorA=F0A070')
Options = [cdFullOpen]
Left = 880
Top = 24
end
end