1. """
  2. locale/xx/ui>dragonsoulwindow.py
  3. """
  4. # Arat:
  5. {
  6. "name" : "activate",
  7. "type" : "toggle_button",
  8. "x" : 217,
  9. "y" : 492,
  10. "text" : uiScriptLocale.DRAGONSOUL_ACTIVATE,
  11. "default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga",
  12. "over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga",
  13. "down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga",
  14. },
  15. # Altına ekle:
  16. {
  17. "name" : "btnChangeAttr",
  18. "type" : "button",
  19. "x" : 12,
  20. "y" : 492,
  21. "text" : "Bonusu değiştir",
  22. "default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
  23. "over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
  24. "down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
  25. },
  26. """
  27. uiscript>dragonsoulattr.py
  28. """
  29. import uiScriptLocale
  30. window = {
  31. "name" : "DragonSoulChangeAttrWindow",
  32. ## ¿ëÈ¥¼® â ¹Ù·Î ¿ŞÂÊ
  33. #"x" : SCREEN_WIDTH - 176 - 287 - 10 - 287,
  34. #"y" : SCREEN_HEIGHT - 37 - 505,
  35. "x" : SCREEN_WIDTH - 175 - 287 - 287,
  36. "y" : SCREEN_HEIGHT - 37 - 565,
  37. "style" : ("movable", "float",),
  38. "width" : 287,
  39. "height" : 232,
  40. "children" :
  41. (
  42. {
  43. "name" : "board",
  44. "type" : "board",
  45. "style" : ("attach",),
  46. "x" : 0,
  47. "y" : 0,
  48. "width" : 287,
  49. "height" : 232,
  50. "children" :
  51. (
  52. ## Base BackGroud Image
  53. {
  54. "name" : "DragonSoulRefineWindowBaseImage",
  55. "type" : "expanded_image",
  56. "x" : 0,
  57. "y" : 0,
  58. "image" : "d:/ymir work/ui/dragonsoul/dragon_soul_refine_bg.tga",
  59. },
  60. ## Title
  61. {
  62. "name" : "TitleBar",
  63. "type" : "titlebar",
  64. "style" : ("attach",),
  65. "x" : 5,
  66. "y" : 7,
  67. "width" : 275,
  68. "color" : "yellow",
  69. "children" :
  70. (
  71. {
  72. "name":"TitleName",
  73. "type":"text",
  74. "x":140,
  75. "y":5,
  76. "text":"Ejderha taşı için bonus değişimi",
  77. "text_horizontal_align":"center"
  78. },
  79. ),
  80. },
  81. ## Refine Slot
  82. {
  83. "name" : "RefineSlot",
  84. "type" : "grid_table",
  85. "image" : "d:/ymir work/ui/dragonsoul/cap.tga",
  86. "x" : 15,
  87. "y" : 39,
  88. "start_index" : 0,
  89. "x_count" : 5,
  90. "y_count" : 3,
  91. "x_step" : 32,
  92. "y_step" : 32,
  93. },
  94. ## Result Slot
  95. {
  96. "name" : "ResultSlot",
  97. "type" : "grid_table",
  98. "x" : 207,
  99. "y" : 39,
  100. "start_index" : 0,
  101. "x_count" : 2,
  102. "y_count" : 3,
  103. "x_step" : 32,
  104. "y_step" : 32,
  105. },
  106. ## ChangeAttr Button
  107. {
  108. "name" : "ChangeAttrButton",
  109. "type" : "toggle_button",
  110. "x" : 198,
  111. "y" : 148,
  112. "default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
  113. "over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
  114. "down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
  115. "children" :
  116. (
  117. {
  118. "name" : "ChangeAttrSlotTitle",
  119. "type" : "text",
  120. "x" : 0,
  121. "y" : 0,
  122. "all_align" : "center",
  123. "text" : "Bonusu değiştir",
  124. },
  125. ),
  126. },
  127. ## Money Print
  128. {
  129. "name":"Money_Slot",
  130. "type" : "text",
  131. "x":35,
  132. "y":180,
  133. "horizontal_align" : "right",
  134. "text_horizontal_align" : "right",
  135. "text" : "123456789",
  136. },
  137. ## Do Refine Button
  138. {
  139. "name" : "DoApplyButton",
  140. "type" : "button",
  141. "x" : 188,
  142. "y" : 200,
  143. "default_image" : "d:/ymir work/ui/dragonsoul/l_button01.tga",
  144. "over_image" : "d:/ymir work/ui/dragonsoul/l_button02.tga",
  145. "down_image" : "d:/ymir work/ui/dragonsoul/l_button03.tga",
  146. "children" :
  147. (
  148. {
  149. "name" : "DoApplyButtonTitle",
  150. "type" : "text",
  151. "x" : 0,
  152. "y" : 0,
  153. "text" : "Uygula",
  154. "all_align" : "center",
  155. },
  156. ),
  157. },
  158. ),
  159. },
  160. ),
  161. }