-
Notifications
You must be signed in to change notification settings - Fork 1
/
unitcolourpalette.lfm
253 lines (253 loc) · 6.41 KB
/
unitcolourpalette.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
object FrameColourPalette: TFrameColourPalette
Left = 0
Height = 218
Top = 0
Width = 290
ClientHeight = 218
ClientWidth = 290
TabOrder = 0
DesignLeft = 203
DesignTop = 108
object Panel1: TPanel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Panel4
Left = 0
Height = 106
Top = 0
Width = 290
Anchors = [akTop, akLeft, akRight, akBottom]
ClientHeight = 106
ClientWidth = 290
TabOrder = 0
object Panel6: TPanel
Left = 65
Height = 31
Top = 71
Width = 168
AutoSize = True
BevelOuter = bvNone
ClientHeight = 31
ClientWidth = 168
TabOrder = 0
object BitBtn3: TBitBtn
AnchorSideLeft.Control = Panel6
AnchorSideTop.Control = Panel6
Left = 0
Height = 25
Hint = 'Create new colour palette by converting the current'#13#10'palette to gray colours (black & white TV)'
Top = 2
Width = 168
AutoSize = True
BorderSpacing.Top = 2
BorderSpacing.Bottom = 4
Caption = 'Convert to black and white'
OnClick = BitBtn3Click
TabOrder = 0
end
end
end
object Panel4: TPanel
AnchorSideLeft.Control = Owner
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 3
Height = 106
Top = 109
Width = 284
Anchors = [akLeft, akRight, akBottom]
AutoSize = True
BorderSpacing.Around = 3
BevelOuter = bvNone
BorderStyle = bsSingle
ClientHeight = 102
ClientWidth = 280
TabOrder = 1
object Panel5: TPanel
AnchorSideLeft.Control = Panel2
AnchorSideTop.Control = Label3
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Panel2
AnchorSideRight.Side = asrBottom
Left = 18
Height = 24
Top = 20
Width = 259
Anchors = [akTop, akLeft, akRight]
AutoSize = True
BorderSpacing.Top = 3
BevelOuter = bvNone
ClientHeight = 24
ClientWidth = 259
TabOrder = 0
object ComboBoxPredefined: TComboBox
AnchorSideLeft.Control = Label2
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Panel5
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = Panel5
AnchorSideRight.Side = asrBottom
Left = 64
Height = 23
Top = 1
Width = 195
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 4
ItemHeight = 15
OnChange = ComboBoxPredefinedChange
Style = csDropDownList
TabOrder = 0
end
object Label2: TLabel
AnchorSideLeft.Control = Panel5
AnchorSideTop.Control = Panel5
AnchorSideTop.Side = asrCenter
Left = 0
Height = 15
Top = 5
Width = 60
Caption = 'Predefined:'
ParentColor = False
end
end
object Panel2: TPanel
AnchorSideLeft.Control = Label3
AnchorSideTop.Control = Panel5
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Panel4
AnchorSideRight.Side = asrBottom
Left = 18
Height = 24
Top = 47
Width = 259
Anchors = [akTop, akLeft, akRight]
AutoSize = True
BorderSpacing.Left = 16
BorderSpacing.Top = 3
BorderSpacing.Right = 3
BorderSpacing.Bottom = 3
BevelOuter = bvNone
ClientHeight = 24
ClientWidth = 259
TabOrder = 1
object Label1: TLabel
AnchorSideLeft.Control = Panel2
AnchorSideTop.Control = Panel2
AnchorSideTop.Side = asrCenter
Left = 0
Height = 15
Top = 5
Width = 45
Caption = 'Custom:'
ParentColor = False
end
object ComboBoxCustom: TComboBox
AnchorSideLeft.Control = Label1
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Panel2
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 49
Height = 23
Top = 1
Width = 210
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 4
ItemHeight = 15
OnChange = ComboBoxCustomChange
Style = csDropDownList
TabOrder = 0
end
end
object Label3: TLabel
AnchorSideLeft.Control = Panel4
AnchorSideTop.Control = Panel4
Left = 2
Height = 15
Top = 2
Width = 41
BorderSpacing.Around = 2
Caption = 'Palettes'
ParentColor = False
end
object Panel3: TPanel
AnchorSideTop.Control = Panel2
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Panel4
AnchorSideRight.Side = asrBottom
Left = 155
Height = 26
Top = 74
Width = 122
Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Right = 3
BorderSpacing.Bottom = 2
BevelOuter = bvNone
ClientHeight = 26
ClientWidth = 122
TabOrder = 2
object BitBtn1: TBitBtn
AnchorSideLeft.Control = Panel3
AnchorSideTop.Control = Panel3
AnchorSideTop.Side = asrCenter
Left = 0
Height = 25
Hint = 'Add new palette from current colours'
Top = 1
Width = 57
AutoSize = True
Caption = 'Add...'
OnClick = BitBtn1Click
TabOrder = 0
end
object BitBtn2: TBitBtn
AnchorSideLeft.Control = BitBtn1
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Panel3
AnchorSideTop.Side = asrCenter
Left = 63
Height = 25
Top = 1
Width = 59
AutoSize = True
BorderSpacing.Left = 6
Caption = 'Delete'
OnClick = BitBtn2Click
TabOrder = 1
end
end
end
object ColorDialog1: TColorDialog
Color = clBlack
CustomColors.Strings = (
'ColorA=000000'
'ColorB=000080'
'ColorC=008000'
'ColorD=008080'
'ColorE=800000'
'ColorF=800080'
'ColorG=808000'
'ColorH=808080'
'ColorI=C0C0C0'
'ColorJ=0000FF'
'ColorK=00FF00'
'ColorL=00FFFF'
'ColorM=FF0000'
'ColorN=FF00FF'
'ColorO=FFFF00'
'ColorP=FFFFFF'
'ColorQ=C0DCC0'
'ColorR=F0CAA6'
'ColorS=F0FBFF'
'ColorT=A4A0A0'
)
Left = 168
Top = 24
end
end