kingMistic

Untitled

Jan 17th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. import uiScriptLocale
  2.  
  3. ROOT = "d:/ymir work/ui/public/"
  4.  
  5. window = {
  6. "name" : "SystemDialog",
  7. "style" : ("float",),
  8.  
  9. "x" : (SCREEN_WIDTH - 200) /2,
  10. "y" : (SCREEN_HEIGHT - 288) /2,
  11.  
  12. "width" : 200,
  13. "height" : 288+30,
  14.  
  15. "children" :
  16. (
  17. {
  18. "name" : "board",
  19. "type" : "thinboard",
  20.  
  21. "x" : 0,
  22. "y" : 0,
  23.  
  24. "width" : 200,
  25. "height" : 288+30,
  26.  
  27. "children" :
  28. (
  29. {
  30. "name" : "help_button",
  31. "type" : "button",
  32.  
  33. "x" : 10,
  34. "y" : 17,
  35.  
  36. "text" : uiScriptLocale.SYSTEM_HELP,
  37.  
  38. "default_image" : ROOT + "XLarge_Button_01.sub",
  39. "over_image" : ROOT + "XLarge_Button_02.sub",
  40. "down_image" : ROOT + "XLarge_Button_03.sub",
  41. },
  42. {
  43. "name" : "additional_option_button",
  44. "type" : "button",
  45.  
  46. "x" : 10,
  47. "y" : 57,
  48.  
  49. "text" : uiScriptLocale.SYSTEM_OPTION_ADDITIONAL,
  50. #"text_color" : 0xffF8BF24,
  51.  
  52. "default_image" : ROOT + "XLarge_Button_01.sub",
  53. "over_image" : ROOT + "XLarge_Button_02.sub",
  54. "down_image" : ROOT + "XLarge_Button_03.sub",
  55. },
  56.  
  57. {
  58. "name" : "system_option_button",
  59. "type" : "button",
  60.  
  61. "x" : 10,
  62. "y" : 87,
  63.  
  64. "text" : uiScriptLocale.SYSTEMOPTION_TITLE,
  65.  
  66. "default_image" : ROOT + "XLarge_Button_01.sub",
  67. "over_image" : ROOT + "XLarge_Button_02.sub",
  68. "down_image" : ROOT + "XLarge_Button_03.sub",
  69. },
  70. {
  71. "name" : "game_option_button",
  72. "type" : "button",
  73.  
  74. "x" : 10,
  75. "y" : 117,
  76.  
  77. "text" : uiScriptLocale.GAMEOPTION_TITLE,
  78.  
  79. "default_image" : ROOT + "XLarge_Button_01.sub",
  80. "over_image" : ROOT + "XLarge_Button_02.sub",
  81. "down_image" : ROOT + "XLarge_Button_03.sub",
  82. },
  83. {
  84. "name" : "change_button",
  85. "type" : "button",
  86.  
  87. "x" : 10,
  88. "y" : 147,
  89.  
  90. "text" : uiScriptLocale.SYSTEM_CHANGE,
  91.  
  92. "default_image" : ROOT + "XLarge_Button_01.sub",
  93. "over_image" : ROOT + "XLarge_Button_02.sub",
  94. "down_image" : ROOT + "XLarge_Button_03.sub",
  95. },
  96. {
  97. "name" : "logout_button",
  98. "type" : "button",
  99.  
  100. "x" : 10,
  101. "y" : 177,
  102.  
  103. "text" : uiScriptLocale.SYSTEM_LOGOUT,
  104.  
  105. "default_image" : ROOT + "XLarge_Button_01.sub",
  106. "over_image" : ROOT + "XLarge_Button_02.sub",
  107. "down_image" : ROOT + "XLarge_Button_03.sub",
  108. },
  109. {
  110. "name" : "exit_button",
  111. "type" : "button",
  112.  
  113. "x" : 10,
  114. "y" : 217,
  115.  
  116. "text" : uiScriptLocale.SYSTEM_EXIT,
  117.  
  118. "default_image" : ROOT + "XLarge_Button_01.sub",
  119. "over_image" : ROOT + "XLarge_Button_02.sub",
  120. "down_image" : ROOT + "XLarge_Button_03.sub",
  121. },
  122. {
  123. "name" : "arayuz_button",
  124. "type" : "button",
  125.  
  126. "x" : 10,
  127. "y" : 250+30,
  128.  
  129. "text" : "Sistem Culori",
  130. "text_color" : 0xffF8BF24,
  131.  
  132. "default_image" : ROOT + "XLarge_Button_01.sub",
  133. "over_image" : ROOT + "XLarge_Button_02.sub",
  134. "down_image" : ROOT + "XLarge_Button_03.sub",
  135. },
  136. {
  137. "name" : "cancel_button",
  138. "type" : "button",
  139.  
  140. "x" : 10,
  141. "y" : 247,
  142.  
  143. "text" : uiScriptLocale.CANCEL,
  144.  
  145. "default_image" : ROOT + "XLarge_Button_01.sub",
  146. "over_image" : ROOT + "XLarge_Button_02.sub",
  147. "down_image" : ROOT + "XLarge_Button_03.sub",
  148. },
  149. ),
  150. },
  151. ),
  152. }
Add Comment
Please, Sign In to add comment