MainUnit.dfm 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. object MainForm: TMainForm
  2. Left = 296
  3. Top = 97
  4. BorderIcons = [biSystemMenu, biMinimize]
  5. BorderStyle = bsSingle
  6. Caption = 'Texture Blend Example'
  7. ClientHeight = 665
  8. ClientWidth = 537
  9. Color = clBtnFace
  10. Font.Charset = DEFAULT_CHARSET
  11. Font.Color = clWindowText
  12. Font.Height = -11
  13. Font.Name = 'MS Sans Serif'
  14. Font.Style = []
  15. OldCreateOrder = False
  16. Position = poScreenCenter
  17. OnCreate = FormCreate
  18. PixelsPerInch = 96
  19. TextHeight = 13
  20. object LabelMasterAlpha: TLabel
  21. Left = 272
  22. Top = 32
  23. Width = 59
  24. Height = 13
  25. Caption = 'MasterAlpha'
  26. end
  27. object LabelCombinedTexture: TLabel
  28. Left = 272
  29. Top = 88
  30. Width = 258
  31. Height = 17
  32. Alignment = taCenter
  33. AutoSize = False
  34. Caption = 'Combined Texture'
  35. Color = clAppWorkSpace
  36. Font.Charset = DEFAULT_CHARSET
  37. Font.Color = clWhite
  38. Font.Height = -11
  39. Font.Name = 'Tahoma'
  40. Font.Style = [fsBold]
  41. ParentColor = False
  42. ParentFont = False
  43. Layout = tlCenter
  44. end
  45. object LabelWeightmap: TLabel
  46. Left = 8
  47. Top = 88
  48. Width = 258
  49. Height = 17
  50. Alignment = taCenter
  51. AutoSize = False
  52. Caption = 'Weightmap'
  53. Color = clAppWorkSpace
  54. Font.Charset = DEFAULT_CHARSET
  55. Font.Color = clWhite
  56. Font.Height = -11
  57. Font.Name = 'Tahoma'
  58. Font.Style = [fsBold]
  59. ParentColor = False
  60. ParentFont = False
  61. Layout = tlCenter
  62. end
  63. object LabelTextureA: TLabel
  64. Left = 8
  65. Top = 376
  66. Width = 258
  67. Height = 17
  68. Alignment = taCenter
  69. AutoSize = False
  70. Caption = 'Texture A'
  71. Color = clAppWorkSpace
  72. Font.Charset = DEFAULT_CHARSET
  73. Font.Color = clWhite
  74. Font.Height = -11
  75. Font.Name = 'Tahoma'
  76. Font.Style = [fsBold]
  77. ParentColor = False
  78. ParentFont = False
  79. Layout = tlCenter
  80. end
  81. object LabelTextureB: TLabel
  82. Left = 272
  83. Top = 376
  84. Width = 258
  85. Height = 17
  86. Alignment = taCenter
  87. AutoSize = False
  88. Caption = 'Texture B'
  89. Color = clAppWorkSpace
  90. Font.Charset = DEFAULT_CHARSET
  91. Font.Color = clWhite
  92. Font.Height = -11
  93. Font.Name = 'Tahoma'
  94. Font.Style = [fsBold]
  95. ParentColor = False
  96. ParentFont = False
  97. Layout = tlCenter
  98. end
  99. object LabelBlendSettings: TLabel
  100. Left = 272
  101. Top = 8
  102. Width = 258
  103. Height = 17
  104. AutoSize = False
  105. Caption = ' Blend Settings'
  106. Color = clAppWorkSpace
  107. Font.Charset = DEFAULT_CHARSET
  108. Font.Color = clWhite
  109. Font.Height = -11
  110. Font.Name = 'Tahoma'
  111. Font.Style = [fsBold]
  112. ParentColor = False
  113. ParentFont = False
  114. Layout = tlCenter
  115. end
  116. object LabelBlendmode: TLabel
  117. Left = 272
  118. Top = 59
  119. Width = 53
  120. Height = 13
  121. Caption = 'Blendmode'
  122. end
  123. object LabelWeightmapSettings: TLabel
  124. Left = 8
  125. Top = 8
  126. Width = 258
  127. Height = 17
  128. AutoSize = False
  129. Caption = ' Weightmap Settings'
  130. Color = clAppWorkSpace
  131. Font.Charset = DEFAULT_CHARSET
  132. Font.Color = clWhite
  133. Font.Height = -11
  134. Font.Name = 'Tahoma'
  135. Font.Style = [fsBold]
  136. ParentColor = False
  137. ParentFont = False
  138. Layout = tlCenter
  139. end
  140. object MasterAlphaBar: TGaugeBar
  141. Left = 336
  142. Top = 32
  143. Width = 193
  144. Height = 16
  145. Backgnd = bgPattern
  146. Max = 255
  147. ShowArrows = False
  148. ShowHandleGrip = True
  149. Style = rbsMac
  150. Position = 200
  151. OnChange = MasterAlphaBarChange
  152. end
  153. object BlendBox: TComboBox
  154. Left = 336
  155. Top = 56
  156. Width = 193
  157. Height = 21
  158. Style = csDropDownList
  159. TabOrder = 1
  160. OnChange = MasterAlphaBarChange
  161. Items.Strings = (
  162. 'Normal'
  163. 'Soft Masked'
  164. 'Color Add'
  165. 'Color Sub'
  166. 'Color Div'
  167. 'Color Modulate'
  168. 'Color Max'
  169. 'Color Min'
  170. 'Color Difference'
  171. 'Color Average'
  172. 'Color Exclusion'
  173. 'Color Screen'
  174. 'Color Dodge'
  175. 'Color Burn')
  176. end
  177. object CombImg: TImage32
  178. Left = 272
  179. Top = 112
  180. Width = 258
  181. Height = 258
  182. Bitmap.ResamplerClassName = 'TNearestResampler'
  183. BitmapAlign = baCenter
  184. Color = clBlack
  185. ParentColor = False
  186. Scale = 1.000000000000000000
  187. ScaleMode = smNormal
  188. TabOrder = 2
  189. end
  190. object WeightmapImg: TImage32
  191. Left = 8
  192. Top = 112
  193. Width = 258
  194. Height = 258
  195. Bitmap.ResamplerClassName = 'TNearestResampler'
  196. BitmapAlign = baCenter
  197. Color = clBlack
  198. ParentColor = False
  199. Scale = 1.000000000000000000
  200. ScaleMode = smNormal
  201. TabOrder = 3
  202. end
  203. object TexAImg: TImage32
  204. Left = 8
  205. Top = 400
  206. Width = 258
  207. Height = 258
  208. Bitmap.ResamplerClassName = 'TNearestResampler'
  209. BitmapAlign = baCenter
  210. Color = clBlack
  211. ParentColor = False
  212. Scale = 1.000000000000000000
  213. ScaleMode = smNormal
  214. TabOrder = 4
  215. end
  216. object TexBImg: TImage32
  217. Left = 272
  218. Top = 400
  219. Width = 258
  220. Height = 258
  221. Bitmap.ResamplerClassName = 'TNearestResampler'
  222. BitmapAlign = baCenter
  223. Color = clBlack
  224. ParentColor = False
  225. Scale = 1.000000000000000000
  226. ScaleMode = smNormal
  227. TabOrder = 5
  228. end
  229. object GenerateButton: TButton
  230. Left = 8
  231. Top = 32
  232. Width = 257
  233. Height = 25
  234. Caption = 'Generate Random Weightmap'
  235. TabOrder = 6
  236. end
  237. end