Advertisement
Guest User

Untitled

a guest
Jan 27th, 2021
88
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None
  1. ROOT = "d:/ymir work/ui/minimap/"
  2.  
  3. window = {
  4. "name" : "MiniMap",
  5.  
  6. "x" : SCREEN_WIDTH - 136,
  7. "y" : 0,
  8.  
  9. "width" : 136,
  10. "height" : 137,
  11.  
  12. "children" :
  13. (
  14. ## OpenWindow
  15. {
  16. "name" : "OpenWindow",
  17. "type" : "window",
  18.  
  19. "x" : 0,
  20. "y" : 0,
  21.  
  22. "width" : 136,
  23. "height" : 137,
  24.  
  25. "children" :
  26. (
  27. {
  28. "name" : "OpenWindowBGI",
  29. "type" : "image",
  30. "x" : 0,
  31. "y" : 0,
  32. "image" : ROOT + "minimap.sub",
  33. },
  34. ## MiniMapWindow
  35. {
  36. "name" : "MiniMapWindow",
  37. "type" : "window",
  38.  
  39. "x" : 4,
  40. "y" : 5,
  41.  
  42. "width" : 128,
  43. "height" : 128,
  44. },
  45. ## ScaleUpButton
  46. {
  47. "name" : "ScaleUpButton",
  48. "type" : "button",
  49.  
  50. "x" : 101,
  51. "y" : 116,
  52.  
  53. "default_image" : ROOT + "minimap_scaleup_default.sub",
  54. "over_image" : ROOT + "minimap_scaleup_over.sub",
  55. "down_image" : ROOT + "minimap_scaleup_down.sub",
  56. },
  57. ## ScaleDownButton
  58. {
  59. "name" : "ScaleDownButton",
  60. "type" : "button",
  61.  
  62. "x" : 115,
  63. "y" : 103,
  64.  
  65. "default_image" : ROOT + "minimap_scaledown_default.sub",
  66. "over_image" : ROOT + "minimap_scaledown_over.sub",
  67. "down_image" : ROOT + "minimap_scaledown_down.sub",
  68. },
  69. ## MiniMapHideButton
  70. {
  71. "name" : "MiniMapHideButton",
  72. "type" : "button",
  73.  
  74. "x" : 111,
  75. "y" : 6,
  76.  
  77. "default_image" : ROOT + "minimap_close_default.sub",
  78. "over_image" : ROOT + "minimap_close_over.sub",
  79. "down_image" : ROOT + "minimap_close_down.sub",
  80. },
  81. ## AtlasShowButton
  82. {
  83. "name" : "AtlasShowButton",
  84. "type" : "button",
  85.  
  86. "x" : 12,
  87. "y" : 12,
  88.  
  89. "default_image" : ROOT + "atlas_open_default.sub",
  90. "over_image" : ROOT + "atlas_open_over.sub",
  91. "down_image" : ROOT + "atlas_open_down.sub",
  92. },
  93. ## DungeonInfo
  94. {
  95. "name" : "DungeonInfo",
  96. "type" : "button",
  97.  
  98. "x" : 10,
  99. "y" : 110,
  100.  
  101. "default_image" : "d:/ymir work/dungeonminimap/dungeon_0.tga",
  102. "over_image" : "d:/ymir work/dungeonminimap/dungeon_2.tga",
  103. "down_image" : "d:/ymir work/dungeonminimap/dungeon_1.tga",
  104. "tooltip_text": "Mazmorras",
  105. },
  106. ## ServerInfo
  107. {
  108. "name" : "ServerInfo",
  109. "type" : "text",
  110.  
  111. "text_horizontal_align" : "center",
  112.  
  113. "outline" : 1,
  114.  
  115. "x" : 70,
  116. "y" : 140,
  117.  
  118. "text" : "",
  119. },
  120. ## PositionInfo
  121. {
  122. "name" : "PositionInfo",
  123. "type" : "text",
  124.  
  125. "text_horizontal_align" : "center",
  126.  
  127. "outline" : 1,
  128.  
  129. "x" : 70,
  130. "y" : 160,
  131.  
  132. "text" : "",
  133. },
  134. ## ObserverCount
  135. {
  136. "name" : "ObserverCount",
  137. "type" : "text",
  138.  
  139. "text_horizontal_align" : "center",
  140.  
  141. "outline" : 1,
  142.  
  143. "x" : 70,
  144. "y" : 180,
  145.  
  146. "text" : "",
  147. },
  148. ),
  149. },
  150. {
  151. "name" : "CloseWindow",
  152. "type" : "window",
  153.  
  154. "x" : 0,
  155. "y" : 0,
  156.  
  157. "width" : 132,
  158. "height" : 48,
  159.  
  160. "children" :
  161. (
  162. ## ShowButton
  163. {
  164. "name" : "MiniMapShowButton",
  165. "type" : "button",
  166.  
  167. "x" : 100,
  168. "y" : 4,
  169.  
  170. "default_image" : ROOT + "minimap_open_default.sub",
  171. "over_image" : ROOT + "minimap_open_default.sub",
  172. "down_image" : ROOT + "minimap_open_default.sub",
  173. },
  174. ),
  175. },
  176. ),
  177. }
  178.  
Advertisement
RAW Paste Data Copied
Advertisement