RoadEditorSettingsTab.gui 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiControl(RoadEditorSettingsTab,EditorGuiGroup) {
  3. isContainer = "1";
  4. Profile = "ToolsGuiDefaultProfile";
  5. HorizSizing = "right";
  6. VertSizing = "bottom";
  7. position = "0 0";
  8. Extent = "800 600";
  9. MinExtent = "8 2";
  10. canSave = "1";
  11. Visible = "1";
  12. tooltipprofile = "ToolsGuiToolTipProfile";
  13. hovertime = "1000";
  14. canSaveDynamicFields = "1";
  15. new GuiTabPageCtrl(ERoadEditorSettingsPage) {
  16. fitBook = "1";
  17. text = "Road Editor";
  18. maxLength = "1024";
  19. Margin = "0 0 0 0";
  20. Padding = "0 0 0 0";
  21. AnchorTop = "1";
  22. AnchorBottom = "0";
  23. AnchorLeft = "1";
  24. AnchorRight = "0";
  25. isContainer = "1";
  26. Profile = "ToolsGuiSolidDefaultProfile";
  27. HorizSizing = "width";
  28. VertSizing = "height";
  29. position = "0 0";
  30. Extent = "208 400";
  31. MinExtent = "8 2";
  32. canSave = "1";
  33. Visible = "1";
  34. tooltipprofile = "ToolsGuiToolTipProfile";
  35. hovertime = "1000";
  36. canSaveDynamicFields = "1";
  37. new GuiScrollCtrl() {
  38. willFirstRespond = "1";
  39. hScrollBar = "alwaysOff";
  40. vScrollBar = "dynamic";
  41. lockHorizScroll = "1";
  42. lockVertScroll = "0";
  43. constantThumbHeight = "0";
  44. childMargin = "0 0";
  45. mouseWheelScrollSpeed = "-1";
  46. Margin = "0 0 0 0";
  47. Padding = "0 0 0 0";
  48. AnchorTop = "1";
  49. AnchorBottom = "0";
  50. AnchorLeft = "1";
  51. AnchorRight = "0";
  52. isContainer = "1";
  53. Profile = "ToolsGuiScrollProfile";
  54. HorizSizing = "width";
  55. VertSizing = "height";
  56. position = "0 0";
  57. Extent = "208 400";
  58. MinExtent = "8 2";
  59. canSave = "1";
  60. Visible = "1";
  61. tooltipprofile = "ToolsGuiToolTipProfile";
  62. hovertime = "1000";
  63. canSaveDynamicFields = "0";
  64. new GuiStackControl() {
  65. StackingType = "Vertical";
  66. HorizStacking = "Left to Right";
  67. VertStacking = "Top to Bottom";
  68. Padding = "0";
  69. isContainer = "1";
  70. Profile = "ToolsGuiDefaultProfile";
  71. HorizSizing = "width";
  72. VertSizing = "bottom";
  73. position = "1 1";
  74. extent = "208 210";
  75. MinExtent = "8 2";
  76. canSave = "1";
  77. isDecoy = "0";
  78. Visible = "1";
  79. tooltipprofile = "ToolsGuiToolTipProfile";
  80. hovertime = "1000";
  81. new GuiRolloutCtrl() {
  82. Profile = "GuiRolloutProfile";
  83. HorizSizing = "right";
  84. VertSizing = "bottom";
  85. position = "10 10";
  86. extent = "208 95";
  87. Caption = "Defaults";
  88. Margin = "0 3 0 0";
  89. DragSizable = false;
  90. container = true;
  91. new GuiStackControl() {
  92. StackingType = "Vertical";
  93. HorizStacking = "Left to Right";
  94. VertStacking = "Top to Bottom";
  95. Padding = "0";
  96. isContainer = "1";
  97. Profile = "ToolsGuiDefaultProfile";
  98. HorizSizing = "width";
  99. VertSizing = "bottom";
  100. position = "0 0";
  101. Extent = "208 0";
  102. MinExtent = "8 2";
  103. canSave = "1";
  104. isDecoy = "0";
  105. Visible = "1";
  106. tooltipprofile = "ToolsGuiToolTipProfile";
  107. hovertime = "1000";
  108. padding = "3";
  109. new GuiControl() {
  110. isContainer = "1";
  111. horizSizing = "right";
  112. vertSizing = "bottom";
  113. extent = "208 18";
  114. new GuiTextCtrl() {
  115. text = "Width:";
  116. maxLength = "1024";
  117. Margin = "0 0 0 0";
  118. Padding = "0 0 0 0";
  119. AnchorTop = "1";
  120. AnchorBottom = "0";
  121. AnchorLeft = "1";
  122. AnchorRight = "0";
  123. isContainer = "0";
  124. Profile = "ToolsGuiTextRightProfile";
  125. HorizSizing = "right";
  126. VertSizing = "bottom";
  127. position = "5 1";
  128. Extent = "70 16";
  129. MinExtent = "8 2";
  130. canSave = "1";
  131. Visible = "1";
  132. tooltipprofile = "ToolsGuiToolTipProfile";
  133. hovertime = "1000";
  134. canSaveDynamicFields = "0";
  135. };
  136. new GuiTextEditCtrl() {
  137. historySize = "0";
  138. password = "0";
  139. tabComplete = "0";
  140. sinkAllKeyEvents = "0";
  141. passwordMask = "*";
  142. maxLength = "1024";
  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. isContainer = "0";
  150. Profile = "ToolsGuiNumericTextEditProfile";
  151. HorizSizing = "width";
  152. VertSizing = "bottom";
  153. position = "81 0";
  154. Extent = "121 18";
  155. MinExtent = "8 2";
  156. canSave = "1";
  157. Visible = "1";
  158. tooltipprofile = "ToolsGuiToolTipProfile";
  159. hovertime = "1000";
  160. canSaveDynamicFields = "1";
  161. class = "ESettingsWindowTextEdit";
  162. className = "ESettingsWindowTextEdit";
  163. editorSettingsRead = "RoadEditorPlugin.readSettings();";
  164. editorSettingsValue = "RoadEditor/DefaultWidth";
  165. editorSettingsWrite = "RoadEditorPlugin.writeSettings();";
  166. };
  167. };
  168. new GuiControl() {
  169. isContainer = "1";
  170. horizSizing = "right";
  171. vertSizing = "bottom";
  172. extent = "208 18";
  173. new GuiTextCtrl() {
  174. text = "Material:";
  175. maxLength = "1024";
  176. Margin = "0 0 0 0";
  177. Padding = "0 0 0 0";
  178. AnchorTop = "1";
  179. AnchorBottom = "0";
  180. AnchorLeft = "1";
  181. AnchorRight = "0";
  182. isContainer = "0";
  183. Profile = "ToolsGuiTextRightProfile";
  184. HorizSizing = "right";
  185. VertSizing = "bottom";
  186. position = "5 1";
  187. Extent = "70 16";
  188. MinExtent = "8 2";
  189. canSave = "1";
  190. Visible = "1";
  191. tooltipprofile = "ToolsGuiToolTipProfile";
  192. hovertime = "1000";
  193. canSaveDynamicFields = "0";
  194. };
  195. new GuiTextEditCtrl() {
  196. historySize = "0";
  197. password = "0";
  198. tabComplete = "0";
  199. sinkAllKeyEvents = "0";
  200. passwordMask = "*";
  201. maxLength = "1024";
  202. Margin = "0 0 0 0";
  203. Padding = "0 0 0 0";
  204. AnchorTop = "1";
  205. AnchorBottom = "0";
  206. AnchorLeft = "1";
  207. AnchorRight = "0";
  208. isContainer = "0";
  209. Profile = "ToolsGuiTextEditProfile";
  210. HorizSizing = "width";
  211. VertSizing = "bottom";
  212. position = "81 0";
  213. Extent = "121 18";
  214. MinExtent = "8 2";
  215. canSave = "1";
  216. Visible = "1";
  217. tooltipprofile = "ToolsGuiToolTipProfile";
  218. hovertime = "1000";
  219. canSaveDynamicFields = "1";
  220. class = "ESettingsWindowTextEdit";
  221. className = "ESettingsWindowTextEdit";
  222. editorSettingsRead = "RoadEditorPlugin.readSettings();";
  223. editorSettingsValue = "RoadEditor/MaterialName";
  224. editorSettingsWrite = "RoadEditorPlugin.writeSettings();";
  225. };
  226. };
  227. };
  228. };
  229. new GuiRolloutCtrl() {
  230. Profile = "GuiRolloutProfile";
  231. HorizSizing = "right";
  232. VertSizing = "bottom";
  233. position = "10 10";
  234. extent = "208 95";
  235. Caption = "Colors";
  236. Margin = "0 3 0 0";
  237. DragSizable = false;
  238. container = true;
  239. new GuiStackControl() {
  240. StackingType = "Vertical";
  241. HorizStacking = "Left to Right";
  242. VertStacking = "Top to Bottom";
  243. Padding = "0";
  244. isContainer = "1";
  245. Profile = "ToolsGuiDefaultProfile";
  246. HorizSizing = "width";
  247. VertSizing = "bottom";
  248. position = "0 0";
  249. Extent = "208 0";
  250. MinExtent = "8 2";
  251. canSave = "1";
  252. isDecoy = "0";
  253. Visible = "1";
  254. tooltipprofile = "ToolsGuiToolTipProfile";
  255. hovertime = "1000";
  256. padding = "3";
  257. new GuiControl() {
  258. isContainer = "1";
  259. Profile = "ToolsGuiDefaultProfile";
  260. HorizSizing = "right";
  261. VertSizing = "bottom";
  262. position = "5 10";
  263. Extent = "208 18";
  264. MinExtent = "8 2";
  265. canSave = "1";
  266. Visible = "1";
  267. tooltipprofile = "ToolsGuiToolTipProfile";
  268. hovertime = "1000";
  269. canSaveDynamicFields = "1";
  270. class = "ESettingsWindowColor";
  271. className = "ESettingsWindowColor";
  272. editorSettingsRead = "RoadEditorPlugin.readSettings();";
  273. editorSettingsValue = "RoadEditor/HoverSplineColor";
  274. editorSettingsWrite = "RoadEditorPlugin.writeSettings();";
  275. new GuiTextCtrl() {
  276. text = "Hover Spline:";
  277. maxLength = "1024";
  278. Margin = "0 0 0 0";
  279. Padding = "0 0 0 0";
  280. AnchorTop = "1";
  281. AnchorBottom = "0";
  282. AnchorLeft = "1";
  283. AnchorRight = "0";
  284. isContainer = "0";
  285. Profile = "ToolsGuiTextRightProfile";
  286. HorizSizing = "right";
  287. VertSizing = "bottom";
  288. position = "0 1";
  289. Extent = "70 16";
  290. MinExtent = "8 2";
  291. canSave = "1";
  292. Visible = "1";
  293. tooltipprofile = "ToolsGuiToolTipProfile";
  294. hovertime = "1000";
  295. canSaveDynamicFields = "1";
  296. };
  297. new GuiTextEditCtrl() {
  298. historySize = "0";
  299. password = "0";
  300. tabComplete = "0";
  301. sinkAllKeyEvents = "0";
  302. passwordMask = "*";
  303. maxLength = "1024";
  304. Margin = "0 0 0 0";
  305. Padding = "0 0 0 0";
  306. AnchorTop = "1";
  307. AnchorBottom = "0";
  308. AnchorLeft = "1";
  309. AnchorRight = "0";
  310. isContainer = "0";
  311. Profile = "ToolsGuiTextEditProfile";
  312. HorizSizing = "width";
  313. VertSizing = "bottom";
  314. position = "80 0";
  315. Extent = "104 18";
  316. MinExtent = "8 2";
  317. canSave = "1";
  318. Visible = "1";
  319. tooltipprofile = "ToolsGuiToolTipProfile";
  320. hovertime = "1000";
  321. internalName = "ColorEdit";
  322. canSaveDynamicFields = "1";
  323. class = "ESettingsWindowColorEdit";
  324. className = "ESettingsWindowColorEdit";
  325. };
  326. new GuiSwatchButtonCtrl() {
  327. color = "1 1 1 1";
  328. groupNum = "-1";
  329. buttonType = "PushButton";
  330. useMouseEvents = "0";
  331. isContainer = "0";
  332. Profile = "ToolsGuiDefaultProfile";
  333. horizSizing = "left";
  334. vertSizing = "bottom";
  335. position = "188 2";
  336. extent = "14 14";
  337. MinExtent = "8 2";
  338. canSave = "1";
  339. Visible = "1";
  340. tooltipprofile = "ToolsGuiToolTipProfile";
  341. hovertime = "1000";
  342. internalName = "ColorButton";
  343. canSaveDynamicFields = "1";
  344. class = "ESettingsWindowColorButton";
  345. className = "ESettingsWindowColorButton";
  346. };
  347. };
  348. new GuiControl() {
  349. isContainer = "1";
  350. Profile = "ToolsGuiDefaultProfile";
  351. HorizSizing = "right";
  352. VertSizing = "bottom";
  353. position = "5 30";
  354. Extent = "208 18";
  355. MinExtent = "8 2";
  356. canSave = "1";
  357. Visible = "1";
  358. tooltipprofile = "ToolsGuiToolTipProfile";
  359. hovertime = "1000";
  360. canSaveDynamicFields = "1";
  361. class = "ESettingsWindowColor";
  362. className = "ESettingsWindowColor";
  363. editorSettingsRead = "RoadEditorPlugin.readSettings();";
  364. editorSettingsValue = "RoadEditor/SelectedSplineColor";
  365. editorSettingsWrite = "RoadEditorPlugin.writeSettings();";
  366. new GuiTextCtrl() {
  367. text = "Sel. Spline:";
  368. maxLength = "1024";
  369. Margin = "0 0 0 0";
  370. Padding = "0 0 0 0";
  371. AnchorTop = "1";
  372. AnchorBottom = "0";
  373. AnchorLeft = "1";
  374. AnchorRight = "0";
  375. isContainer = "0";
  376. Profile = "ToolsGuiTextRightProfile";
  377. HorizSizing = "right";
  378. VertSizing = "bottom";
  379. position = "0 1";
  380. Extent = "70 16";
  381. MinExtent = "8 2";
  382. canSave = "1";
  383. Visible = "1";
  384. tooltipprofile = "ToolsGuiToolTipProfile";
  385. hovertime = "1000";
  386. canSaveDynamicFields = "1";
  387. };
  388. new GuiTextEditCtrl() {
  389. historySize = "0";
  390. password = "0";
  391. tabComplete = "0";
  392. sinkAllKeyEvents = "0";
  393. passwordMask = "*";
  394. maxLength = "1024";
  395. Margin = "0 0 0 0";
  396. Padding = "0 0 0 0";
  397. AnchorTop = "1";
  398. AnchorBottom = "0";
  399. AnchorLeft = "1";
  400. AnchorRight = "0";
  401. isContainer = "0";
  402. Profile = "ToolsGuiTextEditProfile";
  403. HorizSizing = "width";
  404. VertSizing = "bottom";
  405. position = "80 0";
  406. Extent = "104 18";
  407. MinExtent = "8 2";
  408. canSave = "1";
  409. Visible = "1";
  410. tooltipprofile = "ToolsGuiToolTipProfile";
  411. hovertime = "1000";
  412. internalName = "ColorEdit";
  413. canSaveDynamicFields = "1";
  414. class = "ESettingsWindowColorEdit";
  415. className = "ESettingsWindowColorEdit";
  416. };
  417. new GuiSwatchButtonCtrl() {
  418. color = "1 1 1 1";
  419. groupNum = "-1";
  420. buttonType = "PushButton";
  421. useMouseEvents = "0";
  422. isContainer = "0";
  423. Profile = "ToolsGuiDefaultProfile";
  424. horizSizing = "left";
  425. vertSizing = "bottom";
  426. position = "188 2";
  427. extent = "14 14";
  428. MinExtent = "8 2";
  429. canSave = "1";
  430. Visible = "1";
  431. tooltipprofile = "ToolsGuiToolTipProfile";
  432. hovertime = "1000";
  433. internalName = "ColorButton";
  434. canSaveDynamicFields = "1";
  435. class = "ESettingsWindowColorButton";
  436. className = "ESettingsWindowColorButton";
  437. };
  438. };
  439. };
  440. };
  441. };
  442. };
  443. };
  444. };
  445. //--- OBJECT WRITE END ---