FmGuiSkinEditor.dfm 12 KB

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