light.form 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. form formLightSelect
  2. {
  3. theme = res/common/default.theme
  4. layout = LAYOUT_HORIZONTAL
  5. style = noBorder
  6. alignment = ALIGN_TOP_HCENTER
  7. autoWidth = true
  8. autoHeight = true
  9. container lightingType
  10. {
  11. style = basic
  12. layout = LAYOUT_VERTICAL
  13. position = 0, 20
  14. size = 230, 210
  15. label
  16. {
  17. style = iconNoBorder
  18. size = 210, 20
  19. textAlignment = ALIGN_TOP_HCENTER
  20. text = Type
  21. }
  22. radioButton noLighting
  23. {
  24. style = iconNoBorder
  25. imageSize = 35, 35
  26. size = 200, 40
  27. text = No Light
  28. value = true
  29. }
  30. radioButton directional
  31. {
  32. style = iconNoBorder
  33. imageSize = 35, 35
  34. size = 200, 40
  35. text = Directional Light
  36. value = false
  37. }
  38. radioButton spot
  39. {
  40. style = iconNoBorder
  41. imageSize = 35, 35
  42. size = 200, 40
  43. text = Spot Light
  44. value = false
  45. }
  46. radioButton point
  47. {
  48. style = iconNoBorder
  49. imageSize = 35, 35
  50. size = 200, 40
  51. text = Point Light
  52. value = false
  53. }
  54. }
  55. container lightProperties
  56. {
  57. style = basic
  58. layout = LAYOUT_VERTICAL
  59. position = 0, 230
  60. size = 230, 380
  61. label
  62. {
  63. style = iconNoBorder
  64. size = 210, 20
  65. textAlignment = ALIGN_TOP_HCENTER
  66. text = Properties
  67. }
  68. slider redSlider
  69. {
  70. style = iconNoBorder
  71. size = 210, 60
  72. orientation = HORIZONTAL
  73. textAlignment = ALIGN_LEFT
  74. min = 0
  75. max = 1
  76. value = 1.0
  77. text = Red
  78. }
  79. slider greenSlider
  80. {
  81. style = iconNoBorder
  82. size = 210, 60
  83. orientation = HORIZONTAL
  84. textAlignment = ALIGN_LEFT
  85. min = 0
  86. max = 1
  87. value = 1.0
  88. text = Green
  89. }
  90. slider blueSlider
  91. {
  92. style = iconNoBorder
  93. size = 210, 60
  94. orientation = HORIZONTAL
  95. textAlignment = ALIGN_LEFT
  96. min = 0
  97. max = 1
  98. value = 1.0
  99. text = Blue
  100. }
  101. slider specularSlider
  102. {
  103. style = iconNoBorder
  104. size = 210, 60
  105. orientation = HORIZONTAL
  106. textAlignment = ALIGN_LEFT
  107. min = 1
  108. max = 500
  109. value = 1
  110. text = Specular
  111. }
  112. checkbox specularCheckBox
  113. {
  114. style = iconNoBorder
  115. imageSize = 35, 35
  116. size = 200, 40
  117. text = Enable Specular
  118. value = false
  119. }
  120. checkbox bumpedCheckBox
  121. {
  122. style = iconNoBorder
  123. imageSize = 35, 35
  124. size = 200, 40
  125. text = Enable BumpMapping
  126. value = false
  127. }
  128. }
  129. }