lobbyWindowWide.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. {
  2. "customTypes" : {
  3. "labelTitleMain" : {
  4. "type": "label",
  5. "font": "big",
  6. "alignment": "left",
  7. "color": "yellow"
  8. },
  9. "labelTitle" : {
  10. "type": "label",
  11. "font": "small",
  12. "alignment": "left",
  13. "color": "yellow"
  14. },
  15. "backgroundTexture" : {
  16. "type": "texture",
  17. "font": "tiny",
  18. "color" : "blue",
  19. "image": "DIBOXBCK"
  20. },
  21. "areaFilled":{
  22. "type": "transparentFilledRectangle",
  23. "color": [0, 0, 0, 75],
  24. "colorLine": [64, 80, 128, 255]
  25. }
  26. },
  27. "width": 1024,
  28. "height": 600,
  29. "items":
  30. [
  31. {
  32. "type": "backgroundTexture",
  33. "rect": {"w": 1024, "h": 600}
  34. },
  35. {
  36. "type": "areaFilled",
  37. "rect": {"x": 5, "y": 5, "w": 250, "h": 40}
  38. },
  39. {
  40. "name" : "accountNameLabel",
  41. "type": "labelTitleMain",
  42. "position": {"x": 15, "y": 10},
  43. "maxWidth": 230
  44. },
  45. {
  46. "type": "areaFilled",
  47. "rect": {"x": 5, "y": 50, "w": 250, "h": 500}
  48. },
  49. {
  50. "name" : "headerRoomList",
  51. "type": "labelTitle",
  52. "position": {"x": 15, "y": 53}
  53. },
  54. {
  55. "type" : "lobbyItemList",
  56. "name" : "roomList",
  57. "itemType" : "room",
  58. "position" : { "x" : 7, "y" : 68 },
  59. "itemOffset" : { "x" : 0, "y" : 40 },
  60. "sliderPosition" : { "x" : 230, "y" : 0 },
  61. "sliderSize" : { "x" : 480, "y" : 480 },
  62. "visibleAmount" : 12
  63. },
  64. {
  65. "type": "areaFilled",
  66. "rect": {"x": 270, "y": 50, "w": 150, "h": 180}
  67. },
  68. {
  69. "name" : "headerChannelList",
  70. "type": "labelTitle",
  71. "position": {"x": 280, "y": 53}
  72. },
  73. {
  74. "type" : "lobbyItemList",
  75. "name" : "channelList",
  76. "itemType" : "channel",
  77. "position" : { "x" : 272, "y" : 68 },
  78. "itemOffset" : { "x" : 0, "y" : 40 },
  79. "visibleAmount" : 4
  80. },
  81. {
  82. "type": "areaFilled",
  83. "rect": {"x": 270, "y": 250, "w": 150, "h": 340}
  84. },
  85. {
  86. "name" : "headerMatchList",
  87. "type": "labelTitle",
  88. "position": {"x": 280, "y": 253}
  89. },
  90. {
  91. "type" : "lobbyItemList",
  92. "name" : "matchList",
  93. "itemType" : "match",
  94. "position" : { "x" : 272, "y" : 268 },
  95. "itemOffset" : { "x" : 0, "y" : 40 },
  96. "sliderPosition" : { "x" : 130, "y" : 0 },
  97. "sliderSize" : { "x" : 320, "y" : 320 },
  98. "visibleAmount" : 8
  99. },
  100. {
  101. "type": "areaFilled",
  102. "rect": {"x": 430, "y": 50, "w": 430, "h": 515}
  103. },
  104. {
  105. "name" : "headerGameChat",
  106. "type": "labelTitle",
  107. "position": {"x": 440, "y": 53},
  108. "maxWidth": 418
  109. },
  110. {
  111. "type": "textBox",
  112. "name": "gameChat",
  113. "font": "small",
  114. "alignment": "left",
  115. "color": "white",
  116. "blueTheme" : true,
  117. "rect": {"x": 440, "y": 68, "w": 418, "h": 495}
  118. },
  119. {
  120. "type": "areaFilled",
  121. "rect": {"x": 430, "y": 565, "w": 397, "h": 25}
  122. },
  123. {
  124. "name" : "messageInput",
  125. "type": "textInput",
  126. "rect": {"x": 440, "y": 568, "w": 377, "h": 20}
  127. },
  128. {
  129. "type": "areaFilled",
  130. "rect": {"x": 870, "y": 50, "w": 150, "h": 540}
  131. },
  132. {
  133. "name": "headerAccountList",
  134. "type": "labelTitle",
  135. "position": {"x": 880, "y": 53}
  136. },
  137. {
  138. "type" : "lobbyItemList",
  139. "name" : "accountList",
  140. "itemType" : "account",
  141. "position" : { "x" : 872, "y" : 68 },
  142. "itemOffset" : { "x" : 0, "y" : 40 },
  143. "sliderPosition" : { "x" : 130, "y" : 0 },
  144. "sliderSize" : { "x" : 520, "y" : 520 },
  145. "visibleAmount" : 13
  146. },
  147. {
  148. "type": "button",
  149. "position": {"x": 870, "y": 10},
  150. "image": "lobbyHideWindow",
  151. "help": "core.help.288",
  152. "callback": "closeWindow",
  153. "hotkey": "globalCancel",
  154. "items":
  155. [
  156. {
  157. "type": "label",
  158. "font": "medium",
  159. "alignment": "center",
  160. "color": "yellow",
  161. "text": "core.help.561.hover" // Back
  162. }
  163. ]
  164. },
  165. {
  166. "type": "button",
  167. "position": {"x": 827, "y": 565},
  168. "image": "lobbySendMessage",
  169. "help": "vcmi.lobby.channel.sendMessage",
  170. "callback": "sendMessage",
  171. "hotkey": "globalAccept",
  172. "items":
  173. [
  174. {
  175. "type": "picture",
  176. "image": "lobby/iconSend"
  177. }
  178. ]
  179. },
  180. {
  181. "type": "button",
  182. "position": {"x": 5, "y": 555},
  183. "image": "lobbyCreateRoom",
  184. "help": "vcmi.lobby.room.create",
  185. "callback": "createGameRoom",
  186. "items":
  187. [
  188. {
  189. "type": "label",
  190. "font": "medium",
  191. "alignment": "center",
  192. "color": "yellow",
  193. "text": "vcmi.lobby.room.create.hover"
  194. }
  195. ]
  196. },
  197. ]
  198. }