menu.theme 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. theme menuTheme
  2. {
  3. texture = res/menuAtlas.png
  4. imageList normalImages
  5. {
  6. color = #4A8799ff
  7. image unchecked
  8. {
  9. region = 78, 1, 46, 46
  10. }
  11. image checked
  12. {
  13. region = 78, 46, 46, 46
  14. }
  15. image unselected
  16. {
  17. region = 127, 1, 46, 46
  18. }
  19. image selected
  20. {
  21. region = 127, 46, 46, 46
  22. }
  23. image minCap
  24. {
  25. region = 3, 99, 8, 24
  26. }
  27. image maxCap
  28. {
  29. region = 3, 99, 8, 24
  30. }
  31. image marker
  32. {
  33. region = 16, 113, 18, 18
  34. }
  35. image track
  36. {
  37. region = 39, 119, 32, 6
  38. }
  39. image textCaret
  40. {
  41. region = 5, 149, 11, 25
  42. color = #C3D9BFff
  43. }
  44. image scrollBarTopCap
  45. {
  46. region = 0, 99, 12, 5
  47. }
  48. image verticalScrollBar
  49. {
  50. region = 0, 104, 12, 19
  51. }
  52. image scrollBarBottomCap
  53. {
  54. region = 0, 138, 12, 5
  55. }
  56. image scrollBarLeftCap
  57. {
  58. region = 35, 115, 5, 12
  59. }
  60. image horizontalScrollBar
  61. {
  62. region = 43, 115, 19, 12
  63. }
  64. image scrollBarRightCap
  65. {
  66. region = 65, 115, 5, 12
  67. }
  68. }
  69. imageList activeImages : normalImages
  70. {
  71. color = #C3D9BFff
  72. image unchecked
  73. {
  74. region = 78, 91, 46, 46
  75. }
  76. image checked
  77. {
  78. region = 78, 91, 46, 46
  79. }
  80. image unselected
  81. {
  82. region = 127, 91, 46, 46
  83. }
  84. image selected
  85. {
  86. region = 127, 91, 46, 46
  87. }
  88. }
  89. skin mainNormal
  90. {
  91. border
  92. {
  93. left = 10
  94. right = 10
  95. top = 10
  96. bottom = 10
  97. }
  98. region = 1, 1, 74, 74
  99. color = #4A8799ff
  100. }
  101. skin mainActive : mainNormal
  102. {
  103. color = #C3D9BFff
  104. }
  105. skin empty
  106. {
  107. region = 0, 0, 1, 1
  108. }
  109. style background
  110. {
  111. stateNormal
  112. {
  113. }
  114. }
  115. style basic
  116. {
  117. stateNormal
  118. {
  119. skin = mainNormal
  120. imageList = normalImages
  121. font = res/airstrip.gpb
  122. textColor = #ffffffff
  123. fontSize = 15
  124. textAlignment = ALIGN_VCENTER_HCENTER
  125. }
  126. stateActive
  127. {
  128. imageList = activeImages
  129. }
  130. }
  131. style buttonStyle : basic
  132. {
  133. padding
  134. {
  135. top = -10
  136. bottom = -10
  137. }
  138. stateNormal
  139. {
  140. font = res/airstrip.gpb
  141. fontSize = 30
  142. }
  143. stateActive
  144. {
  145. skin = mainActive
  146. }
  147. }
  148. style noBorder
  149. {
  150. stateNormal
  151. {
  152. imageList = normalImages
  153. font = res/airstrip.gpb
  154. textColor = #ffffffff
  155. fontSize = 15
  156. textAlignment = ALIGN_VCENTER_HCENTER
  157. }
  158. stateActive
  159. {
  160. imageList = activeImages
  161. textAlignment = ALIGN_VCENTER_HCENTER
  162. }
  163. }
  164. style iconNoBorder : noBorder
  165. {
  166. stateNormal
  167. {
  168. fontSize = 20
  169. textAlignment = ALIGN_VCENTER_LEFT
  170. }
  171. stateActive
  172. {
  173. fontSize = 20
  174. textAlignment = ALIGN_VCENTER_LEFT
  175. }
  176. }
  177. style title
  178. {
  179. padding
  180. {
  181. left = -5
  182. right = -5
  183. }
  184. stateNormal
  185. {
  186. skin = empty
  187. textColor = #ffffffff
  188. font = res/airstrip.gpb
  189. fontSize = 25
  190. textAlignment = ALIGN_TOP_HCENTER
  191. }
  192. stateActive
  193. {
  194. textColor = #C3D9BFff
  195. }
  196. }
  197. }