source: trunk/Packages/bgracontrols/testbgracontrols/ubgraimagebuttontest.lfm

Last change on this file was 2, checked in by chronos, 5 years ago
File size: 10.2 KB
Line 
1object frmibtest: Tfrmibtest
2 Left = 413
3 Height = 825
4 Top = 14
5 Width = 425
6 HorzScrollBar.Page = 425
7 HorzScrollBar.Range = 174
8 VertScrollBar.Page = 825
9 VertScrollBar.Range = 89
10 Caption = 'TBGRAImageButton Test'
11 ClientHeight = 825
12 ClientWidth = 425
13 Color = clBlack
14 Constraints.MinHeight = 825
15 Constraints.MinWidth = 425
16 OnCreate = FormCreate
17 Position = poDesktopCenter
18 ShowHint = True
19 LCLVersion = '0.9.30.4'
20 object sample_1: TBGRAImageButton
21 Left = 8
22 Height = 50
23 Hint = 'BitmapOptions 2px border.'
24 Top = 88
25 Width = 412
26 Anchors = [akTop, akLeft, akRight]
27 Animation = True
28 BitmapFile = 'sample_1.png'
29 BitmapOptions.BorderWidth = 12
30 BitmapOptions.BorderHeight = 11
31 BitmapOptions.DrawMode = dmDrawWithTransparency
32 BitmapOptions.ResampleMode = rmSimpleStretch
33 BitmapOptions.ResampleFilter = rfBestQuality
34 BitmapOptions.Enable = True
35 BitmapOptions.FillLeft = False
36 BitmapOptions.FillTop = False
37 BitmapOptions.FillRight = False
38 BitmapOptions.FillBottom = False
39 BitmapOptions.FillCenter = False
40 Caption = 'sample'
41 Font.Color = clWhite
42 Font.Height = 25
43 ParentFont = False
44 Shadow.Alpha = 255
45 Shadow.Color = clBlack
46 Shadow.OffsetX = 1
47 Shadow.OffsetY = 1
48 Shadow.Visible = True
49 Shadow.Radius = 1
50 end
51 object sample_2: TBGRAImageButton
52 Left = 396
53 Height = 8
54 Hint = 'AutoSize and Sound set to true.'#13#10'TextVisible set to false.'#13#10'Toggle set to true.'
55 Top = 8
56 Width = 24
57 Anchors = [akTop, akRight]
58 Animation = True
59 AutoSize = True
60 BitmapFile = 'sample_2.png'
61 BitmapOptions.BorderWidth = 5
62 BitmapOptions.BorderHeight = 5
63 BitmapOptions.DrawMode = dmDrawWithTransparency
64 BitmapOptions.ResampleMode = rmSimpleStretch
65 BitmapOptions.ResampleFilter = rfBestQuality
66 BitmapOptions.Enable = True
67 BitmapOptions.FillLeft = False
68 BitmapOptions.FillTop = False
69 BitmapOptions.FillRight = False
70 BitmapOptions.FillBottom = False
71 BitmapOptions.FillCenter = False
72 Caption = 'sample'
73 Font.Color = clWhite
74 Font.Height = 25
75 OnClick = sample_2Click
76 ParentFont = False
77 Shadow.Alpha = 255
78 Shadow.Color = clBlack
79 Shadow.OffsetX = 1
80 Shadow.OffsetY = 1
81 Shadow.Visible = True
82 Shadow.Radius = 1
83 Sound = True
84 SoundClick = 'soundclick.wav'
85 SoundEnter = 'soundenter.wav'
86 TextVisible = False
87 Toggle = True
88 end
89 object sample_3: TBGRAImageButton
90 Left = 8
91 Height = 50
92 Hint = 'BitmapOptions 2px border and FillCenter to use the center as pattern.'
93 Top = 200
94 Width = 412
95 Anchors = [akTop, akLeft, akRight]
96 Animation = True
97 BitmapFile = 'sample_3.png'
98 BitmapOptions.BorderWidth = 2
99 BitmapOptions.BorderHeight = 2
100 BitmapOptions.DrawMode = dmDrawWithTransparency
101 BitmapOptions.ResampleMode = rmSimpleStretch
102 BitmapOptions.ResampleFilter = rfBestQuality
103 BitmapOptions.Enable = True
104 BitmapOptions.FillLeft = False
105 BitmapOptions.FillTop = False
106 BitmapOptions.FillRight = False
107 BitmapOptions.FillBottom = False
108 BitmapOptions.FillCenter = True
109 Caption = 'sample'
110 Font.Color = clBlack
111 Font.Height = 25
112 ParentFont = False
113 Shadow.Alpha = 255
114 Shadow.Color = clBlack
115 Shadow.OffsetX = 0
116 Shadow.OffsetY = 2
117 Shadow.Visible = True
118 Shadow.Radius = 3
119 end
120 object sample_4: TBGRAImageButton
121 Left = 8
122 Height = 50
123 Hint = 'BitmapOptions 5px border.'
124 Top = 144
125 Width = 412
126 Anchors = [akTop, akLeft, akRight]
127 Animation = True
128 BitmapFile = 'sample_4.png'
129 BitmapOptions.BorderWidth = 5
130 BitmapOptions.BorderHeight = 5
131 BitmapOptions.DrawMode = dmDrawWithTransparency
132 BitmapOptions.ResampleMode = rmSimpleStretch
133 BitmapOptions.ResampleFilter = rfBestQuality
134 BitmapOptions.Enable = True
135 BitmapOptions.FillLeft = False
136 BitmapOptions.FillTop = False
137 BitmapOptions.FillRight = False
138 BitmapOptions.FillBottom = False
139 BitmapOptions.FillCenter = False
140 Caption = 'sample'
141 Font.Color = clBlack
142 Font.Height = 25
143 ParentFont = False
144 Shadow.Alpha = 255
145 Shadow.Color = clBlack
146 Shadow.OffsetX = 0
147 Shadow.OffsetY = 2
148 Shadow.Visible = True
149 Shadow.Radius = 3
150 end
151 object sample_5: TBGRAImageButton
152 Left = 8
153 Height = 50
154 Hint = 'BitmapOptions 4px border.'
155 Top = 256
156 Width = 412
157 Anchors = [akTop, akLeft, akRight]
158 Animation = True
159 BitmapFile = 'sample_5.png'
160 BitmapOptions.BorderWidth = 4
161 BitmapOptions.BorderHeight = 4
162 BitmapOptions.DrawMode = dmDrawWithTransparency
163 BitmapOptions.ResampleMode = rmFineResample
164 BitmapOptions.ResampleFilter = rfBestQuality
165 BitmapOptions.Enable = True
166 BitmapOptions.FillLeft = False
167 BitmapOptions.FillTop = False
168 BitmapOptions.FillRight = False
169 BitmapOptions.FillBottom = False
170 BitmapOptions.FillCenter = False
171 Caption = 'sample'
172 Color = 11171935
173 Font.Color = clBlack
174 Font.Height = 25
175 ParentFont = False
176 Shadow.Alpha = 255
177 Shadow.Color = clBlack
178 Shadow.OffsetX = 0
179 Shadow.OffsetY = 2
180 Shadow.Visible = True
181 Shadow.Radius = 3
182 end
183 object sample_6: TBGRAImageButton
184 Left = 8
185 Height = 50
186 Hint = 'BGRASamples DrawFacebookImageButton.'
187 Top = 312
188 Width = 412
189 Anchors = [akTop, akLeft, akRight]
190 Animation = True
191 BitmapOptions.BorderWidth = 2
192 BitmapOptions.BorderHeight = 2
193 BitmapOptions.DrawMode = dmDrawWithTransparency
194 BitmapOptions.ResampleMode = rmSimpleStretch
195 BitmapOptions.ResampleFilter = rfBestQuality
196 BitmapOptions.Enable = True
197 BitmapOptions.FillLeft = False
198 BitmapOptions.FillTop = False
199 BitmapOptions.FillRight = False
200 BitmapOptions.FillBottom = False
201 BitmapOptions.FillCenter = False
202 Caption = 'sample'
203 Color = 4957543
204 Font.Color = clWhite
205 Font.Height = 25
206 ParentFont = False
207 Shadow.Alpha = 255
208 Shadow.Color = clBlack
209 Shadow.OffsetX = 1
210 Shadow.OffsetY = 1
211 Shadow.Visible = True
212 Shadow.Radius = 1
213 end
214 object sample_7: TBGRAImageButton
215 Left = 8
216 Height = 50
217 Hint = 'BitmapOptions 6px border.'
218 Top = 368
219 Width = 412
220 Anchors = [akTop, akLeft, akRight]
221 Animation = True
222 BitmapFile = 'sample_7.png'
223 BitmapOptions.BorderWidth = 6
224 BitmapOptions.BorderHeight = 6
225 BitmapOptions.DrawMode = dmDrawWithTransparency
226 BitmapOptions.ResampleMode = rmSimpleStretch
227 BitmapOptions.ResampleFilter = rfBestQuality
228 BitmapOptions.Enable = True
229 BitmapOptions.FillLeft = False
230 BitmapOptions.FillTop = False
231 BitmapOptions.FillRight = False
232 BitmapOptions.FillBottom = False
233 BitmapOptions.FillCenter = False
234 Caption = 'sample'
235 Font.Color = 5592405
236 Font.Height = 25
237 ParentFont = False
238 Shadow.Alpha = 255
239 Shadow.Color = clWhite
240 Shadow.OffsetX = 0
241 Shadow.OffsetY = 1
242 Shadow.Visible = True
243 Shadow.Radius = 0
244 end
245 object android_normal: TBGRAImageButton
246 Left = 8
247 Height = 89
248 Top = 424
249 Width = 412
250 Anchors = [akTop, akLeft, akRight]
251 Animation = True
252 BitmapOptions.BorderWidth = 20
253 BitmapOptions.BorderHeight = 20
254 BitmapOptions.DrawMode = dmDrawWithTransparency
255 BitmapOptions.ResampleMode = rmFineResample
256 BitmapOptions.ResampleFilter = rfBestQuality
257 BitmapOptions.Enable = True
258 BitmapOptions.FillLeft = False
259 BitmapOptions.FillTop = False
260 BitmapOptions.FillRight = False
261 BitmapOptions.FillBottom = False
262 BitmapOptions.FillCenter = False
263 Caption = 'Android'
264 Font.Color = 5592405
265 Font.Height = 25
266 ParentFont = False
267 Shadow.Alpha = 255
268 Shadow.Color = clWhite
269 Shadow.OffsetX = 0
270 Shadow.OffsetY = 2
271 Shadow.Visible = True
272 Shadow.Radius = 0
273 end
274 object android_dark: TBGRAImageButton
275 Left = 8
276 Height = 89
277 Top = 520
278 Width = 412
279 Anchors = [akTop, akLeft, akRight]
280 Animation = True
281 BitmapOptions.BorderWidth = 20
282 BitmapOptions.BorderHeight = 20
283 BitmapOptions.DrawMode = dmDrawWithTransparency
284 BitmapOptions.ResampleMode = rmFineResample
285 BitmapOptions.ResampleFilter = rfBestQuality
286 BitmapOptions.Enable = True
287 BitmapOptions.FillLeft = False
288 BitmapOptions.FillTop = False
289 BitmapOptions.FillRight = False
290 BitmapOptions.FillBottom = False
291 BitmapOptions.FillCenter = False
292 Caption = 'Android'
293 Color = 15658734
294 Font.Color = clWhite
295 Font.Height = 25
296 ParentFont = False
297 Shadow.Alpha = 255
298 Shadow.Color = clBlack
299 Shadow.OffsetX = 0
300 Shadow.OffsetY = 2
301 Shadow.Visible = True
302 Shadow.Radius = 0
303 end
304 object android_14_normal: TBGRAImageButton
305 Left = 8
306 Height = 89
307 Top = 616
308 Width = 412
309 Anchors = [akTop, akLeft, akRight]
310 Animation = True
311 BitmapOptions.BorderWidth = 6
312 BitmapOptions.BorderHeight = 9
313 BitmapOptions.DrawMode = dmDrawWithTransparency
314 BitmapOptions.ResampleMode = rmFineResample
315 BitmapOptions.ResampleFilter = rfBestQuality
316 BitmapOptions.Enable = True
317 BitmapOptions.FillLeft = False
318 BitmapOptions.FillTop = False
319 BitmapOptions.FillRight = False
320 BitmapOptions.FillBottom = False
321 BitmapOptions.FillCenter = False
322 Caption = 'Android'
323 Font.Color = 5592405
324 Font.Height = 25
325 ParentFont = False
326 Shadow.Alpha = 255
327 Shadow.Color = clWhite
328 Shadow.OffsetX = 0
329 Shadow.OffsetY = 2
330 Shadow.Visible = True
331 Shadow.Radius = 1
332 end
333 object android_14_dark: TBGRAImageButton
334 Left = 8
335 Height = 89
336 Top = 712
337 Width = 412
338 Anchors = [akTop, akLeft, akRight]
339 Animation = True
340 BitmapOptions.BorderWidth = 6
341 BitmapOptions.BorderHeight = 9
342 BitmapOptions.DrawMode = dmDrawWithTransparency
343 BitmapOptions.ResampleMode = rmFineResample
344 BitmapOptions.ResampleFilter = rfBestQuality
345 BitmapOptions.Enable = True
346 BitmapOptions.FillLeft = False
347 BitmapOptions.FillTop = False
348 BitmapOptions.FillRight = False
349 BitmapOptions.FillBottom = False
350 BitmapOptions.FillCenter = False
351 Caption = 'Android'
352 Color = 15658734
353 Font.Color = clWhite
354 Font.Height = 25
355 ParentFont = False
356 Shadow.Alpha = 255
357 Shadow.Color = clBlack
358 Shadow.OffsetX = 0
359 Shadow.OffsetY = 2
360 Shadow.Visible = True
361 Shadow.Radius = 1
362 end
363end
Note: See TracBrowser for help on using the repository browser.