2
0

RGBALoaderUnit.dfm 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. object RGBALoaderForm: TRGBALoaderForm
  2. Left = 200
  3. Top = 138
  4. BorderStyle = bsDialog
  5. Caption = 'New Bitmap Layer with Alpha Channel'
  6. ClientHeight = 367
  7. ClientWidth = 412
  8. Color = clBtnFace
  9. Font.Charset = DEFAULT_CHARSET
  10. Font.Color = clWindowText
  11. Font.Height = -11
  12. Font.Name = 'Tahoma'
  13. Font.Style = []
  14. OldCreateOrder = False
  15. Position = poScreenCenter
  16. PixelsPerInch = 96
  17. TextHeight = 13
  18. object Bevel1: TBevel
  19. Left = 0
  20. Top = 0
  21. Width = 412
  22. Height = 2
  23. Align = alTop
  24. Shape = bsTopLine
  25. end
  26. object LblRGBImage: TLabel
  27. Left = 24
  28. Top = 83
  29. Width = 57
  30. Height = 13
  31. Caption = 'RGB Image:'
  32. end
  33. object LblAlphaImage: TLabel
  34. Left = 216
  35. Top = 83
  36. Width = 64
  37. Height = 13
  38. Caption = 'Alpha Image:'
  39. end
  40. object LblNote: TLabel
  41. Left = 24
  42. Top = 294
  43. Width = 323
  44. Height = 13
  45. Caption =
  46. 'If the images have different sizes, the alpha image will be resc' +
  47. 'aled.'
  48. end
  49. object BtnZoomInImage: TSpeedButton
  50. Left = 148
  51. Top = 80
  52. Width = 21
  53. Height = 21
  54. Caption = '+'
  55. Flat = True
  56. Font.Charset = DEFAULT_CHARSET
  57. Font.Color = clWindowText
  58. Font.Height = -21
  59. Font.Name = 'MS Sans Serif'
  60. Font.Style = []
  61. Layout = blGlyphBottom
  62. ParentFont = False
  63. OnClick = BtnZoomInImageClick
  64. end
  65. object BtnZoomOutImage: TSpeedButton
  66. Left = 170
  67. Top = 80
  68. Width = 21
  69. Height = 21
  70. Caption = '-'
  71. Flat = True
  72. Font.Charset = DEFAULT_CHARSET
  73. Font.Color = clWindowText
  74. Font.Height = -27
  75. Font.Name = 'MS Sans Serif'
  76. Font.Style = []
  77. Layout = blGlyphBottom
  78. ParentFont = False
  79. OnClick = BtnZoomOutImageClick
  80. end
  81. object BtnZoomInAlpha: TSpeedButton
  82. Left = 340
  83. Top = 80
  84. Width = 21
  85. Height = 21
  86. Caption = '+'
  87. Flat = True
  88. Font.Charset = DEFAULT_CHARSET
  89. Font.Color = clWindowText
  90. Font.Height = -21
  91. Font.Name = 'MS Sans Serif'
  92. Font.Style = []
  93. Layout = blGlyphBottom
  94. ParentFont = False
  95. OnClick = BtnZoomInAlphaClick
  96. end
  97. object BtnZoomOutAlpha: TSpeedButton
  98. Left = 362
  99. Top = 80
  100. Width = 21
  101. Height = 21
  102. Caption = '-'
  103. Flat = True
  104. Font.Charset = DEFAULT_CHARSET
  105. Font.Color = clWindowText
  106. Font.Height = -27
  107. Font.Name = 'MS Sans Serif'
  108. Font.Style = []
  109. Layout = blGlyphBottom
  110. ParentFont = False
  111. OnClick = BtnZoomOutAlphaClick
  112. end
  113. object PnlInfo: TPanel
  114. Left = 0
  115. Top = 2
  116. Width = 412
  117. Height = 55
  118. Align = alTop
  119. BevelOuter = bvNone
  120. Color = clWindow
  121. TabOrder = 0
  122. object LblInfo: TLabel
  123. Left = 16
  124. Top = 6
  125. Width = 382
  126. Height = 39
  127. Caption =
  128. 'Load two images, one of them will be used to fill RGB components' +
  129. ' '#13#10'of the layer, another will be converted to a grayscale image ' +
  130. 'and '#13#10'used as alpha channel'
  131. Font.Charset = DEFAULT_CHARSET
  132. Font.Color = clWindowText
  133. Font.Height = -11
  134. Font.Name = 'Verdana'
  135. Font.Style = []
  136. ParentFont = False
  137. end
  138. end
  139. object ImgRGB: TImgView32
  140. Left = 24
  141. Top = 112
  142. Width = 169
  143. Height = 169
  144. Bitmap.ResamplerClassName = 'TNearestResampler'
  145. BitmapAlign = baCustom
  146. Color = clAppWorkSpace
  147. ParentColor = False
  148. Scale = 1.000000000000000000
  149. ScaleMode = smScale
  150. ScrollBars.Color = clBtnShadow
  151. ScrollBars.ShowHandleGrip = True
  152. ScrollBars.Style = rbsDefault
  153. ScrollBars.Size = 16
  154. OverSize = 0
  155. TabOrder = 1
  156. end
  157. object BtnLoadImage: TButton
  158. Left = 96
  159. Top = 80
  160. Width = 49
  161. Height = 21
  162. Caption = 'Load...'
  163. TabOrder = 2
  164. OnClick = BtnLoadImageClick
  165. end
  166. object ImgAlpha: TImgView32
  167. Left = 216
  168. Top = 112
  169. Width = 169
  170. Height = 169
  171. Bitmap.ResamplerClassName = 'TNearestResampler'
  172. BitmapAlign = baCustom
  173. Color = clAppWorkSpace
  174. ParentColor = False
  175. Scale = 1.000000000000000000
  176. ScaleMode = smScale
  177. ScrollBars.Color = clBtnShadow
  178. ScrollBars.ShowHandleGrip = True
  179. ScrollBars.Style = rbsDefault
  180. ScrollBars.Size = 16
  181. OverSize = 0
  182. TabOrder = 3
  183. end
  184. object BtnLoadAlpha: TButton
  185. Left = 288
  186. Top = 80
  187. Width = 49
  188. Height = 21
  189. Caption = 'Load...'
  190. TabOrder = 4
  191. OnClick = BtnLoadAlphaClick
  192. end
  193. object BtnOK: TButton
  194. Left = 232
  195. Top = 328
  196. Width = 75
  197. Height = 21
  198. Caption = 'OK'
  199. Default = True
  200. ModalResult = 1
  201. TabOrder = 5
  202. end
  203. object BtnCancel: TButton
  204. Left = 312
  205. Top = 328
  206. Width = 75
  207. Height = 21
  208. Cancel = True
  209. Caption = 'Cancel'
  210. ModalResult = 2
  211. TabOrder = 6
  212. end
  213. object BtnResetScales: TButton
  214. Left = 24
  215. Top = 328
  216. Width = 75
  217. Height = 21
  218. Caption = 'Reset Scales'
  219. TabOrder = 7
  220. OnClick = BtnResetScalesClick
  221. end
  222. object OpenPictureDialog: TOpenPictureDialog
  223. Left = 192
  224. Top = 56
  225. end
  226. end