terrain.form 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. form terrainForm
  2. {
  3. style = Empty
  4. size = 100%, 100%
  5. consumeInputEvents = false
  6. padding
  7. {
  8. left = 5
  9. top = 5
  10. right = 50
  11. bottom = 5
  12. }
  13. container main
  14. {
  15. style = Form
  16. width = 230
  17. height = 310
  18. consumeInputEvents = false
  19. padding
  20. {
  21. top = -5
  22. left = -5
  23. }
  24. label plusButton
  25. {
  26. x = 12
  27. visible = false
  28. text = +
  29. fontSize = 44
  30. }
  31. label minusButton : plusButton
  32. {
  33. visible = true
  34. text = -
  35. }
  36. container settings
  37. {
  38. consumeInputEvents = false
  39. checkbox wireframe
  40. {
  41. position = 10, 50
  42. text = Wireframe (1)
  43. textAlignment = ALIGN_VCENTER_LEFT
  44. fontSize = 16
  45. checked = false
  46. }
  47. checkbox patches : wireframe
  48. {
  49. position = 10, 90
  50. text = Debug Patches (2)
  51. checked = false
  52. }
  53. checkbox physics : wireframe
  54. {
  55. position = 10, 130
  56. text = Debug Physics (3)
  57. checked = false
  58. }
  59. checkbox lod : wireframe
  60. {
  61. position = 10, 170
  62. text = Level of Detail (4)
  63. checked = true
  64. }
  65. checkbox culling : wireframe
  66. {
  67. position = 10, 210
  68. text = Frustum Culling (5)
  69. checked = true
  70. }
  71. checkbox snapToGround : wireframe
  72. {
  73. position = 10, 250
  74. text = Snap To Ground (6)
  75. checked = true
  76. }
  77. }
  78. }
  79. container physicsSettings
  80. {
  81. style = Form
  82. position = 0, 310
  83. width = 230
  84. layout = LAYOUT_VERTICAL
  85. consumeInputEvents = false
  86. padding
  87. {
  88. top = 5
  89. left = 5
  90. right = 5
  91. bottom = 5
  92. }
  93. button dropSphere
  94. {
  95. width = 100%
  96. text = Drop Sphere
  97. }
  98. button dropBox : dropSphere
  99. {
  100. text = Drop Box
  101. }
  102. button clearAll : dropSphere
  103. {
  104. text = Remove All
  105. }
  106. }
  107. container messageBox
  108. {
  109. style = Form
  110. alignment = ALIGN_VCENTER_HCENTER
  111. width = 500
  112. height = 50
  113. consumeInputEvents = false
  114. visible = false
  115. label message
  116. {
  117. consumeInputEvents = false
  118. size = 100%, 100%
  119. font = res/ui/arial.gpb
  120. fontSize = 24
  121. textAlignment = ALIGN_VCENTER_HCENTER
  122. }
  123. }
  124. }