File: imagelisteditor.lfm

package info (click to toggle)
lazarus 2.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 214,460 kB
  • sloc: pascal: 1,862,622; xml: 265,709; cpp: 56,595; sh: 3,008; java: 609; makefile: 535; perl: 297; sql: 222; ansic: 137
file content (425 lines) | stat: -rw-r--r-- 11,791 bytes parent folder | download | duplicates (2)
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
object ImageListEditorDlg: TImageListEditorDlg
  Left = 453
  Height = 484
  Top = 144
  Width = 617
  BorderIcons = [biSystemMenu, biHelp]
  Caption = 'ImagesList Editor'
  ClientHeight = 484
  ClientWidth = 617
  Constraints.MinHeight = 394
  Constraints.MinWidth = 560
  OnClose = FormClose
  OnCreate = FormCreate
  OnResize = FormResize
  OnShow = FormShow
  Position = poScreenCenter
  LCLVersion = '2.1.0.0'
  object GroupBoxR: TGroupBox
    AnchorSideLeft.Control = GroupBoxL
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = Owner
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Control = BtnPanel
    Left = 372
    Height = 440
    Top = 6
    Width = 239
    Anchors = [akTop, akLeft, akRight, akBottom]
    BorderSpacing.Around = 6
    Caption = 'Selected Image'
    ClientHeight = 420
    ClientWidth = 235
    TabOrder = 1
    object LabelTransparent: TLabel
      AnchorSideLeft.Control = RadioGroup
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = RadioGroup
      Left = 93
      Height = 24
      Top = 304
      Width = 97
      Anchors = [akTop, akLeft, akBottom]
      BorderSpacing.Left = 6
      Caption = 'Transparent Color:'
      ParentColor = False
    end
    object Preview: TScrollBox
      AnchorSideLeft.Control = GroupBoxR
      AnchorSideTop.Control = GroupBoxR
      AnchorSideRight.Control = GroupBoxR
      AnchorSideRight.Side = asrBottom
      AnchorSideBottom.Control = RadioGroup
      Left = 6
      Height = 292
      Top = 6
      Width = 223
      HorzScrollBar.Increment = 1
      HorzScrollBar.Page = 1
      HorzScrollBar.Smooth = True
      HorzScrollBar.Tracking = True
      VertScrollBar.Increment = 1
      VertScrollBar.Page = 1
      VertScrollBar.Smooth = True
      VertScrollBar.Tracking = True
      Anchors = [akTop, akLeft, akRight, akBottom]
      BorderSpacing.Around = 6
      Color = clDefault
      ParentColor = False
      TabOrder = 0
    end
    object RadioGroup: TRadioGroup
      AnchorSideLeft.Control = GroupBoxR
      AnchorSideBottom.Control = GroupBoxR
      AnchorSideBottom.Side = asrBottom
      Left = 6
      Height = 110
      Top = 304
      Width = 81
      Anchors = [akLeft, akBottom]
      AutoFill = True
      AutoSize = True
      BorderSpacing.Around = 6
      Caption = 'Adjustment'
      ChildSizing.LeftRightSpacing = 6
      ChildSizing.TopBottomSpacing = 4
      ChildSizing.VerticalSpacing = 2
      ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
      ChildSizing.EnlargeVertical = crsHomogenousSpaceResize
      ChildSizing.ShrinkHorizontal = crsScaleChilds
      ChildSizing.ShrinkVertical = crsScaleChilds
      ChildSizing.Layout = cclLeftToRightThenTopToBottom
      ChildSizing.ControlsPerLine = 1
      ClientHeight = 90
      ClientWidth = 77
      Enabled = False
      ItemIndex = 0
      Items.Strings = (
        'None'
        'Stretch'
        'Crop'
        'Center'
      )
      OnClick = ColorBoxTransparentClick
      TabOrder = 1
    end
    object ColorBoxTransparent: TColorBox
      AnchorSideLeft.Control = LabelTransparent
      AnchorSideTop.Control = LabelTransparent
      AnchorSideTop.Side = asrBottom
      Left = 93
      Height = 22
      Top = 332
      Width = 96
      Selected = clFuchsia
      Style = [cbStandardColors, cbExtendedColors, cbIncludeDefault, cbCustomColor, cbPrettyNames]
      BorderSpacing.Top = 4
      Enabled = False
      ItemHeight = 16
      OnChange = ColorBoxTransparentClick
      TabOrder = 2
    end
  end
  object GroupBoxL: TGroupBox
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Owner
    AnchorSideBottom.Control = BtnPanel
    Left = 6
    Height = 440
    Top = 6
    Width = 360
    Anchors = [akTop, akLeft, akBottom]
    AutoSize = True
    BorderSpacing.Around = 6
    Caption = 'Images'
    ClientHeight = 420
    ClientWidth = 356
    TabOrder = 0
    object BtnAdd: TButton
      Tag = 1
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = ImageListBox
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 6
      Width = 57
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Right = 6
      Caption = 'Add...'
      OnClick = BtnAddClick
      TabOrder = 0
    end
    object BtnClear: TButton
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnDelete
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 180
      Width = 53
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = 'Clear'
      OnClick = BtnClearClick
      TabOrder = 6
    end
    object BtnDelete: TButton
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnReplaceAll
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 151
      Width = 59
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = '&Delete'
      OnClick = BtnDeleteClick
      TabOrder = 5
    end
    object BtnMoveUp: TButton
      Tag = -1
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnClear
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 209
      Width = 74
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = 'Move Up'
      OnClick = BtnMoveUpDownClick
      TabOrder = 7
    end
    object BtnMoveDown: TButton
      Tag = 1
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnMoveUp
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 238
      Width = 90
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = 'Move Down'
      OnClick = BtnMoveUpDownClick
      TabOrder = 8
    end
    object BtnSave: TButton
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnMoveDown
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 267
      Width = 59
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = 'Save...'
      OnClick = BtnSaveClick
      TabOrder = 9
    end
    object btnSaveAll: TButton
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnSave
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 296
      Width = 76
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = 'Save All...'
      OnClick = btnSaveAllClick
      TabOrder = 10
    end
    object BtnReplace: TButton
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnAddSliced
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 93
      Width = 76
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = '&Replace...'
      OnClick = BtnReplaceClick
      TabOrder = 3
    end
    object ImageListBox: TListBox
      AnchorSideLeft.Control = GroupBoxL
      AnchorSideTop.Control = GroupBoxL
      AnchorSideBottom.Control = GroupBoxL
      AnchorSideBottom.Side = asrBottom
      Left = 6
      Height = 408
      Top = 6
      Width = 186
      Anchors = [akTop, akLeft, akBottom]
      BorderSpacing.Around = 6
      ItemHeight = 0
      OnDrawItem = ImageListBoxDrawItem
      OnSelectionChange = ImageListBoxSelectionChange
      Options = []
      Style = lbOwnerDrawFixed
      TabOrder = 11
    end
    object btnAddNewResolution: TButton
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = btnSaveAll
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 325
      Width = 138
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = 'Add new resolution...'
      OnClick = btnAddNewResolutionClick
      TabOrder = 12
    end
    object BtnReplaceAll: TButton
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnReplace
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 122
      Width = 152
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = '&Replace all resolutions...'
      OnClick = BtnReplaceClick
      TabOrder = 4
    end
    object BtnAddMoreResolutions: TButton
      Tag = 1
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnAdd
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 35
      Width = 149
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = 'Add more resolutions...'
      OnClick = BtnAddClick
      TabOrder = 1
    end
    object btnDeleteResolution: TButton
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = btnAddNewResolution
      AnchorSideTop.Side = asrBottom
      AnchorSideRight.Side = asrBottom
      Left = 198
      Height = 25
      Top = 354
      Width = 127
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = 'Delete resolution ...'
      OnClick = btnDeleteResolutionClick
      TabOrder = 13
    end
    object BtnAddSliced: TButton
      AnchorSideLeft.Control = ImageListBox
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = BtnAddMoreResolutions
      AnchorSideTop.Side = asrBottom
      Left = 198
      Height = 25
      Top = 64
      Width = 90
      AutoSize = True
      BorderSpacing.Left = 6
      BorderSpacing.Top = 4
      BorderSpacing.Right = 6
      Caption = 'Add sliced...'
      OnClick = BtnAddSlicedClick
      TabOrder = 2
    end
  end
  object BtnPanel: TButtonPanel
    Left = 6
    Height = 26
    Top = 452
    Width = 605
    OKButton.Name = 'OKButton'
    OKButton.DefaultCaption = True
    HelpButton.Name = 'HelpButton'
    HelpButton.DefaultCaption = True
    CloseButton.Name = 'CloseButton'
    CloseButton.DefaultCaption = True
    CancelButton.Name = 'CancelButton'
    CancelButton.DefaultCaption = True
    TabOrder = 2
    ShowBevel = False
  end
  object ImageList: TImageList
    left = 84
    top = 211
  end
  object OpenDialog: TOpenPictureDialog
    FilterIndex = 0
    Options = [ofAllowMultiSelect, ofFileMustExist, ofEnableSizing, ofViewDetail, ofAutoPreview]
    left = 84
    top = 103
  end
  object SaveDialog: TSavePictureDialog
    FilterIndex = 0
    Options = [ofEnableSizing, ofViewDetail, ofAutoPreview]
    left = 84
    top = 159
  end
end