chooseLevelDlg.gui 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiControl(ChooseLevelDlg) {
  3. position = "0 0";
  4. extent = "1024 768";
  5. minExtent = "8 8";
  6. horizSizing = "width";
  7. vertSizing = "height";
  8. profile = "GuiDefaultProfile";
  9. visible = "1";
  10. active = "1";
  11. tooltipProfile = "GuiToolTipProfile";
  12. hovertime = "1000";
  13. isContainer = "1";
  14. canSave = "1";
  15. canSaveDynamicFields = "1";
  16. Enabled = "1";
  17. launchInEditor = "0";
  18. returnGui = "MainMenuGui";
  19. new GuiControl(ChooseLevelWindow) {
  20. position = "48 56";
  21. extent = "928 655";
  22. minExtent = "8 2";
  23. horizSizing = "center";
  24. vertSizing = "center";
  25. profile = "GuiDefaultProfile";
  26. visible = "1";
  27. active = "1";
  28. tooltipProfile = "GuiToolTipProfile";
  29. hovertime = "1000";
  30. isContainer = "1";
  31. canSave = "1";
  32. canSaveDynamicFields = "0";
  33. new GuiBitmapBarCtrl() {
  34. percent = "100";
  35. vertical = "0";
  36. flipClip = "0";
  37. bitmap = "data/ui/images/panel.png";
  38. color = "255 255 255 255";
  39. position = "0 0";
  40. extent = "927 40";
  41. minExtent = "8 2";
  42. horizSizing = "width";
  43. vertSizing = "bottom";
  44. profile = "GuiDefaultProfile";
  45. visible = "1";
  46. active = "1";
  47. tooltipProfile = "GuiToolTipProfile";
  48. hovertime = "1000";
  49. isContainer = "0";
  50. canSave = "1";
  51. canSaveDynamicFields = "0";
  52. };
  53. new GuiTextCtrl(LevelSelectTitle) {
  54. text = "SINGLE PLAYER";
  55. maxLength = "1024";
  56. margin = "0 0 0 0";
  57. padding = "0 0 0 0";
  58. anchorTop = "1";
  59. anchorBottom = "0";
  60. anchorLeft = "1";
  61. anchorRight = "0";
  62. position = "22 10";
  63. extent = "307 28";
  64. minExtent = "8 2";
  65. horizSizing = "right";
  66. vertSizing = "bottom";
  67. profile = "MenuHeaderText";
  68. visible = "1";
  69. active = "1";
  70. tooltipProfile = "GuiToolTipProfile";
  71. hovertime = "1000";
  72. isContainer = "1";
  73. canSave = "1";
  74. canSaveDynamicFields = "0";
  75. };
  76. new GuiBitmapBarCtrl() {
  77. percent = "100";
  78. vertical = "0";
  79. flipClip = "0";
  80. bitmap = "data/ui/images/panel_low.png";
  81. color = "255 255 255 255";
  82. position = "0 40";
  83. extent = "927 618";
  84. minExtent = "8 2";
  85. horizSizing = "width";
  86. vertSizing = "bottom";
  87. profile = "GuiDefaultProfile";
  88. visible = "1";
  89. active = "1";
  90. tooltipProfile = "GuiToolTipProfile";
  91. hovertime = "1000";
  92. isContainer = "0";
  93. canSave = "1";
  94. canSaveDynamicFields = "0";
  95. };
  96. new GuiBitmapCtrl() {
  97. bitmapAsset = "UI:no_preview_image";
  98. color = "255 255 255 255";
  99. wrap = "0";
  100. position = "513 71";
  101. extent = "400 300";
  102. minExtent = "8 2";
  103. horizSizing = "right";
  104. vertSizing = "bottom";
  105. profile = "GuiDefaultProfile";
  106. visible = "1";
  107. active = "1";
  108. tooltipProfile = "GuiToolTipProfile";
  109. hovertime = "1000";
  110. isContainer = "0";
  111. internalName = "CurrentPreview";
  112. canSave = "1";
  113. canSaveDynamicFields = "1";
  114. Enabled = "1";
  115. };
  116. new GuiTextCtrl() {
  117. text = "Example Level";
  118. maxLength = "255";
  119. margin = "0 0 0 0";
  120. padding = "0 0 0 0";
  121. anchorTop = "1";
  122. anchorBottom = "0";
  123. anchorLeft = "1";
  124. anchorRight = "0";
  125. position = "514 375";
  126. extent = "398 27";
  127. minExtent = "8 8";
  128. horizSizing = "right";
  129. vertSizing = "bottom";
  130. profile = "MenuHeaderText";
  131. visible = "1";
  132. active = "1";
  133. tooltipProfile = "GuiToolTipProfile";
  134. hovertime = "1000";
  135. isContainer = "0";
  136. internalName = "LevelName";
  137. canSave = "1";
  138. canSaveDynamicFields = "0";
  139. };
  140. new GuiTextCtrl() {
  141. text = "Description:";
  142. maxLength = "255";
  143. margin = "0 0 0 0";
  144. padding = "0 0 0 0";
  145. anchorTop = "1";
  146. anchorBottom = "0";
  147. anchorLeft = "1";
  148. anchorRight = "0";
  149. position = "522 410";
  150. extent = "91 18";
  151. minExtent = "8 8";
  152. horizSizing = "right";
  153. vertSizing = "bottom";
  154. profile = "MenuSubHeaderText";
  155. visible = "1";
  156. active = "1";
  157. tooltipProfile = "GuiToolTipProfile";
  158. hovertime = "1000";
  159. isContainer = "0";
  160. internalName = "LevelDescriptionLabel";
  161. canSave = "1";
  162. canSaveDynamicFields = "0";
  163. };
  164. new GuiMLTextCtrl() {
  165. lineSpacing = "2";
  166. allowColorChars = "0";
  167. maxChars = "-1";
  168. text = "This is placeholder text";
  169. useURLMouseCursor = "0";
  170. position = "522 436";
  171. extent = "391 14";
  172. minExtent = "8 8";
  173. horizSizing = "right";
  174. vertSizing = "bottom";
  175. profile = "GuiMLWhiteTextProfile";
  176. visible = "1";
  177. active = "1";
  178. tooltipProfile = "GuiToolTipProfile";
  179. hovertime = "1000";
  180. isContainer = "0";
  181. internalName = "LevelDescription";
  182. canSave = "1";
  183. canSaveDynamicFields = "0";
  184. };
  185. new GuiScrollCtrl() {
  186. willFirstRespond = "1";
  187. hScrollBar = "dynamic";
  188. vScrollBar = "dynamic";
  189. lockHorizScroll = "0";
  190. lockVertScroll = "0";
  191. constantThumbHeight = "0";
  192. childMargin = "0 0";
  193. mouseWheelScrollSpeed = "-1";
  194. margin = "0 0 0 0";
  195. padding = "0 0 0 0";
  196. anchorTop = "1";
  197. anchorBottom = "0";
  198. anchorLeft = "1";
  199. anchorRight = "0";
  200. position = "0 40";
  201. extent = "450 580";
  202. minExtent = "8 2";
  203. horizSizing = "right";
  204. vertSizing = "bottom";
  205. profile = "GuiMenuScrollProfile";
  206. visible = "1";
  207. active = "1";
  208. tooltipProfile = "GuiToolTipProfile";
  209. hovertime = "1000";
  210. isContainer = "1";
  211. canSave = "1";
  212. canSaveDynamicFields = "0";
  213. new GuiGameListMenuCtrl(LevelList) {
  214. debugRender = "0";
  215. callbackOnInputs = "1";
  216. position = "1 1";
  217. extent = "450 90";
  218. minExtent = "8 2";
  219. horizSizing = "right";
  220. vertSizing = "bottom";
  221. profile = "DefaultListMenuProfile";
  222. visible = "1";
  223. active = "1";
  224. tooltipProfile = "GuiToolTipProfile";
  225. hovertime = "1000";
  226. isContainer = "0";
  227. class = "UIMenuButtonList";
  228. canSave = "1";
  229. canSaveDynamicFields = "0";
  230. };
  231. };
  232. };
  233. new GuiControl(ChooseLevelButtonHolder) {
  234. position = "189 711";
  235. extent = "646 40";
  236. minExtent = "8 2";
  237. horizSizing = "center";
  238. vertSizing = "top";
  239. profile = "GuiDefaultProfile";
  240. visible = "1";
  241. active = "1";
  242. tooltipProfile = "GuiToolTipProfile";
  243. hovertime = "1000";
  244. isContainer = "1";
  245. class = "MenuInputButtonContainer";
  246. canSave = "1";
  247. canSaveDynamicFields = "0";
  248. new GuiIconButtonCtrl() {
  249. buttonMargin = "4 4";
  250. iconBitmap = "./";
  251. iconLocation = "Left";
  252. sizeIconToButton = "1";
  253. makeIconSquare = "1";
  254. textLocation = "Right";
  255. textMargin = "4";
  256. autoSize = "0";
  257. text = "Go";
  258. groupNum = "-1";
  259. buttonType = "PushButton";
  260. useMouseEvents = "0";
  261. position = "363 0";
  262. extent = "140 40";
  263. minExtent = "8 2";
  264. horizSizing = "right";
  265. vertSizing = "bottom";
  266. profile = "GuiMenuButtonProfile";
  267. visible = "1";
  268. active = "1";
  269. command = "MainMenuButtonList.activateRow();";
  270. tooltipProfile = "GuiToolTipProfile";
  271. hovertime = "1000";
  272. isContainer = "0";
  273. internalName = "goButton";
  274. class = "MenuInputButton";
  275. canSave = "1";
  276. canSaveDynamicFields = "0";
  277. };
  278. new GuiIconButtonCtrl() {
  279. buttonMargin = "4 4";
  280. iconBitmap = "./";
  281. iconLocation = "Left";
  282. sizeIconToButton = "1";
  283. makeIconSquare = "1";
  284. textLocation = "Right";
  285. textMargin = "4";
  286. autoSize = "0";
  287. text = "Back";
  288. groupNum = "-1";
  289. buttonType = "PushButton";
  290. useMouseEvents = "0";
  291. position = "507 0";
  292. extent = "140 40";
  293. minExtent = "8 2";
  294. horizSizing = "right";
  295. vertSizing = "bottom";
  296. profile = "GuiMenuButtonProfile";
  297. visible = "1";
  298. active = "1";
  299. command = "MainMenuButtonList.activateRow();";
  300. tooltipProfile = "GuiToolTipProfile";
  301. hovertime = "1000";
  302. isContainer = "0";
  303. internalName = "backButton";
  304. class = "MenuInputButton";
  305. canSave = "1";
  306. canSaveDynamicFields = "0";
  307. };
  308. };
  309. };
  310. //--- OBJECT WRITE END ---