home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Software / Freeware / programare / graphics32 / Examples / Clx / ImgView_Layers_Ex / RGBALoaderUnit.xfm / RGBALoaderUnit.txt
Encoding:
Text File  |  2004-07-14  |  4.6 KB  |  232 lines

  1. object RGBALoaderForm: TRGBALoaderForm
  2.   Left = 208
  3.   Top = 184
  4.   Width = 412
  5.   Height = 367
  6.   VertScrollBar.Range = 349
  7.   HorzScrollBar.Range = 387
  8.   ActiveControl = Button1
  9.   Caption = 'New Bitmap Layer with Alpha Channel'
  10.   Color = clButton
  11.   Font.Color = clText
  12.   Font.Height = 11
  13.   Font.Name = 'Tahoma'
  14.   Font.Pitch = fpVariable
  15.   Font.Style = []
  16.   Font.Weight = 40
  17.   ParentFont = False
  18.   Position = poScreenCenter
  19.   OnCreate = FormCreate
  20.   PixelsPerInch = 96
  21.   TextHeight = 13
  22.   TextWidth = 6
  23.   object Bevel1: TBevel
  24.     Left = 0
  25.     Top = 0
  26.     Width = 412
  27.     Height = 2
  28.     Align = alTop
  29.     Shape = bsTopLine
  30.   end
  31.   object SpeedButton1: TSpeedButton
  32.     Left = 148
  33.     Top = 80
  34.     Width = 21
  35.     Height = 21
  36.     Caption = '+'
  37.     Flat = True
  38.     Font.Color = clText
  39.     Font.Height = 21
  40.     Font.Name = 'MS Sans Serif'
  41.     Font.Pitch = fpVariable
  42.     Font.Style = []
  43.     Font.Weight = 40
  44.     Layout = blGlyphBottom
  45.     ParentFont = False
  46.     OnClick = SpeedButton1Click
  47.   end
  48.   object SpeedButton2: TSpeedButton
  49.     Left = 170
  50.     Top = 80
  51.     Width = 21
  52.     Height = 21
  53.     Caption = '-'
  54.     Flat = True
  55.     Font.Color = clText
  56.     Font.Height = 27
  57.     Font.Name = 'MS Sans Serif'
  58.     Font.Pitch = fpVariable
  59.     Font.Style = []
  60.     Font.Weight = 40
  61.     Layout = blGlyphBottom
  62.     ParentFont = False
  63.     OnClick = SpeedButton2Click
  64.   end
  65.   object SpeedButton3: TSpeedButton
  66.     Left = 340
  67.     Top = 80
  68.     Width = 21
  69.     Height = 21
  70.     Caption = '+'
  71.     Flat = True
  72.     Font.Color = clText
  73.     Font.Height = 21
  74.     Font.Name = 'MS Sans Serif'
  75.     Font.Pitch = fpVariable
  76.     Font.Style = []
  77.     Font.Weight = 40
  78.     Layout = blGlyphBottom
  79.     ParentFont = False
  80.     OnClick = SpeedButton3Click
  81.   end
  82.   object SpeedButton4: TSpeedButton
  83.     Left = 362
  84.     Top = 80
  85.     Width = 21
  86.     Height = 21
  87.     Caption = '-'
  88.     Flat = True
  89.     Font.Color = clText
  90.     Font.Height = 27
  91.     Font.Name = 'MS Sans Serif'
  92.     Font.Pitch = fpVariable
  93.     Font.Style = []
  94.     Font.Weight = 40
  95.     Layout = blGlyphBottom
  96.     ParentFont = False
  97.     OnClick = SpeedButton4Click
  98.   end
  99.   object Label2: TLabel
  100.     Left = 24
  101.     Top = 83
  102.     Width = 58
  103.     Height = 13
  104.     Caption = 'RGB Image:'
  105.   end
  106.   object Label3: TLabel
  107.     Left = 216
  108.     Top = 83
  109.     Width = 65
  110.     Height = 13
  111.     Caption = 'Alpha Image:'
  112.   end
  113.   object Label4: TLabel
  114.     Left = 24
  115.     Top = 294
  116.     Width = 324
  117.     Height = 13
  118.     Caption = 
  119.       'If the images have different sizes, the alpha image will be resc' +
  120.       'aled.'
  121.   end
  122.   object Panel1: TPanel
  123.     Left = 0
  124.     Top = 2
  125.     Width = 412
  126.     Height = 55
  127.     Align = alTop
  128.     BevelOuter = bvNone
  129.     Color = clBase
  130.     TabOrder = 0
  131.     object Label1: TLabel
  132.       Left = 16
  133.       Top = 6
  134.       Width = 386
  135.       Height = 39
  136.       Caption = 
  137.         'Load two images, one of them will be used to fill RGB components' +
  138.         ' '#13#10'of the layer, another will be converted to a grayscale image ' +
  139.         'and '#13#10'used as alpha channel'
  140.       Font.Color = clText
  141.       Font.Height = 11
  142.       Font.Name = 'Verdana'
  143.       Font.Pitch = fpVariable
  144.       Font.Style = []
  145.       Font.Weight = 40
  146.       ParentFont = False
  147.     end
  148.   end
  149.   object ImgRGB: TImgView32
  150.     Left = 24
  151.     Top = 112
  152.     Width = 169
  153.     Height = 169
  154.     Color = clMid
  155.     ParentColor = False
  156.     Scale = 1.000000000000000000
  157.     ScrollBars.Color = clDark
  158.     ScrollBars.ShowHandleGrip = True
  159.     ScrollBars.Style = rbsDefault
  160.     SizeGrip = sgAuto
  161.     TabOrder = 1
  162.   end
  163.   object Button1: TButton
  164.     Left = 96
  165.     Top = 80
  166.     Width = 49
  167.     Height = 21
  168.     Caption = 'Load...'
  169.     TabOrder = 2
  170.     OnClick = Button1Click
  171.   end
  172.   object ImgAlpha: TImgView32
  173.     Left = 216
  174.     Top = 112
  175.     Width = 169
  176.     Height = 169
  177.     Color = clMid
  178.     ParentColor = False
  179.     Scale = 1.000000000000000000
  180.     ScrollBars.Color = clDark
  181.     ScrollBars.ShowHandleGrip = True
  182.     ScrollBars.Style = rbsDefault
  183.     SizeGrip = sgAuto
  184.     TabOrder = 3
  185.   end
  186.   object Button2: TButton
  187.     Left = 288
  188.     Top = 80
  189.     Width = 49
  190.     Height = 21
  191.     Caption = 'Load...'
  192.     TabOrder = 4
  193.     OnClick = Button2Click
  194.   end
  195.   object Button3: TButton
  196.     Left = 232
  197.     Top = 328
  198.     Width = 75
  199.     Height = 21
  200.     Caption = 'OK'
  201.     Default = True
  202.     ModalResult = 1
  203.     TabOrder = 5
  204.   end
  205.   object Button4: TButton
  206.     Left = 312
  207.     Top = 328
  208.     Width = 75
  209.     Height = 21
  210.     Cancel = True
  211.     Caption = 'Cancel'
  212.     ModalResult = 2
  213.     TabOrder = 6
  214.   end
  215.   object Button5: TButton
  216.     Left = 24
  217.     Top = 328
  218.     Width = 75
  219.     Height = 21
  220.     Caption = 'Reset Scales'
  221.     TabOrder = 7
  222.     OnClick = Button5Click
  223.   end
  224.   object OpenPictureDialog: TOpenDialog
  225.     FilterIndex = 0
  226.     Height = 0
  227.     Width = 0
  228.     Left = 104
  229.     Top = 328
  230.   end
  231. end
  232.