turnOptionsDropdownLibrary.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. {
  2. "dropDownBackground" :
  3. {
  4. "type": "transparentFilledRectangle",
  5. "visible": false,
  6. "rect": {"x": 1, "y": 1, "w": 219, "h": 19},
  7. "color": [0, 0, 0, 128],
  8. "colorLine": [0, 0, 0, 128]
  9. },
  10. "dropDownLabel":
  11. {
  12. "type": "label",
  13. "font": "small",
  14. "alignment": "left",
  15. "color": "white",
  16. "position": {"x": 4, "y": 0}
  17. },
  18. "dropDownHover":
  19. {
  20. "type": "transparentFilledRectangle",
  21. "visible": false,
  22. "rect": {"x": 2, "y": 2, "w": 216, "h": 16},
  23. "color": [0, 0, 0, 0],
  24. "colorLine": [255, 255, 0, 255]
  25. },
  26. "dropDownTimers" :
  27. {
  28. "name": "timerPresetSelector",
  29. "type": "comboBox",
  30. "image": "lobby/dropdown",
  31. "imageOrder": [0, 0, 0, 0],
  32. "items":
  33. [
  34. {
  35. "name": "timer",
  36. "type": "label",
  37. "font": "small",
  38. "alignment": "left",
  39. "color": "white",
  40. "text": "vcmi.optionsTab.turnTime.select"
  41. }
  42. ],
  43. "dropDown":
  44. {
  45. "items":
  46. [
  47. {
  48. "type": "texture",
  49. "image": "DiBoxBck",
  50. "color" : "blue",
  51. "rect": {"x": 0, "y": 0, "w": 220, "h": 260}
  52. },
  53. {
  54. "type": "transparentFilledRectangle",
  55. "visible": false,
  56. "rect": {"x": 0, "y": 0, "w": 220, "h": 260},
  57. "color": [0, 0, 0, 0],
  58. "colorLine": [64, 80, 128, 128]
  59. },
  60. {
  61. "type": "item",
  62. "position": {"x": 0, "y": 0},
  63. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  64. "items":
  65. [
  66. {
  67. "type": "dropDownBackground"
  68. },
  69. {
  70. "type": "dropDownLabel",
  71. "name": "labelName",
  72. "text": "vcmi.optionsTab.turnTime.unlimited"
  73. },
  74. {
  75. "type": "dropDownHover",
  76. "name": "hoverImage"
  77. }
  78. ]
  79. },
  80. {
  81. "type": "item",
  82. "position": {"x": 0, "y": 20},
  83. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  84. "items":
  85. [
  86. {
  87. "type": "dropDownBackground"
  88. },
  89. {
  90. "type": "dropDownLabel",
  91. "name": "labelName",
  92. "text": "vcmi.optionsTab.turnTime.classic.1"
  93. },
  94. {
  95. "type": "dropDownHover",
  96. "name": "hoverImage"
  97. }
  98. ]
  99. },
  100. {
  101. "type": "item",
  102. "position": {"x": 0, "y": 40},
  103. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  104. "items":
  105. [
  106. {
  107. "type": "dropDownBackground"
  108. },
  109. {
  110. "type": "dropDownLabel",
  111. "name": "labelName",
  112. "text": "vcmi.optionsTab.turnTime.classic.2"
  113. },
  114. {
  115. "type": "dropDownHover",
  116. "name": "hoverImage"
  117. }
  118. ]
  119. },
  120. {
  121. "type": "item",
  122. "position": {"x": 0, "y": 60},
  123. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  124. "items":
  125. [
  126. {
  127. "type": "dropDownBackground"
  128. },
  129. {
  130. "type": "dropDownLabel",
  131. "name": "labelName",
  132. "text": "vcmi.optionsTab.turnTime.classic.5"
  133. },
  134. {
  135. "type": "dropDownHover",
  136. "name": "hoverImage"
  137. }
  138. ]
  139. },
  140. {
  141. "type": "item",
  142. "position": {"x": 0, "y": 80},
  143. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  144. "items":
  145. [
  146. {
  147. "type": "dropDownBackground"
  148. },
  149. {
  150. "type": "dropDownLabel",
  151. "name": "labelName",
  152. "text": "vcmi.optionsTab.turnTime.classic.10"
  153. },
  154. {
  155. "type": "dropDownHover",
  156. "name": "hoverImage"
  157. }
  158. ]
  159. },
  160. {
  161. "type": "item",
  162. "position": {"x": 0, "y": 100},
  163. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  164. "items":
  165. [
  166. {
  167. "type": "dropDownBackground"
  168. },
  169. {
  170. "type": "dropDownLabel",
  171. "name": "labelName",
  172. "text": "vcmi.optionsTab.turnTime.classic.20"
  173. },
  174. {
  175. "type": "dropDownHover",
  176. "name": "hoverImage"
  177. }
  178. ]
  179. },
  180. {
  181. "type": "item",
  182. "position": {"x": 0, "y": 120},
  183. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  184. "items":
  185. [
  186. {
  187. "type": "dropDownBackground"
  188. },
  189. {
  190. "type": "dropDownLabel",
  191. "name": "labelName",
  192. "text": "vcmi.optionsTab.turnTime.classic.30"
  193. },
  194. {
  195. "type": "dropDownHover",
  196. "name": "hoverImage"
  197. }
  198. ]
  199. },
  200. {
  201. "type": "item",
  202. "position": {"x": 0, "y": 140},
  203. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  204. "items":
  205. [
  206. {
  207. "type": "dropDownBackground"
  208. },
  209. {
  210. "type": "dropDownLabel",
  211. "name": "labelName",
  212. "text": "vcmi.optionsTab.turnTime.chess.20"
  213. },
  214. {
  215. "type": "dropDownHover",
  216. "name": "hoverImage"
  217. }
  218. ]
  219. },
  220. {
  221. "type": "item",
  222. "position": {"x": 0, "y": 160},
  223. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  224. "items":
  225. [
  226. {
  227. "type": "dropDownBackground"
  228. },
  229. {
  230. "type": "dropDownLabel",
  231. "name": "labelName",
  232. "text": "vcmi.optionsTab.turnTime.chess.16"
  233. },
  234. {
  235. "type": "dropDownHover",
  236. "name": "hoverImage"
  237. }
  238. ]
  239. },
  240. {
  241. "type": "item",
  242. "position": {"x": 0, "y": 180},
  243. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  244. "items":
  245. [
  246. {
  247. "type": "dropDownBackground"
  248. },
  249. {
  250. "type": "dropDownLabel",
  251. "name": "labelName",
  252. "text": "vcmi.optionsTab.turnTime.chess.8"
  253. },
  254. {
  255. "type": "dropDownHover",
  256. "name": "hoverImage"
  257. }
  258. ]
  259. },
  260. {
  261. "type": "item",
  262. "position": {"x": 0, "y": 200},
  263. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  264. "items":
  265. [
  266. {
  267. "type": "dropDownBackground"
  268. },
  269. {
  270. "type": "dropDownLabel",
  271. "name": "labelName",
  272. "text": "vcmi.optionsTab.turnTime.chess.4"
  273. },
  274. {
  275. "type": "dropDownHover",
  276. "name": "hoverImage"
  277. }
  278. ]
  279. },
  280. {
  281. "type": "item",
  282. "position": {"x": 0, "y": 220},
  283. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  284. "items":
  285. [
  286. {
  287. "type": "dropDownBackground"
  288. },
  289. {
  290. "type": "dropDownLabel",
  291. "name": "labelName",
  292. "text": "vcmi.optionsTab.turnTime.chess.2"
  293. },
  294. {
  295. "type": "dropDownHover",
  296. "name": "hoverImage"
  297. }
  298. ]
  299. },
  300. {
  301. "type": "item",
  302. "position": {"x": 0, "y": 240},
  303. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  304. "items":
  305. [
  306. {
  307. "type": "dropDownBackground"
  308. },
  309. {
  310. "type": "dropDownLabel",
  311. "name": "labelName",
  312. "text": "vcmi.optionsTab.turnTime.chess.1"
  313. },
  314. {
  315. "type": "dropDownHover",
  316. "name": "hoverImage"
  317. }
  318. ]
  319. }
  320. ]
  321. }
  322. },
  323. "dropDownSimturns" :
  324. {
  325. "name": "timerPresetSelector",
  326. "type": "comboBox",
  327. "image": "lobby/dropdown",
  328. "imageOrder": [0, 0, 0, 0],
  329. "items":
  330. [
  331. {
  332. "name": "timer",
  333. "type": "label",
  334. "font": "small",
  335. "alignment": "left",
  336. "color": "white",
  337. "text": "vcmi.optionsTab.simturns.select"
  338. }
  339. ],
  340. "dropDown":
  341. {
  342. "items":
  343. [
  344. {
  345. "type": "texture",
  346. "image": "DiBoxBck",
  347. "color" : "blue",
  348. "rect": {"x": 0, "y": 0, "w": 220, "h": 160}
  349. },
  350. {
  351. "type": "transparentFilledRectangle",
  352. "visible": false,
  353. "rect": {"x": 0, "y": 0, "w": 220, "h": 160},
  354. "color": [0, 0, 0, 0],
  355. "colorLine": [64, 80, 128, 128]
  356. },
  357. {
  358. "type": "item",
  359. "position": {"x": 0, "y": 0},
  360. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  361. "items":
  362. [
  363. {
  364. "type": "dropDownBackground"
  365. },
  366. {
  367. "type": "dropDownLabel",
  368. "name": "labelName",
  369. "text": "vcmi.optionsTab.simturns.none"
  370. },
  371. {
  372. "type": "dropDownHover",
  373. "name": "hoverImage"
  374. }
  375. ]
  376. },
  377. {
  378. "type": "item",
  379. "position": {"x": 0, "y": 20},
  380. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  381. "items":
  382. [
  383. {
  384. "type": "dropDownBackground"
  385. },
  386. {
  387. "type": "dropDownLabel",
  388. "name": "labelName",
  389. "text": "vcmi.optionsTab.simturns.tillContactMax"
  390. },
  391. {
  392. "type": "dropDownHover",
  393. "name": "hoverImage"
  394. }
  395. ]
  396. },
  397. {
  398. "type": "item",
  399. "position": {"x": 0, "y": 40},
  400. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  401. "items":
  402. [
  403. {
  404. "type": "dropDownBackground"
  405. },
  406. {
  407. "type": "dropDownLabel",
  408. "name": "labelName",
  409. "text": "vcmi.optionsTab.simturns.tillContact1"
  410. },
  411. {
  412. "type": "dropDownHover",
  413. "name": "hoverImage"
  414. }
  415. ]
  416. },
  417. {
  418. "type": "item",
  419. "position": {"x": 0, "y": 60},
  420. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  421. "items":
  422. [
  423. {
  424. "type": "dropDownBackground"
  425. },
  426. {
  427. "type": "dropDownLabel",
  428. "name": "labelName",
  429. "text": "vcmi.optionsTab.simturns.tillContact2"
  430. },
  431. {
  432. "type": "dropDownHover",
  433. "name": "hoverImage"
  434. }
  435. ]
  436. },
  437. {
  438. "type": "item",
  439. "position": {"x": 0, "y": 80},
  440. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  441. "items":
  442. [
  443. {
  444. "type": "dropDownBackground"
  445. },
  446. {
  447. "type": "dropDownLabel",
  448. "name": "labelName",
  449. "text": "vcmi.optionsTab.simturns.tillContact4"
  450. },
  451. {
  452. "type": "dropDownHover",
  453. "name": "hoverImage"
  454. }
  455. ]
  456. },
  457. {
  458. "type": "item",
  459. "position": {"x": 0, "y": 100},
  460. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  461. "items":
  462. [
  463. {
  464. "type": "dropDownBackground"
  465. },
  466. {
  467. "type": "dropDownLabel",
  468. "name": "labelName",
  469. "text": "vcmi.optionsTab.simturns.blocked1"
  470. },
  471. {
  472. "type": "dropDownHover",
  473. "name": "hoverImage"
  474. }
  475. ]
  476. },
  477. {
  478. "type": "item",
  479. "position": {"x": 0, "y": 120},
  480. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  481. "items":
  482. [
  483. {
  484. "type": "dropDownBackground"
  485. },
  486. {
  487. "type": "dropDownLabel",
  488. "name": "labelName",
  489. "text": "vcmi.optionsTab.simturns.blocked2"
  490. },
  491. {
  492. "type": "dropDownHover",
  493. "name": "hoverImage"
  494. }
  495. ]
  496. },
  497. {
  498. "type": "item",
  499. "position": {"x": 0, "y": 140},
  500. "library" : "config/widgets/turnOptionsDropdownLibrary.json",
  501. "items":
  502. [
  503. {
  504. "type": "dropDownBackground"
  505. },
  506. {
  507. "type": "dropDownLabel",
  508. "name": "labelName",
  509. "text": "vcmi.optionsTab.simturns.blocked4"
  510. },
  511. {
  512. "type": "dropDownHover",
  513. "name": "hoverImage"
  514. }
  515. ]
  516. }
  517. ]
  518. }
  519. }
  520. }