fGuiDemoC.dfm 20 KB

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