1 | object FormColorPicker: TFormColorPicker
|
---|
2 | Left = 0
|
---|
3 | Top = 0
|
---|
4 | Caption = 'Color Picker'
|
---|
5 | ClientHeight = 303
|
---|
6 | ClientWidth = 563
|
---|
7 | Color = clBtnFace
|
---|
8 | Font.Charset = DEFAULT_CHARSET
|
---|
9 | Font.Color = clWindowText
|
---|
10 | Font.Height = -11
|
---|
11 | Font.Name = 'Tahoma'
|
---|
12 | Font.Style = []
|
---|
13 | OldCreateOrder = False
|
---|
14 | DesignSize = (
|
---|
15 | 563
|
---|
16 | 303)
|
---|
17 | PixelsPerInch = 96
|
---|
18 | TextHeight = 13
|
---|
19 | object LabelWebColor: TLabel
|
---|
20 | Left = 432
|
---|
21 | Top = 178
|
---|
22 | Width = 23
|
---|
23 | Height = 13
|
---|
24 | Anchors = [akTop, akRight]
|
---|
25 | Caption = 'Hex:'
|
---|
26 | end
|
---|
27 | object LabelRed: TLabel
|
---|
28 | Left = 270
|
---|
29 | Top = 11
|
---|
30 | Width = 23
|
---|
31 | Height = 14
|
---|
32 | AutoSize = False
|
---|
33 | Caption = 'Red:'
|
---|
34 | end
|
---|
35 | object LabelGreen: TLabel
|
---|
36 | Left = 270
|
---|
37 | Top = 51
|
---|
38 | Width = 33
|
---|
39 | Height = 13
|
---|
40 | Caption = 'Green:'
|
---|
41 | end
|
---|
42 | object LabelBlue: TLabel
|
---|
43 | Left = 270
|
---|
44 | Top = 91
|
---|
45 | Width = 19
|
---|
46 | Height = 14
|
---|
47 | AutoSize = False
|
---|
48 | Caption = 'Blue:'
|
---|
49 | end
|
---|
50 | object LabelAlpha: TLabel
|
---|
51 | Left = 270
|
---|
52 | Top = 131
|
---|
53 | Width = 31
|
---|
54 | Height = 13
|
---|
55 | Caption = 'Alpha:'
|
---|
56 | end
|
---|
57 | object LabelPreview: TLabel
|
---|
58 | Left = 311
|
---|
59 | Top = 178
|
---|
60 | Width = 42
|
---|
61 | Height = 13
|
---|
62 | Caption = 'Preview:'
|
---|
63 | end
|
---|
64 | object LabelPalette: TLabel
|
---|
65 | Left = 270
|
---|
66 | Top = 244
|
---|
67 | Width = 38
|
---|
68 | Height = 13
|
---|
69 | Caption = 'Palette:'
|
---|
70 | Visible = False
|
---|
71 | end
|
---|
72 | object PanelControl: TPanel
|
---|
73 | Left = 0
|
---|
74 | Top = 270
|
---|
75 | Width = 563
|
---|
76 | Height = 33
|
---|
77 | Align = alBottom
|
---|
78 | BevelOuter = bvNone
|
---|
79 | TabOrder = 0
|
---|
80 | DesignSize = (
|
---|
81 | 563
|
---|
82 | 33)
|
---|
83 | object ButtonOK: TButton
|
---|
84 | Left = 411
|
---|
85 | Top = 6
|
---|
86 | Width = 64
|
---|
87 | Height = 23
|
---|
88 | Anchors = [akRight, akBottom]
|
---|
89 | Caption = 'OK'
|
---|
90 | Default = True
|
---|
91 | ModalResult = 1
|
---|
92 | TabOrder = 0
|
---|
93 | end
|
---|
94 | object ButtonCancel: TButton
|
---|
95 | Left = 486
|
---|
96 | Top = 6
|
---|
97 | Width = 65
|
---|
98 | Height = 23
|
---|
99 | Anchors = [akRight, akBottom]
|
---|
100 | Cancel = True
|
---|
101 | Caption = '&Cancel'
|
---|
102 | ModalResult = 2
|
---|
103 | TabOrder = 1
|
---|
104 | end
|
---|
105 | object ButtonPickFromScreen: TButton
|
---|
106 | Left = 8
|
---|
107 | Top = 5
|
---|
108 | Width = 105
|
---|
109 | Height = 23
|
---|
110 | Anchors = [akLeft, akBottom]
|
---|
111 | Caption = 'Pick from screen'
|
---|
112 | ModalResult = 1
|
---|
113 | TabOrder = 2
|
---|
114 | OnClick = ButtonPickFromScreenClick
|
---|
115 | end
|
---|
116 | object CheckBoxWebSafe: TCheckBox
|
---|
117 | Left = 228
|
---|
118 | Top = 8
|
---|
119 | Width = 73
|
---|
120 | Height = 17
|
---|
121 | Caption = 'WebSafe'
|
---|
122 | TabOrder = 3
|
---|
123 | OnClick = CheckBoxWebSafeClick
|
---|
124 | end
|
---|
125 | end
|
---|
126 | object EditColor: TEdit
|
---|
127 | Left = 474
|
---|
128 | Top = 175
|
---|
129 | Width = 81
|
---|
130 | Height = 21
|
---|
131 | Alignment = taCenter
|
---|
132 | Anchors = [akTop, akRight]
|
---|
133 | TabOrder = 1
|
---|
134 | Text = '$00000000'
|
---|
135 | OnChange = EditColorChange
|
---|
136 | end
|
---|
137 | object ColorPickerGTK: TColorPickerGTK
|
---|
138 | Left = 8
|
---|
139 | Top = 8
|
---|
140 | Width = 256
|
---|
141 | Height = 256
|
---|
142 | ParentBackground = False
|
---|
143 | SelectedColor = -16777216
|
---|
144 | TabOrder = 2
|
---|
145 | OnChanged = ColorPickerChanged
|
---|
146 | end
|
---|
147 | object ColorPickerRed: TColorPickerComponent
|
---|
148 | Left = 311
|
---|
149 | Top = 8
|
---|
150 | Width = 192
|
---|
151 | Height = 22
|
---|
152 | Anchors = [akTop, akRight]
|
---|
153 | Border = True
|
---|
154 | ColorComponent = ccRed
|
---|
155 | ParentBackground = False
|
---|
156 | SelectedColor = -16777216
|
---|
157 | TabOrder = 3
|
---|
158 | OnChanged = ColorPickerChanged
|
---|
159 | end
|
---|
160 | object ColorPickerGreen: TColorPickerComponent
|
---|
161 | Left = 311
|
---|
162 | Top = 48
|
---|
163 | Width = 192
|
---|
164 | Height = 22
|
---|
165 | Anchors = [akTop, akRight]
|
---|
166 | Border = True
|
---|
167 | ColorComponent = ccGreen
|
---|
168 | ParentBackground = False
|
---|
169 | SelectedColor = -16777216
|
---|
170 | TabOrder = 4
|
---|
171 | OnChanged = ColorPickerChanged
|
---|
172 | end
|
---|
173 | object ColorPickerBlue: TColorPickerComponent
|
---|
174 | Left = 311
|
---|
175 | Top = 88
|
---|
176 | Width = 192
|
---|
177 | Height = 22
|
---|
178 | Anchors = [akTop, akRight]
|
---|
179 | Border = True
|
---|
180 | ColorComponent = ccBlue
|
---|
181 | ParentBackground = False
|
---|
182 | SelectedColor = -16777216
|
---|
183 | TabOrder = 5
|
---|
184 | OnChanged = ColorPickerChanged
|
---|
185 | end
|
---|
186 | object ColorPickerAlpha: TColorPickerComponent
|
---|
187 | Left = 311
|
---|
188 | Top = 128
|
---|
189 | Width = 192
|
---|
190 | Height = 22
|
---|
191 | Anchors = [akTop, akRight]
|
---|
192 | Border = True
|
---|
193 | ColorComponent = ccAlpha
|
---|
194 | ParentBackground = False
|
---|
195 | SelectedColor = -16777216
|
---|
196 | TabOrder = 6
|
---|
197 | OnChanged = ColorPickerChanged
|
---|
198 | end
|
---|
199 | object SpinEditRed: TSpinEdit
|
---|
200 | Left = 509
|
---|
201 | Top = 8
|
---|
202 | Width = 46
|
---|
203 | Height = 22
|
---|
204 | Anchors = [akTop, akRight]
|
---|
205 | MaxValue = 255
|
---|
206 | MinValue = 0
|
---|
207 | TabOrder = 7
|
---|
208 | Value = 0
|
---|
209 | OnChange = SpinEditColorChange
|
---|
210 | end
|
---|
211 | object SpinEditGreen: TSpinEdit
|
---|
212 | Left = 509
|
---|
213 | Top = 48
|
---|
214 | Width = 46
|
---|
215 | Height = 22
|
---|
216 | Anchors = [akTop, akRight]
|
---|
217 | MaxValue = 255
|
---|
218 | MinValue = 0
|
---|
219 | TabOrder = 8
|
---|
220 | Value = 0
|
---|
221 | OnChange = SpinEditColorChange
|
---|
222 | end
|
---|
223 | object SpinEditBlue: TSpinEdit
|
---|
224 | Left = 509
|
---|
225 | Top = 88
|
---|
226 | Width = 46
|
---|
227 | Height = 22
|
---|
228 | Anchors = [akTop, akRight]
|
---|
229 | MaxValue = 255
|
---|
230 | MinValue = 0
|
---|
231 | TabOrder = 9
|
---|
232 | Value = 0
|
---|
233 | OnChange = SpinEditColorChange
|
---|
234 | end
|
---|
235 | object SpinEditAlpha: TSpinEdit
|
---|
236 | Left = 509
|
---|
237 | Top = 128
|
---|
238 | Width = 46
|
---|
239 | Height = 22
|
---|
240 | Anchors = [akTop, akRight]
|
---|
241 | MaxValue = 255
|
---|
242 | MinValue = 0
|
---|
243 | TabOrder = 10
|
---|
244 | Value = 0
|
---|
245 | OnChange = SpinEditColorChange
|
---|
246 | end
|
---|
247 | object ColorSwatch: TColorSwatch
|
---|
248 | Left = 359
|
---|
249 | Top = 164
|
---|
250 | Width = 33
|
---|
251 | Height = 32
|
---|
252 | Border = True
|
---|
253 | Color = -360334
|
---|
254 | ParentBackground = False
|
---|
255 | TabOrder = 11
|
---|
256 | end
|
---|
257 | object ColorSwatchBlack: TColorSwatch
|
---|
258 | Left = 321
|
---|
259 | Top = 238
|
---|
260 | Width = 24
|
---|
261 | Height = 24
|
---|
262 | Border = True
|
---|
263 | Color = -16777216
|
---|
264 | ParentBackground = False
|
---|
265 | TabOrder = 12
|
---|
266 | OnClick = ColorSwatchClick
|
---|
267 | end
|
---|
268 | object ColorSwatchWhite: TColorSwatch
|
---|
269 | Left = 351
|
---|
270 | Top = 238
|
---|
271 | Width = 24
|
---|
272 | Height = 24
|
---|
273 | Border = True
|
---|
274 | Color = -1
|
---|
275 | ParentBackground = False
|
---|
276 | TabOrder = 13
|
---|
277 | OnClick = ColorSwatchClick
|
---|
278 | end
|
---|
279 | object ColorSwatchGreen: TColorSwatch
|
---|
280 | Left = 411
|
---|
281 | Top = 238
|
---|
282 | Width = 24
|
---|
283 | Height = 24
|
---|
284 | Border = True
|
---|
285 | Color = -16711936
|
---|
286 | ParentBackground = False
|
---|
287 | TabOrder = 14
|
---|
288 | OnClick = ColorSwatchClick
|
---|
289 | end
|
---|
290 | object ColorSwatchRed: TColorSwatch
|
---|
291 | Left = 381
|
---|
292 | Top = 238
|
---|
293 | Width = 24
|
---|
294 | Height = 24
|
---|
295 | Border = True
|
---|
296 | Color = -65536
|
---|
297 | ParentBackground = False
|
---|
298 | TabOrder = 15
|
---|
299 | OnClick = ColorSwatchClick
|
---|
300 | end
|
---|
301 | object ColorSwatchAqua: TColorSwatch
|
---|
302 | Left = 531
|
---|
303 | Top = 238
|
---|
304 | Width = 24
|
---|
305 | Height = 24
|
---|
306 | Border = True
|
---|
307 | Color = -16711681
|
---|
308 | ParentBackground = False
|
---|
309 | TabOrder = 16
|
---|
310 | OnClick = ColorSwatchClick
|
---|
311 | end
|
---|
312 | object ColorSwatchFuchsia: TColorSwatch
|
---|
313 | Left = 501
|
---|
314 | Top = 238
|
---|
315 | Width = 24
|
---|
316 | Height = 24
|
---|
317 | Border = True
|
---|
318 | Color = -65281
|
---|
319 | ParentBackground = False
|
---|
320 | TabOrder = 17
|
---|
321 | OnClick = ColorSwatchClick
|
---|
322 | end
|
---|
323 | object ColorSwatchYellow: TColorSwatch
|
---|
324 | Left = 471
|
---|
325 | Top = 238
|
---|
326 | Width = 24
|
---|
327 | Height = 24
|
---|
328 | Border = True
|
---|
329 | Color = -256
|
---|
330 | ParentBackground = False
|
---|
331 | TabOrder = 18
|
---|
332 | OnClick = ColorSwatchClick
|
---|
333 | end
|
---|
334 | object ColorSwatchBlue: TColorSwatch
|
---|
335 | Left = 441
|
---|
336 | Top = 238
|
---|
337 | Width = 24
|
---|
338 | Height = 24
|
---|
339 | Border = True
|
---|
340 | Color = -16776961
|
---|
341 | ParentBackground = False
|
---|
342 | TabOrder = 19
|
---|
343 | OnClick = ColorSwatchClick
|
---|
344 | end
|
---|
345 | end
|
---|