mapOverview.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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": 379}
  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": "boxWithBackground",
  38. "rect": {"x": 5, "y": 55, "w": 418, "h": 20}
  39. },
  40. {
  41. "type": "label",
  42. "font": "medium",
  43. "alignment": "center",
  44. "color": "yellow",
  45. "text": "vcmi.lobby.mapPreview",
  46. "position": {"x": 214, "y": 65}
  47. },
  48. {
  49. "type": "boxWithBackground",
  50. "rect": {"x": 29, "y": 79, "w": 171, "h": 171}
  51. },
  52. {
  53. "type": "label",
  54. "font": "small",
  55. "alignment": "center",
  56. "color": "white",
  57. "text": "vcmi.lobby.noPreview",
  58. "position": {"x": 114, "y": 164}
  59. },
  60. {
  61. "type": "drawMinimap",
  62. "id": 0,
  63. "rect": {"x": 30, "y": 80, "w": 169, "h": 169}
  64. },
  65. {
  66. "type": "boxWithBackground",
  67. "rect": {"x": 228, "y": 79, "w": 171, "h": 171}
  68. },
  69. {
  70. "type": "label",
  71. "name": "noUnderground",
  72. "font": "small",
  73. "alignment": "center",
  74. "color": "white",
  75. "text": "vcmi.lobby.noUnderground",
  76. "position": {"x": 313, "y": 164}
  77. },
  78. {
  79. "type": "drawMinimap",
  80. "id": 1,
  81. "rect": {"x": 229, "y": 80, "w": 169, "h": 169}
  82. },
  83. {
  84. "type": "boxWithBackground",
  85. "rect": {"x": 5, "y": 254, "w": 418, "h": 20}
  86. },
  87. {
  88. "type": "label",
  89. "font": "medium",
  90. "alignment": "center",
  91. "color": "yellow",
  92. "text": "vcmi.lobby.creationDate",
  93. "position": {"x": 214, "y": 264}
  94. },
  95. {
  96. "type": "boxWithBackground",
  97. "rect": {"x": 5, "y": 279, "w": 418, "h": 20}
  98. },
  99. {
  100. "type": "label",
  101. "name": "date",
  102. "font": "small",
  103. "alignment": "center",
  104. "color": "white",
  105. "text": "",
  106. "position": {"x": 214, "y": 289}
  107. },
  108. {
  109. "type": "boxWithBackground",
  110. "rect": {"x": 5, "y": 304, "w": 418, "h": 20}
  111. },
  112. {
  113. "type": "label",
  114. "font": "medium",
  115. "alignment": "center",
  116. "color": "yellow",
  117. "text": "vcmi.lobby.filepath",
  118. "position": {"x": 214, "y": 314}
  119. },
  120. {
  121. "type": "boxWithBackground",
  122. "rect": {"x": 5, "y": 329, "w": 418, "h": 45}
  123. },
  124. {
  125. "type": "textBox",
  126. "name": "fileName",
  127. "font": "small",
  128. "alignment": "center",
  129. "color": "white",
  130. "text": "",
  131. "rect": {"x": 10, "y": 334, "w": 408, "h": 35}
  132. }
  133. ],
  134. "variables":
  135. {
  136. "mapPreviewForSaves": true
  137. }
  138. }