menu.theme 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. theme menuTheme
  2. {
  3. texture = res/common/menu.png
  4. imageList normalImages
  5. {
  6. color = #848482ff
  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, 19, 5
  47. }
  48. image verticalScrollBar
  49. {
  50. region = 0, 104, 19, 19
  51. }
  52. image scrollBarBottomCap
  53. {
  54. region = 0, 138, 19, 5
  55. }
  56. }
  57. imageList activeImages : normalImages
  58. {
  59. color = #91A3B0ff
  60. image unchecked
  61. {
  62. region = 78, 91, 46, 46
  63. }
  64. image checked
  65. {
  66. region = 78, 91, 46, 46
  67. }
  68. image unselected
  69. {
  70. region = 127, 91, 46, 46
  71. }
  72. image selected
  73. {
  74. region = 127, 91, 46, 46
  75. }
  76. }
  77. skin mainNormal
  78. {
  79. border
  80. {
  81. left = 10
  82. right = 10
  83. top = 10
  84. bottom = 10
  85. }
  86. region = 1, 1, 74, 74
  87. color = #848482ff
  88. }
  89. skin mainActive : mainNormal
  90. {
  91. color = #91A3B0ff
  92. }
  93. style basic
  94. {
  95. stateNormal
  96. {
  97. skin = mainNormal
  98. imageList = normalImages
  99. font = res/common/arial40.gpb
  100. textColor = #ffffffff
  101. fontSize = 18
  102. textAlignment = ALIGN_VCENTER_HCENTER
  103. }
  104. stateActive
  105. {
  106. imageList = activeImages
  107. }
  108. }
  109. style buttonStyle : basic
  110. {
  111. padding
  112. {
  113. top = -10
  114. bottom = -10
  115. }
  116. stateNormal
  117. {
  118. font = res/common/arial40.gpb
  119. fontSize = 20
  120. }
  121. stateFocus
  122. {
  123. textColor = #ff0000ff
  124. }
  125. stateActive
  126. {
  127. skin = mainActive
  128. }
  129. }
  130. style noBorder
  131. {
  132. stateNormal
  133. {
  134. imageList = normalImages
  135. font = res/common/arial40.gpb
  136. textColor = #ffffffff
  137. fontSize = 14
  138. textAlignment = ALIGN_VCENTER_HCENTER
  139. }
  140. stateFocus
  141. {
  142. textColor = #ff0000ff
  143. }
  144. stateActive
  145. {
  146. imageList = activeImages
  147. textAlignment = ALIGN_VCENTER_HCENTER
  148. }
  149. }
  150. style iconNoBorder : noBorder
  151. {
  152. stateNormal
  153. {
  154. font = res/common/arial40.gpb
  155. fontSize = 20
  156. textAlignment = ALIGN_VCENTER_LEFT
  157. }
  158. stateActive
  159. {
  160. font = res/common/arial40.gpb
  161. fontSize = 20
  162. textAlignment = ALIGN_VCENTER_LEFT
  163. }
  164. }
  165. style title
  166. {
  167. stateNormal
  168. {
  169. textColor = #ffffffff
  170. font = res/common/arial40.gpb
  171. fontSize = 26
  172. textAlignment = ALIGN_TOP_HCENTER
  173. }
  174. stateActive
  175. {
  176. textColor = #C3D9BFff
  177. }
  178. }
  179. }