Advertisement
Guest User

Untitled

a guest
Nov 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.31 KB | None | 0 0
  1. import uiScriptLocale
  2.  
  3. window = {
  4. "name" : "ItemShopDialog",
  5. "style" : ("movable", "float",),
  6.  
  7. "x" : 0,
  8. "y" : 0,
  9.  
  10. "width" : 674,
  11. "height" : 453,
  12.  
  13. "children" :
  14. (
  15. {
  16. "name" : "Board",
  17. "type" : "board_with_titlebar",
  18. "style" : ("attach",),
  19.  
  20. "x" : 0,
  21. "y" : 0,
  22.  
  23. "width" : 674,
  24. "height" : 453,
  25. "title" : uiScriptLocale.ITEMSHOP_TITLE,
  26. "children" :
  27. (
  28. {
  29. "name": "categories_board",
  30. "type": "board",
  31.  
  32. "x": 9,
  33. "y" : 31,
  34.  
  35. "width" : 170,
  36. "height" : 413,
  37.  
  38. "children" : (
  39. {
  40. "name": "category_button_01",
  41. "type": "radio_button",
  42.  
  43. "x": 11,
  44. "y": 9,
  45.  
  46. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  47. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  48. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  49.  
  50. "text": "",
  51. },
  52. {
  53. "name": "category_button_02",
  54. "type": "radio_button",
  55.  
  56. "x": 11,
  57. "y": 9 + 28 * 1,
  58.  
  59. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  60. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  61. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  62.  
  63. "text": "",
  64. },
  65. {
  66. "name": "category_button_03",
  67. "type": "radio_button",
  68.  
  69. "x": 11,
  70. "y": 9 + 28 * 2,
  71.  
  72. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  73. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  74. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  75.  
  76. "text": "",
  77. },
  78. {
  79. "name": "category_button_04",
  80. "type": "radio_button",
  81.  
  82. "x": 11,
  83. "y": 9 + 28 * 3,
  84.  
  85. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  86. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  87. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  88.  
  89. "text": "",
  90. },
  91. {
  92. "name": "category_button_05",
  93. "type": "radio_button",
  94.  
  95. "x": 11,
  96. "y": 9 + 28 * 4,
  97.  
  98. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  99. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  100. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  101.  
  102. "text": "",
  103. },
  104. {
  105. "name": "category_button_06",
  106. "type": "radio_button",
  107.  
  108. "x": 11,
  109. "y": 9 + 28 * 5,
  110.  
  111. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  112. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  113. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  114.  
  115. "text": "",
  116. },
  117. {
  118. "name": "category_button_07",
  119. "type": "radio_button",
  120.  
  121. "x": 11,
  122. "y": 9 + 28 * 6,
  123.  
  124. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  125. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  126. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  127.  
  128. "text": "",
  129. },
  130. {
  131. "name": "category_button_08",
  132. "type": "radio_button",
  133.  
  134. "x": 11,
  135. "y": 9 + 28 * 7,
  136.  
  137. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  138. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  139. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  140.  
  141. "text": "",
  142. },
  143. {
  144. "name": "category_button_09",
  145. "type": "radio_button",
  146.  
  147. "x": 11,
  148. "y": 9 + 28 * 8,
  149.  
  150. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  151. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  152. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  153.  
  154. "text": "",
  155. },
  156. {
  157. "name": "category_button_10",
  158. "type": "radio_button",
  159.  
  160. "x": 11,
  161. "y": 9 + 28 * 9,
  162.  
  163. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  164. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  165. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  166.  
  167. "text": "",
  168. },
  169. {
  170. "name": "category_button_11",
  171. "type": "radio_button",
  172.  
  173. "x": 11,
  174. "y": 9 + 28 * 10,
  175.  
  176. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  177. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  178. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  179.  
  180. "text": "",
  181. },
  182. {
  183. "name": "category_button_12",
  184. "type": "radio_button",
  185.  
  186. "x": 11,
  187. "y": 9 + 28 * 11,
  188.  
  189. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  190. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  191. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  192.  
  193. "text": "",
  194. },
  195. {
  196. "name": "category_button_13",
  197. "type": "radio_button",
  198.  
  199. "x": 11,
  200. "y": 9 + 28 * 12,
  201.  
  202. "default_image": "d:/ymir work/ui/game/myshop_deco/select_btn_01.sub",
  203. "over_image": "d:/ymir work/ui/game/myshop_deco/select_btn_02.sub",
  204. "down_image": "d:/ymir work/ui/game/myshop_deco/select_btn_03.sub",
  205.  
  206. "text": "",
  207. },
  208. {
  209. "name": "money_thin",
  210. "type": "thinboardcircle",
  211.  
  212. "x": 30-9,
  213. "y" : 430-31-24,
  214.  
  215. "width" : 128,
  216. "height" : 24,
  217.  
  218. "children" : (
  219. {
  220. "name" : "money_slot",
  221. "type" : "bar",
  222.  
  223. "x" : 4,
  224. "y" : 4,
  225.  
  226. "width" : 120,
  227. "height" : 16,
  228.  
  229. "color" : 0xFF000000,
  230.  
  231. "children" : (
  232. {
  233. "name" : "money_value",
  234. "type" : "text",
  235.  
  236. "x" : 0,
  237. "y" : 0,
  238.  
  239. "all_align" : "center",
  240.  
  241. "text" : ""
  242. },
  243. ),
  244. },
  245. ),
  246. },
  247. ),
  248. },
  249.  
  250. {
  251. "name": "items_board",
  252. "type": "board",
  253.  
  254. "x": 185,
  255. "y" : 31,
  256.  
  257. "width" : 480,
  258. "height" : 413,
  259.  
  260. },
  261. ),
  262. },
  263. ),
  264. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement