MainUnit.dfm 5.0 KB

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