fGuiDemoC.dfm 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'Gui Demo'
  5. ClientHeight = 381
  6. ClientWidth = 537
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. Menu = MainMenu1
  14. OldCreateOrder = False
  15. OnCreate = FormCreate
  16. OnKeyDown = FormKeyDown
  17. OnKeyPress = FormKeyPress
  18. OnKeyUp = FormKeyUp
  19. PixelsPerInch = 96
  20. TextHeight = 13
  21. object GLSceneViewer1: TGLSceneViewer
  22. Left = 0
  23. Top = 0
  24. Width = 537
  25. Height = 381
  26. Camera = GLCamera1
  27. Buffer.BackgroundColor = clBackground
  28. FieldOfView = 150.586914062500000000
  29. PenAsTouch = False
  30. Align = alClient
  31. OnMouseDown = GLSceneViewer1MouseDown
  32. OnMouseMove = GLSceneViewer1MouseMove
  33. OnMouseUp = GLSceneViewer1MouseUp
  34. TabOrder = 0
  35. end
  36. object GLScene1: TGLScene
  37. ObjectsSorting = osNone
  38. Left = 40
  39. Top = 16
  40. object GLLightSource1: TGLLightSource
  41. ConstAttenuation = 1.000000000000000000
  42. Position.Coordinates = {0000204100002041000020410000803F}
  43. SpotCutOff = 180.000000000000000000
  44. end
  45. object GLForm1: TGLForm
  46. Autosize = False
  47. RedrawAtOnce = False
  48. GuiLayout = GLGuiLayout1
  49. GuiLayoutName = 'form'
  50. Rotation = 0.000000000000000000
  51. AlphaChannel = 0.500000000000000000
  52. NoZWrite = False
  53. DoChangesOnProgress = False
  54. Width = 300.000000000000000000
  55. Height = 170.000000000000000000
  56. Left = 100.000000000000000000
  57. Top = 100.000000000000000000
  58. Position.Coordinates = {0000C8420000C842000000000000803F}
  59. BitmapFont = WindowsBitmapFont1
  60. DefaultColor = clMaroon
  61. Caption = 'Gui Form'
  62. TitleColor = clWhite
  63. TitleOffset = 2.000000000000000000
  64. object GLButton1: TGLButton
  65. Autosize = False
  66. RedrawAtOnce = False
  67. GuiLayout = GLGuiLayout1
  68. GuiLayoutName = 'panel'
  69. Rotation = 0.000000000000000000
  70. NoZWrite = False
  71. DoChangesOnProgress = False
  72. Width = 140.000000000000000000
  73. Height = 25.000000000000000000
  74. Left = 80.000000000000000000
  75. Top = 120.000000000000000000
  76. Position.Coordinates = {0000344300005C43000000000000803F}
  77. BitmapFont = WindowsBitmapFont1
  78. DefaultColor = clBlack
  79. Caption = 'Set Title'
  80. Focused = False
  81. FocusedColor = clBlack
  82. Group = -1
  83. Pressed = False
  84. OnButtonClick = GLButton1ButtonClick
  85. GuiLayoutNamePressed = 'panel'
  86. AllowUp = True
  87. end
  88. object GLEdit1: TGLEdit
  89. Autosize = False
  90. RedrawAtOnce = False
  91. GuiLayout = GLGuiLayout1
  92. GuiLayoutName = 'panel'
  93. Rotation = 0.000000000000000000
  94. NoZWrite = False
  95. DoChangesOnProgress = False
  96. Width = 180.000000000000000000
  97. Height = 21.000000000000000000
  98. Left = 100.000000000000000000
  99. Top = 70.000000000000000000
  100. Position.Coordinates = {0000484300002A43000000000000803F}
  101. BitmapFont = WindowsBitmapFont1
  102. DefaultColor = clBlack
  103. Caption = 'New Title'
  104. Focused = False
  105. FocusedColor = clBlack
  106. EditChar = '*'
  107. SelStart = 0
  108. end
  109. object GLLabel1: TGLLabel
  110. Autosize = False
  111. RedrawAtOnce = False
  112. GuiLayout = GLGuiLayout1
  113. Rotation = 0.000000000000000000
  114. NoZWrite = False
  115. DoChangesOnProgress = False
  116. Width = 80.000000000000000000
  117. Height = 21.000000000000000000
  118. Left = 10.000000000000000000
  119. Top = 70.000000000000000000
  120. Position.Coordinates = {0000DC4200002A43000000000000803F}
  121. BitmapFont = WindowsBitmapFont1
  122. DefaultColor = clBlack
  123. Caption = 'Title'
  124. Alignment = taLeftJustify
  125. TextLayout = tlCenter
  126. end
  127. end
  128. object GLCamera1: TGLCamera
  129. DepthOfView = 100.000000000000000000
  130. FocalLength = 50.000000000000000000
  131. Position.Coordinates = {0000A04000004040000080400000803F}
  132. Left = 240
  133. Top = 152
  134. end
  135. end
  136. object GLCadencer1: TGLCadencer
  137. Scene = GLScene1
  138. OnProgress = GLCadencer1Progress
  139. Left = 40
  140. Top = 80
  141. end
  142. object Timer1: TTimer
  143. OnTimer = Timer1Timer
  144. Left = 376
  145. Top = 16
  146. end
  147. object WindowsBitmapFont1: TGLWindowsBitmapFont
  148. Font.Charset = DEFAULT_CHARSET
  149. Font.Color = clWhite
  150. Font.Height = -11
  151. Font.Name = '@Arial Unicode MS'
  152. Font.Style = []
  153. Left = 40
  154. Top = 136
  155. end
  156. object MainMenu1: TMainMenu
  157. Left = 440
  158. Top = 88
  159. object Font1: TMenuItem
  160. Caption = 'Font'
  161. object WindowsFont1: TMenuItem
  162. Caption = 'Set New Font...'
  163. OnClick = WindowsFont1Click
  164. end
  165. end
  166. object miFPS: TMenuItem
  167. Caption = 'FPS'
  168. end
  169. end
  170. object FontDialog1: TFontDialog
  171. Font.Charset = DEFAULT_CHARSET
  172. Font.Color = clWindowText
  173. Font.Height = -11
  174. Font.Name = 'MS Sans Serif'
  175. Font.Style = []
  176. Left = 440
  177. Top = 16
  178. end
  179. object GLGuiLayout1: TGLGuiLayout
  180. BitmapFont = WindowsBitmapFont1
  181. Material.MaterialLibrary = GLMaterialLibrary1
  182. Material.LibMaterialName = 'Gui'
  183. GuiComponents = <
  184. item
  185. Elements = <
  186. item
  187. TopLeft.Coordinates = {00003041000082420000000000000000}
  188. BottomRight.Coordinates = {000020420000BC420000000000000000}
  189. Align = GLAlCenter
  190. Name = 'center1'
  191. end
  192. item
  193. BottomRight.Coordinates = {000088410000F0410000000000000000}
  194. Align = GLAlTopLeft
  195. Name = 'TopLeft1'
  196. end
  197. item
  198. TopLeft.Coordinates = {00008841000000000000000000000000}
  199. BottomRight.Coordinates = {0000E0420000F0410000000000000000}
  200. Align = GLAlTop
  201. Name = 'Top1'
  202. end
  203. item
  204. TopLeft.Coordinates = {000000000000F8410000000000000000}
  205. BottomRight.Coordinates = {000000410000DA420000000000000000}
  206. Align = GLAlLeft
  207. Name = 'Left1'
  208. end
  209. item
  210. TopLeft.Coordinates = {0000E042000000000000000000000000}
  211. BottomRight.Coordinates = {000000430000F0410000000000000000}
  212. Align = GLAlTopRight
  213. Name = 'TopRight1'
  214. end
  215. item
  216. TopLeft.Coordinates = {0000F0420000F0410000000000000000}
  217. BottomRight.Coordinates = {000000430000DE420000000000000000}
  218. Align = GLAlRight
  219. Name = 'Right1'
  220. end
  221. item
  222. TopLeft.Coordinates = {000000000000E2420000000000000000}
  223. BottomRight.Coordinates = {00007041000000430000000000000000}
  224. Align = GLAlBottomLeft
  225. Name = 'BottomLeft1'
  226. end
  227. item
  228. TopLeft.Coordinates = {000070410000F0420000000000000000}
  229. BottomRight.Coordinates = {0000E242000000430000000000000000}
  230. Align = GLAlBottom
  231. Name = 'Bottom1'
  232. end
  233. item
  234. TopLeft.Coordinates = {0000E2420000E2420000000000000000}
  235. BottomRight.Coordinates = {00000043000000430000000000000000}
  236. Align = GLAlBottomRight
  237. Name = 'BottomRight1'
  238. end>
  239. Name = 'form'
  240. end
  241. item
  242. Elements = <
  243. item
  244. TopLeft.Coordinates = {00003041000082420000000000000000}
  245. BottomRight.Coordinates = {000020420000BC420000000000000000}
  246. Align = GLAlCenter
  247. Name = 'center1'
  248. end
  249. item
  250. TopLeft.Coordinates = {00000041000078420000000000000000}
  251. BottomRight.Coordinates = {00005041000086420000000000000000}
  252. Align = GLAlTopLeft
  253. Name = 'TopLeft1'
  254. end
  255. item
  256. TopLeft.Coordinates = {00003041000078420000000000000000}
  257. BottomRight.Coordinates = {00002042000084420000000000000000}
  258. Align = GLAlTop
  259. Name = 'Top1'
  260. end
  261. item
  262. TopLeft.Coordinates = {00000041000082420000000000000000}
  263. BottomRight.Coordinates = {000040410000BC420000000000000000}
  264. Align = GLAlLeft
  265. Name = 'Left1'
  266. end
  267. item
  268. TopLeft.Coordinates = {00001842000078420000000000000000}
  269. BottomRight.Coordinates = {00002C42000086420000000000000000}
  270. Align = GLAlTopRight
  271. Name = 'TopRight1'
  272. end
  273. item
  274. TopLeft.Coordinates = {00001C42000082420000000000000000}
  275. BottomRight.Coordinates = {00002C420000BC420000000000000000}
  276. Align = GLAlRight
  277. Name = 'Right1'
  278. end
  279. item
  280. TopLeft.Coordinates = {000000410000B8420000000000000000}
  281. BottomRight.Coordinates = {000050410000C2420000000000000000}
  282. Align = GLAlBottomLeft
  283. Name = 'BottomLeft1'
  284. end
  285. item
  286. TopLeft.Coordinates = {000030410000BA420000000000000000}
  287. BottomRight.Coordinates = {000020420000C2420000000000000000}
  288. Align = GLAlBottom
  289. Name = 'Bottom1'
  290. end
  291. item
  292. TopLeft.Coordinates = {000018420000B8420000000000000000}
  293. BottomRight.Coordinates = {00002C420000C2420000000000000000}
  294. Align = GLAlBottomRight
  295. Name = 'BottomRight1'
  296. end>
  297. Name = 'panel'
  298. end
  299. item
  300. Elements = <
  301. item
  302. TopLeft.Coordinates = {000024420000F8410000000000000000}
  303. BottomRight.Coordinates = {00003042000010420000000000000000}
  304. Align = GLAlTopLeft
  305. Name = 'TopLeft1'
  306. end
  307. item
  308. TopLeft.Coordinates = {000030420000F8410000000000000000}
  309. BottomRight.Coordinates = {00005842000010420000000000000000}
  310. Align = GLAlTop
  311. Name = 'Top1'
  312. end
  313. item
  314. TopLeft.Coordinates = {000058420000F8410000000000000000}
  315. BottomRight.Coordinates = {00006442000010420000000000000000}
  316. Align = GLAlTopRight
  317. Name = 'TopRight1'
  318. end
  319. item
  320. TopLeft.Coordinates = {00002442000010420000000000000000}
  321. BottomRight.Coordinates = {00003042000034420000000000000000}
  322. Align = GLAlLeft
  323. Name = 'Left1'
  324. end
  325. item
  326. TopLeft.Coordinates = {00003042000010420000000000000000}
  327. BottomRight.Coordinates = {00005842000030420000000000000000}
  328. Align = GLAlCenter
  329. Name = 'Center1'
  330. end
  331. item
  332. TopLeft.Coordinates = {00005842000010420000000000000000}
  333. BottomRight.Coordinates = {00006442000030420000000000000000}
  334. Align = GLAlRight
  335. Name = 'Right1'
  336. end
  337. item
  338. TopLeft.Coordinates = {00002442000030420000000000000000}
  339. BottomRight.Coordinates = {00003042000044420000000000000000}
  340. Align = GLAlBottomLeft
  341. Name = 'BottomLeft1'
  342. end
  343. item
  344. TopLeft.Coordinates = {00003042000030420000000000000000}
  345. BottomRight.Coordinates = {00005842000044420000000000000000}
  346. Align = GLAlBottom
  347. Name = 'Bottom1'
  348. end
  349. item
  350. TopLeft.Coordinates = {00005842000030420000000000000000}
  351. BottomRight.Coordinates = {00006442000044420000000000000000}
  352. Align = GLAlBottomRight
  353. Name = 'BottomRight1'
  354. end>
  355. Name = 'button_up'
  356. end
  357. item
  358. Elements = <
  359. item
  360. TopLeft.Coordinates = {000068420000F8410000000000000000}
  361. BottomRight.Coordinates = {00007442000010420000000000000000}
  362. Align = GLAlTopLeft
  363. Name = 'TopLeft1'
  364. end
  365. item
  366. TopLeft.Coordinates = {000074420000F8410000000000000000}
  367. BottomRight.Coordinates = {00008E42000010420000000000000000}
  368. Align = GLAlTop
  369. Name = 'Top1'
  370. end
  371. item
  372. TopLeft.Coordinates = {00008E420000F8410000000000000000}
  373. BottomRight.Coordinates = {00009442000010420000000000000000}
  374. Align = GLAlTopRight
  375. Name = 'TopRight1'
  376. end
  377. item
  378. TopLeft.Coordinates = {00006842000010420000000000000000}
  379. BottomRight.Coordinates = {00007442000034420000000000000000}
  380. Align = GLAlLeft
  381. Name = 'Left1'
  382. end
  383. item
  384. TopLeft.Coordinates = {00007442000010420000000000000000}
  385. BottomRight.Coordinates = {00008E42000034420000000000000000}
  386. Align = GLAlCenter
  387. Name = 'Center1'
  388. end
  389. item
  390. TopLeft.Coordinates = {00008E42000010420000000000000000}
  391. BottomRight.Coordinates = {00009442000034420000000000000000}
  392. Align = GLAlRight
  393. Name = 'Right1'
  394. end
  395. item
  396. TopLeft.Coordinates = {00006842000034420000000000000000}
  397. BottomRight.Coordinates = {00007442000044420000000000000000}
  398. Align = GLAlBottomLeft
  399. Name = 'BottomLeft1'
  400. end
  401. item
  402. TopLeft.Coordinates = {00007442000034420000000000000000}
  403. BottomRight.Coordinates = {00008E42000044420000000000000000}
  404. Align = GLAlBottom
  405. Name = 'Bottom1'
  406. end
  407. item
  408. TopLeft.Coordinates = {00008E42000034420000000000000000}
  409. BottomRight.Coordinates = {00009442000044420000000000000000}
  410. Align = GLAlBottomRight
  411. Name = 'BottomRight1'
  412. end>
  413. Name = 'button_down'
  414. end
  415. item
  416. Elements = <
  417. item
  418. TopLeft.Coordinates = {000096420000F8410000000000000000}
  419. BottomRight.Coordinates = {00009A42000004420000000000000000}
  420. Align = GLAlTopLeft
  421. Name = 'TopLeft1'
  422. end
  423. item
  424. TopLeft.Coordinates = {00009A420000F8410000000000000000}
  425. BottomRight.Coordinates = {0000AE42000004420000000000000000}
  426. Align = GLAlTop
  427. Name = 'Top1'
  428. end
  429. item
  430. TopLeft.Coordinates = {0000AE420000F8410000000000000000}
  431. BottomRight.Coordinates = {0000B242000004420000000000000000}
  432. Align = GLAlTopRight
  433. Name = 'TopRight1'
  434. end
  435. item
  436. TopLeft.Coordinates = {00009642000004420000000000000000}
  437. BottomRight.Coordinates = {00009A4200002C420000000000000000}
  438. Align = GLAlLeft
  439. Name = 'Left1'
  440. end
  441. item
  442. TopLeft.Coordinates = {00009A42000004420000000000000000}
  443. BottomRight.Coordinates = {0000AE4200002C420000000000000000}
  444. Align = GLAlCenter
  445. Name = 'Center1'
  446. end
  447. item
  448. TopLeft.Coordinates = {0000AE42000004420000000000000000}
  449. BottomRight.Coordinates = {0000B24200002C420000000000000000}
  450. Align = GLAlRight
  451. Name = 'Right1'
  452. end
  453. item
  454. TopLeft.Coordinates = {0000964200002C420000000000000000}
  455. BottomRight.Coordinates = {00009A42000034420000000000000000}
  456. Align = GLAlBottomLeft
  457. Name = 'BottomLeft1'
  458. end
  459. item
  460. TopLeft.Coordinates = {00009A4200002C420000000000000000}
  461. BottomRight.Coordinates = {0000AE42000034420000000000000000}
  462. Align = GLAlBottom
  463. Name = 'BottomCenter1'
  464. end
  465. item
  466. TopLeft.Coordinates = {0000AE4200002C420000000000000000}
  467. BottomRight.Coordinates = {0000B242000034420000000000000000}
  468. Align = GLAlBottomRight
  469. Name = 'BottomRight1'
  470. end>
  471. Name = 'checkbox_checked'
  472. end
  473. item
  474. Elements = <
  475. item
  476. TopLeft.Coordinates = {0000964200003C420000000000000000}
  477. BottomRight.Coordinates = {00009A42000044420000000000000000}
  478. Align = GLAlTopLeft
  479. Name = 'TopLeft1'
  480. end
  481. item
  482. TopLeft.Coordinates = {00009A4200003C420000000000000000}
  483. BottomRight.Coordinates = {0000AE42000044420000000000000000}
  484. Align = GLAlTop
  485. Name = 'Top1'
  486. end
  487. item
  488. TopLeft.Coordinates = {0000AE4200003C420000000000000000}
  489. BottomRight.Coordinates = {0000B242000044420000000000000000}
  490. Align = GLAlTopRight
  491. Name = 'TopRight1'
  492. end
  493. item
  494. TopLeft.Coordinates = {00009642000044420000000000000000}
  495. BottomRight.Coordinates = {00009A4200006C420000000000000000}
  496. Align = GLAlLeft
  497. Name = 'Left1'
  498. end
  499. item
  500. TopLeft.Coordinates = {00009A42000044420000000000000000}
  501. BottomRight.Coordinates = {0000AE4200006C420000000000000000}
  502. Align = GLAlCenter
  503. Name = 'Center1'
  504. end
  505. item
  506. TopLeft.Coordinates = {0000AE42000044420000000000000000}
  507. BottomRight.Coordinates = {0000B24200006C420000000000000000}
  508. Align = GLAlRight
  509. Name = 'Right1'
  510. end
  511. item
  512. TopLeft.Coordinates = {0000964200006C420000000000000000}
  513. BottomRight.Coordinates = {00009A42000074420000000000000000}
  514. Align = GLAlBottomLeft
  515. Name = 'BottomLeft1'
  516. end
  517. item
  518. TopLeft.Coordinates = {00009A4200006C420000000000000000}
  519. BottomRight.Coordinates = {0000AE42000074420000000000000000}
  520. Align = GLAlBottom
  521. Name = 'BottomCenter1'
  522. end
  523. item
  524. TopLeft.Coordinates = {0000AE4200006C420000000000000000}
  525. BottomRight.Coordinates = {0000B242000074420000000000000000}
  526. Align = GLAlBottomRight
  527. Name = 'BottomRight1'
  528. end>
  529. Name = 'checkbox_unchecked'
  530. end
  531. item
  532. Elements = <
  533. item
  534. TopLeft.Coordinates = {0000B44200003C420000000000000000}
  535. BottomRight.Coordinates = {0000B842000044420000000000000000}
  536. Align = GLAlTopLeft
  537. Name = 'TopLeft1'
  538. end
  539. item
  540. TopLeft.Coordinates = {0000B84200003C420000000000000000}
  541. BottomRight.Coordinates = {0000CC42000044420000000000000000}
  542. Align = GLAlTop
  543. Name = 'Top1'
  544. end
  545. item
  546. TopLeft.Coordinates = {0000CC4200003C420000000000000000}
  547. BottomRight.Coordinates = {0000D042000044420000000000000000}
  548. Align = GLAlTopRight
  549. Name = 'TopRight1'
  550. end
  551. item
  552. TopLeft.Coordinates = {0000B442000044420000000000000000}
  553. BottomRight.Coordinates = {0000B84200006C420000000000000000}
  554. Align = GLAlLeft
  555. Name = 'Left1'
  556. end
  557. item
  558. TopLeft.Coordinates = {0000B842000044420000000000000000}
  559. BottomRight.Coordinates = {0000CC4200006C420000000000000000}
  560. Align = GLAlCenter
  561. Name = 'Center1'
  562. end
  563. item
  564. TopLeft.Coordinates = {0000CC42000044420000000000000000}
  565. BottomRight.Coordinates = {0000D04200006C420000000000000000}
  566. Align = GLAlRight
  567. Name = 'Right1'
  568. end
  569. item
  570. TopLeft.Coordinates = {0000B44200006C420000000000000000}
  571. BottomRight.Coordinates = {0000B842000074420000000000000000}
  572. Align = GLAlBottomLeft
  573. Name = 'BottomLeft1'
  574. end
  575. item
  576. TopLeft.Coordinates = {0000B84200006C420000000000000000}
  577. BottomRight.Coordinates = {0000CC42000074420000000000000000}
  578. Align = GLAlBottom
  579. Name = 'BottomCenter1'
  580. end
  581. item
  582. TopLeft.Coordinates = {0000CC4200006C420000000000000000}
  583. BottomRight.Coordinates = {0000D042000074420000000000000000}
  584. Align = GLAlBottomRight
  585. Name = 'BottomRight1'
  586. end>
  587. Name = 'edit'
  588. end>
  589. FileName = 'Default.layout'
  590. Left = 280
  591. Top = 16
  592. end
  593. object GLMaterialLibrary1: TGLMaterialLibrary
  594. Materials = <
  595. item
  596. Name = 'Gui'
  597. Tag = 0
  598. Material.Texture.ImageClassName = 'TGLPicFileImage'
  599. Material.Texture.Image.PictureFileName = 'DefaultSkin.bmp'
  600. Material.Texture.ImageAlpha = tiaOpaque
  601. Material.Texture.Disabled = False
  602. end>
  603. TexturePaths = '..\\..\\..\\..\\media\\'
  604. Left = 120
  605. Top = 16
  606. end
  607. end