default.theme 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. theme mainMenu
  2. {
  3. texture = res/png/default-theme.png
  4. imageList normalImages
  5. {
  6. color = #ffffffff
  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, 115, 8, 11
  26. }
  27. image maxCap
  28. {
  29. region = 3, 115, 8, 11
  30. }
  31. image marker
  32. {
  33. region = 16, 113, 18, 18
  34. }
  35. image track
  36. {
  37. region = 42, 119, 26, 6
  38. }
  39. image textCaret
  40. {
  41. region = 5, 149, 11, 25
  42. }
  43. image scrollBarTopCap
  44. {
  45. //region = 0, 99, 12, 5
  46. region = 0, 43, 17, 10
  47. }
  48. image verticalScrollBar
  49. {
  50. //region = 0, 104, 12, 19
  51. region = 0, 53, 17, 16
  52. }
  53. image scrollBarBottomCap
  54. {
  55. //region = 0, 138, 12, 5
  56. region = 0, 69, 17, 10
  57. }
  58. image scrollBarLeftCap
  59. {
  60. region = 35, 115, 5, 12
  61. }
  62. image horizontalScrollBar
  63. {
  64. region = 43, 115, 19, 12
  65. }
  66. image scrollBarRightCap
  67. {
  68. region = 65, 115, 5, 12
  69. }
  70. }
  71. imageList activeImages : normalImages
  72. {
  73. color = #ffffffff
  74. image unchecked
  75. {
  76. region = 78, 91, 46, 46
  77. }
  78. image checked
  79. {
  80. region = 78, 91, 46, 46
  81. }
  82. image unselected
  83. {
  84. region = 127, 91, 46, 46
  85. }
  86. image selected
  87. {
  88. region = 127, 91, 46, 46
  89. }
  90. }
  91. style Container
  92. {
  93. stateNormal
  94. {
  95. imageList = normalImages
  96. }
  97. }
  98. skin FormNormal
  99. {
  100. border
  101. {
  102. left = 10
  103. right = 10
  104. top = 10
  105. bottom = 10
  106. }
  107. region = 1, 1, 40, 40
  108. color = #ffffffff
  109. }
  110. style Form
  111. {
  112. stateNormal
  113. {
  114. skin = FormNormal
  115. imageList = normalImages
  116. font = res/common/arial.gpb
  117. }
  118. }
  119. style Label
  120. {
  121. stateNormal
  122. {
  123. //textColor = #ccccccff
  124. textColor = #ffffffff
  125. font = res/common/arial.gpb
  126. fontSize = 16
  127. textAlignment = ALIGN_VCENTER_LEFT
  128. imageList = normalImages
  129. }
  130. }
  131. skin ButtonNormal
  132. {
  133. border
  134. {
  135. left = 10
  136. right = 10
  137. top = 10
  138. bottom = 10
  139. }
  140. region = 176, 0, 48, 47
  141. color = #ffffffff
  142. }
  143. skin ButtonActive
  144. {
  145. border
  146. {
  147. left = 10
  148. right = 10
  149. top = 10
  150. bottom = 10
  151. }
  152. region = 176, 47, 48, 47
  153. color = #ffffffff
  154. }
  155. style Button : Label
  156. {
  157. stateNormal
  158. {
  159. skin = ButtonNormal
  160. textAlignment = ALIGN_VCENTER_HCENTER
  161. }
  162. stateActive
  163. {
  164. skin = ButtonActive
  165. textColor = #ffffffff
  166. imageList = activeImages
  167. }
  168. stateDisabled
  169. {
  170. opacity = 0.6
  171. }
  172. }
  173. skin mainNormal
  174. {
  175. border
  176. {
  177. left = 10
  178. right = 10
  179. top = 10
  180. bottom = 10
  181. }
  182. region = 1, 1, 74, 74
  183. color = #ffffffff
  184. }
  185. skin mainActive : mainNormal
  186. {
  187. color = #ffffffff
  188. }
  189. skin mainFocus : mainNormal
  190. {
  191. color = #ffffffff
  192. }
  193. skin formEntry : mainNormal
  194. {
  195. region = 78, 1, 46, 46
  196. color = #ffffffff
  197. }
  198. skin formFocus : formEntry
  199. {
  200. color = #ffffffff
  201. }
  202. skin underliner
  203. {
  204. border
  205. {
  206. bottom = 10
  207. }
  208. region = 4, 82, 68, 5
  209. color = #ffffffff
  210. }
  211. skin plusNormal
  212. {
  213. region = 81, 139, 40, 40
  214. color = #ffffffff
  215. }
  216. skin plusActive : plusNormal
  217. {
  218. color = #ffffffff
  219. }
  220. skin minusNormal
  221. {
  222. region = 81, 184, 40, 40
  223. color = #ffffffff
  224. }
  225. skin minusActive : minusNormal
  226. {
  227. color = #ffffffff
  228. }
  229. style plus
  230. {
  231. stateNormal
  232. {
  233. skin = plusNormal
  234. }
  235. stateActive
  236. {
  237. skin = plusActive
  238. }
  239. }
  240. style minus
  241. {
  242. stateNormal
  243. {
  244. skin = minusNormal
  245. }
  246. stateActive
  247. {
  248. skin = minusActive
  249. }
  250. }
  251. style underlined
  252. {
  253. padding
  254. {
  255. top = 5
  256. }
  257. stateNormal
  258. {
  259. skin = underliner
  260. textColor = #ffffffff
  261. font = res/common/arial.gpb
  262. fontSize = 24
  263. textAlignment = ALIGN_BOTTOM_HCENTER
  264. }
  265. }
  266. style leftAlignedUnderlined : underlined
  267. {
  268. stateNormal
  269. {
  270. textAlignment = ALIGN_TOP_LEFT
  271. }
  272. }
  273. style basicContainer
  274. {
  275. stateNormal
  276. {
  277. skin = mainNormal
  278. imageList = normalImages
  279. font = res/common/arial.gpb
  280. textColor = #ffffffff
  281. fontSize = 18
  282. textAlignment = ALIGN_VCENTER_HCENTER
  283. }
  284. stateFocus
  285. {
  286. skin = mainFocus
  287. }
  288. stateDisabled
  289. {
  290. opacity = 0.6
  291. }
  292. }
  293. style basic : basicContainer
  294. {
  295. stateActive
  296. {
  297. imageList = activeImages
  298. }
  299. stateFocus
  300. {
  301. skin = mainNormal
  302. textColor = #ffffffff
  303. }
  304. }
  305. style topLeftAlignedEntry : basic
  306. {
  307. stateNormal
  308. {
  309. skin = formEntry
  310. textAlignment = ALIGN_TOP_LEFT
  311. }
  312. stateFocus
  313. {
  314. skin = formFocus
  315. }
  316. }
  317. style buttonStyle : basic
  318. {
  319. padding
  320. {
  321. top = -10
  322. bottom = -10
  323. }
  324. stateNormal
  325. {
  326. font = res/common/arial.gpb
  327. fontSize = 20
  328. }
  329. stateActive
  330. {
  331. skin = mainActive
  332. }
  333. }
  334. style buttonHover : buttonStyle
  335. {
  336. stateHover
  337. {
  338. textColor = #ffffffff
  339. }
  340. }
  341. style noBorder
  342. {
  343. stateNormal
  344. {
  345. imageList = normalImages
  346. font = res/common/arial.gpb
  347. textColor = #ffffffff
  348. fontSize = 14
  349. textAlignment = ALIGN_VCENTER_HCENTER
  350. }
  351. stateFocus
  352. {
  353. textColor = #ffffffff
  354. }
  355. stateActive
  356. {
  357. imageList = activeImages
  358. textAlignment = ALIGN_VCENTER_HCENTER
  359. }
  360. }
  361. style iconNoBorder : noBorder
  362. {
  363. stateNormal
  364. {
  365. font = res/common/arial.gpb
  366. fontSize = 20
  367. textAlignment = ALIGN_VCENTER_LEFT
  368. }
  369. stateFocus
  370. {
  371. textAlignment = ALIGN_VCENTER_LEFT
  372. }
  373. stateActive
  374. {
  375. font = res/common/arial.gpb
  376. fontSize = 20
  377. textAlignment = ALIGN_VCENTER_LEFT
  378. }
  379. }
  380. style topLeftNoBorder : iconNoBorder
  381. {
  382. stateNormal
  383. {
  384. textAlignment = ALIGN_TOP_LEFT
  385. }
  386. stateActive
  387. {
  388. textAlignment = ALIGN_TOP_LEFT
  389. }
  390. stateFocus
  391. {
  392. textAlignment = ALIGN_TOP_LEFT
  393. }
  394. stateHover
  395. {
  396. textAlignment = ALIGN_TOP_LEFT
  397. }
  398. }
  399. style title
  400. {
  401. stateNormal
  402. {
  403. textColor = #ffffffff
  404. font = res/common/arial.gpb
  405. fontSize = 26
  406. textAlignment = ALIGN_BOTTOM_HCENTER
  407. }
  408. stateActive
  409. {
  410. textColor = #ffffffff
  411. }
  412. }
  413. style CheckBox : iconNoBorder
  414. {
  415. }
  416. style RadioButton : iconNoBorder
  417. {
  418. }
  419. style Slider : topLeftNoBorder
  420. {
  421. }
  422. style TextBox : topLeftAlignedEntry
  423. {
  424. }
  425. style Image
  426. {
  427. }
  428. }