mapOverview.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. {
  2. "library" : "config/widgets/commonPrimitives.json",
  3. "items":
  4. [
  5. {
  6. "name": "background",
  7. "type": "texture",
  8. "image": "DIBOXBCK",
  9. "rect": {"w": 428, "h": 459}
  10. },
  11. {
  12. "type": "boxWithBackground",
  13. "rect": {"x": 5, "y": 5, "w": 418, "h": 20}
  14. },
  15. {
  16. "type": "label",
  17. "font": "medium",
  18. "alignment": "center",
  19. "color": "yellow",
  20. "text": "vcmi.lobby.scenarioName",
  21. "position": {"x": 214, "y": 15}
  22. },
  23. {
  24. "type": "boxWithBackground",
  25. "rect": {"x": 5, "y": 30, "w": 418, "h": 20}
  26. },
  27. {
  28. "type": "label",
  29. "name": "mapName",
  30. "font": "small",
  31. "alignment": "center",
  32. "color": "white",
  33. "text": "",
  34. "position": {"x": 214, "y": 40}
  35. },
  36. {
  37. "type": "label",
  38. "name": "version",
  39. "font": "small",
  40. "alignment": "right",
  41. "color": "green",
  42. "text": "",
  43. "position": {"x": 418, "y": 48}
  44. },
  45. {
  46. "type": "boxWithBackground",
  47. "rect": {"x": 5, "y": 55, "w": 418, "h": 20}
  48. },
  49. {
  50. "type": "label",
  51. "font": "medium",
  52. "alignment": "center",
  53. "color": "yellow",
  54. "text": "vcmi.lobby.mapPreview",
  55. "position": {"x": 214, "y": 65}
  56. },
  57. {
  58. "type": "boxWithBackground",
  59. "rect": {"x": 29, "y": 94, "w": 171, "h": 171}
  60. },
  61. {
  62. "type": "label",
  63. "font": "small",
  64. "alignment": "center",
  65. "color": "white",
  66. "text": "vcmi.lobby.noPreview",
  67. "position": {"x": 114, "y": 179}
  68. },
  69. {
  70. "name": "minimap1",
  71. "type": "drawMinimap",
  72. "id": 0,
  73. "rect": {"x": 30, "y": 95, "w": 169, "h": 169}
  74. },
  75. {
  76. "type": "boxWithBackground",
  77. "rect": {"x": 228, "y": 94, "w": 171, "h": 171}
  78. },
  79. {
  80. "type": "label",
  81. "name": "noUnderground",
  82. "font": "small",
  83. "alignment": "center",
  84. "color": "white",
  85. "text": "vcmi.lobby.noUnderground",
  86. "position": {"x": 313, "y": 179}
  87. },
  88. {
  89. "name": "minimap2",
  90. "type": "drawMinimap",
  91. "id": 1,
  92. "rect": {"x": 229, "y": 95, "w": 169, "h": 169}
  93. },
  94. {
  95. "name": "mapLayerSlider",
  96. "type": "slider",
  97. "orientation": "horizontal",
  98. "position": {"x": 29, "y": 267},
  99. "size": 370,
  100. "callback": "mapLayerSliderChanged",
  101. "selected": 0,
  102. "style": "brown",
  103. "panningStep": 171,
  104. "itemsVisible": 2
  105. },
  106. {
  107. "type": "boxWithBackground",
  108. "rect": {"x": 5, "y": 284, "w": 418, "h": 20}
  109. },
  110. {
  111. "type": "label",
  112. "font": "medium",
  113. "alignment": "center",
  114. "color": "yellow",
  115. "text": "vcmi.lobby.creationDate",
  116. "position": {"x": 214, "y": 294}
  117. },
  118. {
  119. "type": "boxWithBackground",
  120. "rect": {"x": 5, "y": 309, "w": 418, "h": 20}
  121. },
  122. {
  123. "type": "label",
  124. "name": "date",
  125. "font": "small",
  126. "alignment": "center",
  127. "color": "white",
  128. "text": "",
  129. "position": {"x": 214, "y": 319}
  130. },
  131. {
  132. "type": "boxWithBackground",
  133. "rect": {"x": 5, "y": 334, "w": 418, "h": 20}
  134. },
  135. {
  136. "type": "label",
  137. "font": "medium",
  138. "alignment": "center",
  139. "color": "yellow",
  140. "text": "vcmi.lobby.author",
  141. "position": {"x": 214, "y": 344}
  142. },
  143. {
  144. "type": "boxWithBackground",
  145. "rect": {"x": 5, "y": 359, "w": 418, "h": 20}
  146. },
  147. {
  148. "type": "label",
  149. "name": "author",
  150. "font": "small",
  151. "alignment": "center",
  152. "color": "white",
  153. "text": "",
  154. "position": {"x": 214, "y": 369}
  155. },
  156. {
  157. "type": "boxWithBackground",
  158. "rect": {"x": 5, "y": 384, "w": 418, "h": 20}
  159. },
  160. {
  161. "type": "label",
  162. "font": "medium",
  163. "alignment": "center",
  164. "color": "yellow",
  165. "text": "vcmi.lobby.filepath",
  166. "position": {"x": 214, "y": 394}
  167. },
  168. {
  169. "type": "boxWithBackground",
  170. "rect": {"x": 5, "y": 409, "w": 418, "h": 45}
  171. },
  172. {
  173. "type": "textBox",
  174. "name": "fileName",
  175. "font": "small",
  176. "alignment": "center",
  177. "color": "white",
  178. "text": "",
  179. "rect": {"x": 10, "y": 414, "w": 408, "h": 35}
  180. }
  181. ],
  182. "variables":
  183. {
  184. "mapPreviewForSaves": true,
  185. "minimapRenderSize": 169
  186. }
  187. }