FmGuiSkinEditor.dfm 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. object GLSkinEditorForm: TGLSkinEditorForm
  2. Left = 262
  3. Top = 321
  4. Caption = 'Skin Editor'
  5. ClientHeight = 359
  6. ClientWidth = 764
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. OnCreate = FormCreate
  15. OnDestroy = FormDestroy
  16. OnResize = FormResize
  17. PixelsPerInch = 96
  18. TextHeight = 13
  19. object StatusBar: TStatusBar
  20. Left = 0
  21. Top = 340
  22. Width = 764
  23. Height = 19
  24. Panels = <
  25. item
  26. Text = 'x:'
  27. Width = 50
  28. end
  29. item
  30. Text = 'y:'
  31. Width = 50
  32. end
  33. item
  34. Text = 'dx:'
  35. Width = 50
  36. end
  37. item
  38. Text = 'dy:'
  39. Width = 50
  40. end
  41. item
  42. Width = 50
  43. end>
  44. end
  45. object panBottom: TPanel
  46. Left = 0
  47. Top = 308
  48. Width = 764
  49. Height = 32
  50. Align = alBottom
  51. BevelOuter = bvNone
  52. TabOrder = 1
  53. DesignSize = (
  54. 764
  55. 32)
  56. object Button5: TButton
  57. Left = 600
  58. Top = 5
  59. Width = 75
  60. Height = 25
  61. Anchors = [akTop, akRight]
  62. Caption = 'OK'
  63. ModalResult = 1
  64. TabOrder = 0
  65. end
  66. object Button6: TButton
  67. Left = 682
  68. Top = 5
  69. Width = 75
  70. Height = 25
  71. Anchors = [akTop, akRight]
  72. Caption = 'Cancel'
  73. ModalResult = 2
  74. TabOrder = 1
  75. end
  76. end
  77. object panZoomImage: TPanel
  78. Left = 285
  79. Top = 0
  80. Width = 330
  81. Height = 308
  82. Align = alClient
  83. BevelOuter = bvNone
  84. TabOrder = 2
  85. object imgFull: TImage
  86. Left = 6
  87. Top = 1
  88. Width = 298
  89. Height = 279
  90. OnMouseDown = imgFullMouseDown
  91. OnMouseMove = imgFullMouseMove
  92. OnMouseUp = imgFullMouseUp
  93. end
  94. object sbarHorizontal: TScrollBar
  95. Left = 1
  96. Top = 286
  97. Width = 308
  98. Height = 17
  99. LargeChange = 64
  100. Max = 256
  101. Min = 1
  102. PageSize = 256
  103. Position = 1
  104. TabOrder = 0
  105. OnChange = ScrollbarChange
  106. OnScroll = ScrollBarScroll
  107. end
  108. object sbarVertical: TScrollBar
  109. Left = 310
  110. Top = 1
  111. Width = 17
  112. Height = 284
  113. Kind = sbVertical
  114. LargeChange = 64
  115. Max = 256
  116. Min = 1
  117. PageSize = 256
  118. Position = 1
  119. TabOrder = 1
  120. OnChange = ScrollbarChange
  121. OnScroll = ScrollBarScroll
  122. end
  123. end
  124. object panImageProperties: TPanel
  125. Left = 615
  126. Top = 0
  127. Width = 149
  128. Height = 308
  129. Align = alRight
  130. TabOrder = 3
  131. object Label5: TLabel
  132. Left = 12
  133. Top = 212
  134. Width = 28
  135. Height = 13
  136. Caption = 'Width'
  137. end
  138. object Label6: TLabel
  139. Left = 12
  140. Top = 236
  141. Width = 31
  142. Height = 13
  143. Caption = 'Height'
  144. end
  145. object Panel2: TPanel
  146. Left = 11
  147. Top = 3
  148. Width = 130
  149. Height = 130
  150. TabOrder = 0
  151. object imgPreview: TImage
  152. Left = 1
  153. Top = 1
  154. Width = 128
  155. Height = 128
  156. Cursor = crHandPoint
  157. Align = alClient
  158. OnMouseDown = imgPreviewMouseDown
  159. OnMouseMove = imgPreviewMouseMove
  160. end
  161. end
  162. object Panel3: TPanel
  163. Left = 12
  164. Top = 140
  165. Width = 129
  166. Height = 27
  167. BevelOuter = bvLowered
  168. TabOrder = 1
  169. object Label2: TLabel
  170. Left = 80
  171. Top = 7
  172. Width = 15
  173. Height = 13
  174. Alignment = taRightJustify
  175. Caption = '1.0'
  176. end
  177. object Label1: TLabel
  178. Left = 12
  179. Top = 7
  180. Width = 30
  181. Height = 13
  182. Caption = 'Zoom:'
  183. end
  184. object Button3: TButton
  185. Left = 113
  186. Top = 1
  187. Width = 15
  188. Height = 12
  189. Caption = '+'
  190. Font.Charset = DEFAULT_CHARSET
  191. Font.Color = clWindowText
  192. Font.Height = -11
  193. Font.Name = 'MS Sans Serif'
  194. Font.Style = [fsBold]
  195. ParentFont = False
  196. TabOrder = 0
  197. OnClick = Button3Click
  198. end
  199. object Button4: TButton
  200. Left = 113
  201. Top = 13
  202. Width = 15
  203. Height = 12
  204. Caption = '-'
  205. Font.Charset = DEFAULT_CHARSET
  206. Font.Color = clWindowText
  207. Font.Height = -11
  208. Font.Name = 'MS Sans Serif'
  209. Font.Style = [fsBold]
  210. ParentFont = False
  211. TabOrder = 1
  212. OnClick = Button4Click
  213. end
  214. end
  215. object CheckBox1: TCheckBox
  216. Left = 12
  217. Top = 180
  218. Width = 129
  219. Height = 17
  220. Caption = 'Show Preview'
  221. TabOrder = 2
  222. OnClick = CheckBox1Click
  223. end
  224. object WidthEdit: TEdit
  225. Left = 48
  226. Top = 208
  227. Width = 95
  228. Height = 21
  229. TabOrder = 3
  230. Text = '256'
  231. OnChange = WidthEditChange
  232. end
  233. object HeightEdit: TEdit
  234. Left = 48
  235. Top = 232
  236. Width = 95
  237. Height = 21
  238. TabOrder = 4
  239. Text = '256'
  240. OnChange = HeightEditChange
  241. end
  242. end
  243. object panElements: TPanel
  244. Left = 0
  245. Top = 0
  246. Width = 285
  247. Height = 308
  248. Align = alLeft
  249. TabOrder = 4
  250. object Bevel2: TBevel
  251. Left = 140
  252. Top = 212
  253. Width = 137
  254. Height = 57
  255. end
  256. object Bevel1: TBevel
  257. Left = 140
  258. Top = 72
  259. Width = 137
  260. Height = 133
  261. end
  262. object Label3: TLabel
  263. Left = 4
  264. Top = 12
  265. Width = 81
  266. Height = 13
  267. Caption = 'Skin Elements'
  268. Font.Charset = DEFAULT_CHARSET
  269. Font.Color = clWindowText
  270. Font.Height = -11
  271. Font.Name = 'MS Sans Serif'
  272. Font.Style = [fsBold]
  273. ParentFont = False
  274. end
  275. object Label4: TLabel
  276. Tag = 1
  277. Left = 144
  278. Top = 44
  279. Width = 43
  280. Height = 13
  281. Alignment = taRightJustify
  282. Caption = 'Skin Part'
  283. end
  284. object Label11: TLabel
  285. Tag = 1
  286. Left = 144
  287. Top = 112
  288. Width = 18
  289. Height = 13
  290. Alignment = taRightJustify
  291. Caption = 'Left'
  292. end
  293. object Label12: TLabel
  294. Tag = 1
  295. Left = 187
  296. Top = 80
  297. Width = 19
  298. Height = 13
  299. Alignment = taRightJustify
  300. Caption = 'Top'
  301. end
  302. object Label13: TLabel
  303. Tag = 1
  304. Left = 233
  305. Top = 112
  306. Width = 25
  307. Height = 13
  308. Alignment = taRightJustify
  309. Caption = 'Right'
  310. end
  311. object Label9: TLabel
  312. Tag = 1
  313. Left = 169
  314. Top = 220
  315. Width = 37
  316. Height = 13
  317. Alignment = taRightJustify
  318. Caption = 'Scale X'
  319. end
  320. object Label10: TLabel
  321. Tag = 1
  322. Left = 169
  323. Top = 248
  324. Width = 37
  325. Height = 13
  326. Alignment = taRightJustify
  327. Caption = 'Scale Y'
  328. end
  329. object Label14: TLabel
  330. Tag = 1
  331. Left = 189
  332. Top = 156
  333. Width = 33
  334. Height = 13
  335. Alignment = taRightJustify
  336. Caption = 'Bottom'
  337. end
  338. object lbElements: TListBox
  339. Left = 4
  340. Top = 36
  341. Width = 129
  342. Height = 257
  343. ItemHeight = 13
  344. TabOrder = 0
  345. OnClick = lbElementsClick
  346. OnKeyDown = lbElementsKeyDown
  347. end
  348. object btnAdd: TButton
  349. Left = 88
  350. Top = 12
  351. Width = 21
  352. Height = 17
  353. Caption = '+'
  354. Font.Charset = DEFAULT_CHARSET
  355. Font.Color = clWindowText
  356. Font.Height = -16
  357. Font.Name = 'MS Sans Serif'
  358. Font.Style = [fsBold]
  359. ParentFont = False
  360. TabOrder = 1
  361. OnClick = btnAddClick
  362. end
  363. object btnDelete: TButton
  364. Tag = 1
  365. Left = 112
  366. Top = 12
  367. Width = 21
  368. Height = 17
  369. Caption = '-'
  370. Font.Charset = DEFAULT_CHARSET
  371. Font.Color = clWindowText
  372. Font.Height = -16
  373. Font.Name = 'MS Sans Serif'
  374. Font.Style = [fsBold]
  375. ParentFont = False
  376. TabOrder = 2
  377. OnClick = btnDeleteClick
  378. end
  379. object ComboBox1: TComboBox
  380. Tag = 1
  381. Left = 196
  382. Top = 40
  383. Width = 81
  384. Height = 21
  385. Style = csDropDownList
  386. TabOrder = 3
  387. OnChange = ComboBox1Change
  388. Items.Strings = (
  389. 'TopLeft'
  390. 'Top'
  391. 'TopRight'
  392. 'Left'
  393. 'Center'
  394. 'Right'
  395. 'BottomLeft'
  396. 'Bottom'
  397. 'BottomRight')
  398. end
  399. object LeftEdit: TEdit
  400. Tag = 1
  401. Left = 144
  402. Top = 128
  403. Width = 40
  404. Height = 21
  405. TabOrder = 4
  406. Text = '256'
  407. OnChange = LeftEditChange
  408. OnKeyPress = EditKeyPress
  409. end
  410. object TopEdit: TEdit
  411. Tag = 1
  412. Left = 188
  413. Top = 96
  414. Width = 40
  415. Height = 21
  416. TabOrder = 5
  417. Text = '256'
  418. OnChange = TopEditChange
  419. OnKeyPress = EditKeyPress
  420. end
  421. object RightEdit: TEdit
  422. Tag = 1
  423. Left = 232
  424. Top = 128
  425. Width = 40
  426. Height = 21
  427. TabOrder = 6
  428. Text = '256'
  429. OnChange = RightEditChange
  430. OnKeyPress = EditKeyPress
  431. end
  432. object BottomEdit: TEdit
  433. Tag = 1
  434. Left = 188
  435. Top = 172
  436. Width = 40
  437. Height = 21
  438. TabOrder = 7
  439. Text = '256'
  440. OnChange = BottomEditChange
  441. OnKeyPress = EditKeyPress
  442. end
  443. object ScaleXEdit: TEdit
  444. Tag = 1
  445. Left = 216
  446. Top = 216
  447. Width = 40
  448. Height = 21
  449. TabOrder = 8
  450. Text = '1'
  451. OnChange = ScaleXEditChange
  452. OnKeyPress = EditKeyPress
  453. end
  454. object ScaleYEdit: TEdit
  455. Tag = 1
  456. Left = 216
  457. Top = 244
  458. Width = 40
  459. Height = 21
  460. TabOrder = 9
  461. Text = '1'
  462. OnChange = ScaleYEditChange
  463. OnKeyPress = EditKeyPress
  464. end
  465. end
  466. object GLScene1: TGLScene
  467. Left = 324
  468. Top = 12
  469. object HUDSprite1: TGLHUDSprite
  470. Material.FrontProperties.Ambient.Color = {938C0C3E938E0E3F938C0C3E0000803F}
  471. Material.FrontProperties.Diffuse.Color = {938C0C3E938E0E3F938C0C3E0000803F}
  472. Material.FrontProperties.Emission.Color = {938C0C3E938E0E3F938C0C3E0000803F}
  473. Material.FrontProperties.Specular.Color = {938C0C3E938E0E3F938C0C3E0000803F}
  474. Position.Coordinates = {0000804300008043000000000000803F}
  475. Visible = False
  476. Width = 512.000000000000000000
  477. Height = 512.000000000000000000
  478. Rotation = 0.000000000000000000
  479. end
  480. object GLPanel1: TGLPanel
  481. Autosize = False
  482. RedrawAtOnce = False
  483. Rotation = 0.000000000000000000
  484. NoZWrite = False
  485. DoChangesOnProgress = False
  486. Visible = False
  487. Width = 256.000000000000000000
  488. Height = 256.000000000000000000
  489. end
  490. object GLCamera1: TGLCamera
  491. DepthOfView = 100.000000000000000000
  492. FocalLength = 50.000000000000000000
  493. Position.Coordinates = {0000000000000000000020410000803F}
  494. object GLLightSource1: TGLLightSource
  495. ConstAttenuation = 1.000000000000000000
  496. LightStyle = lsOmni
  497. SpotCutOff = 180.000000000000000000
  498. end
  499. end
  500. end
  501. object GLMemoryViewer1: TGLMemoryViewer
  502. Camera = GLCamera1
  503. Buffer.ContextOptions = []
  504. Buffer.DepthTest = False
  505. Buffer.FaceCulling = False
  506. Buffer.Lighting = False
  507. Buffer.ColorDepth = cd8bits
  508. Left = 324
  509. Top = 60
  510. end
  511. object popElements: TPopupMenu
  512. Left = 72
  513. Top = 68
  514. object mnuTopLeft: TMenuItem
  515. Caption = 'TopLeft'
  516. OnClick = MenuItemClick
  517. end
  518. object mnuTop: TMenuItem
  519. Tag = 1
  520. Caption = 'Top'
  521. OnClick = MenuItemClick
  522. end
  523. object mnuTopRight: TMenuItem
  524. Tag = 2
  525. Caption = 'TopRight'
  526. OnClick = MenuItemClick
  527. end
  528. object mnuLeft: TMenuItem
  529. Tag = 3
  530. Caption = 'Left'
  531. OnClick = MenuItemClick
  532. end
  533. object mnuCenter: TMenuItem
  534. Tag = 4
  535. Caption = 'Center'
  536. OnClick = MenuItemClick
  537. end
  538. object mnuRight: TMenuItem
  539. Tag = 5
  540. Caption = 'Right'
  541. OnClick = MenuItemClick
  542. end
  543. object mnuBottomLeft: TMenuItem
  544. Tag = 6
  545. Caption = 'BottomLeft'
  546. OnClick = MenuItemClick
  547. end
  548. object mnuBottom: TMenuItem
  549. Tag = 7
  550. Caption = 'Bottom'
  551. OnClick = MenuItemClick
  552. end
  553. object mnuBottomRight: TMenuItem
  554. Tag = 8
  555. Caption = 'BottomRight'
  556. OnClick = MenuItemClick
  557. end
  558. object N1: TMenuItem
  559. Caption = '-'
  560. end
  561. object mnuAddAll: TMenuItem
  562. Caption = 'Add all'
  563. OnClick = mnuAddAllClick
  564. end
  565. object N2: TMenuItem
  566. Caption = '-'
  567. end
  568. object mnuAllTop: TMenuItem
  569. Caption = 'All Top'
  570. OnClick = mnuAllTopClick
  571. end
  572. object mnuAllMiddle: TMenuItem
  573. Caption = 'All Middle'
  574. OnClick = mnuAllMiddleClick
  575. end
  576. object mnuAllBottom: TMenuItem
  577. Caption = 'All Bottom'
  578. OnClick = mnuAllBottomClick
  579. end
  580. end
  581. end