meshRoadEditorGui.gui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiMeshRoadEditorCtrl(MeshRoadEditorGui,EditorGuiGroup) {
  3. canSaveDynamicFields = "0";
  4. Enabled = "1";
  5. isContainer = "1";
  6. Profile = "MeshRoadEditorProfile";
  7. HorizSizing = "width";
  8. VertSizing = "height";
  9. Position = "0 0";
  10. Extent = "800 600";
  11. MinExtent = "8 8";
  12. canSave = "1";
  13. Visible = "1";
  14. tooltipprofile = "ToolsGuiToolTipProfile";
  15. hovertime = "1000";
  16. Docking = "None";
  17. Margin = "0 0 0 0";
  18. Padding = "0 0 0 0";
  19. AnchorTop = "0";
  20. AnchorBottom = "0";
  21. AnchorLeft = "0";
  22. AnchorRight = "0";
  23. cameraZRot = "0";
  24. forceFOV = "0";
  25. renderMissionArea = "0";
  26. missionAreaFillColor = "255 0 0 20";
  27. missionAreaFrameColor = "255 0 0 128";
  28. allowBorderMove = "0";
  29. borderMovePixelSize = "20";
  30. borderMoveSpeed = "0.1";
  31. consoleFrameColor = "255 0 0 255";
  32. consoleFillColor = "0 0 0 0";
  33. consoleSphereLevel = "1";
  34. consoleCircleSegments = "32";
  35. consoleLineWidth = "1";
  36. GizmoProfile = "GlobalGizmoProfile";
  37. DefaultWidth = "10";
  38. HoverSplineColor = "0 255 0 255";
  39. SelectedSplineColor = "255 0 255 255";
  40. HoverNodeColor = "255 255 255 255";
  41. new GuiWindowCollapseCtrl(MeshRoadEditorTreeWindow) {
  42. internalName = "";
  43. canSaveDynamicFields = "0";
  44. Enabled = "1";
  45. isContainer = "1";
  46. Profile = "ToolsGuiWindowProfile";
  47. HorizSizing = "windowRelative";
  48. VertSizing = "windowRelative";
  49. Position = getWord($pref::Video::mode, 0) - 209
  50. SPC getWord(EditorGuiToolbar.extent, 1) - 1;
  51. Extent = "210 167";
  52. MinExtent = "210 100";
  53. canSave = "1";
  54. Visible = "1";
  55. tooltipprofile = "ToolsGuiToolTipProfile";
  56. hovertime = "1000";
  57. Margin = "0 0 0 0";
  58. Padding = "0 0 0 0";
  59. AnchorTop = "1";
  60. AnchorBottom = "0";
  61. AnchorLeft = "1";
  62. AnchorRight = "0";
  63. resizeWidth = "1";
  64. resizeHeight = "1";
  65. canMove = "1";
  66. canClose = "0";
  67. canMinimize = "0";
  68. canMaximize = "0";
  69. minSize = "50 50";
  70. closeCommand = "EditorGui.setEditor( WorldEditorInspectorPlugin );";
  71. EdgeSnap = "1";
  72. text = "Mesh Roads";
  73. new GuiContainer(){
  74. profile = "ToolsGuiDefaultProfile";
  75. Position = "5 25";
  76. Extent = "200 120";
  77. Docking = "Client";
  78. Margin = "3 1 3 3 ";
  79. HorizSizing = "width";
  80. VertSizing = "height";
  81. isContainer = "1";
  82. new GuiScrollCtrl() {
  83. canSaveDynamicFields = "0";
  84. Enabled = "1";
  85. isContainer = "1";
  86. Profile = "GuiEditorScrollProfile";
  87. HorizSizing = "width";
  88. VertSizing = "height";
  89. Position = "0 0";
  90. Extent = "200 118";
  91. MinExtent = "8 8";
  92. canSave = "1";
  93. isDecoy = "0";
  94. Visible = "1";
  95. tooltipprofile = "ToolsGuiToolTipProfile";
  96. hovertime = "1000";
  97. Docking = "Client";
  98. Margin = "0 0 0 0";
  99. Padding = "0 0 0 0";
  100. AnchorTop = "1";
  101. AnchorBottom = "0";
  102. AnchorLeft = "1";
  103. AnchorRight = "0";
  104. willFirstRespond = "1";
  105. hScrollBar = "alwaysOff";
  106. vScrollBar = "dynamic";
  107. lockHorizScroll = "true";
  108. lockVertScroll = "false";
  109. constantThumbHeight = "0";
  110. childMargin = "0 0";
  111. mouseWheelScrollSpeed = "-1";
  112. new GuiTreeViewCtrl(MeshRoadTreeView) {
  113. canSaveDynamicFields = "0";
  114. Enabled = "1";
  115. isContainer = "1";
  116. Profile = "ToolsGuiTreeViewProfile";
  117. HorizSizing = "right";
  118. VertSizing = "bottom";
  119. Position = "1 1";
  120. Extent = "193 21";
  121. MinExtent = "8 8";
  122. canSave = "1";
  123. Visible = "1";
  124. hovertime = "1000";
  125. tabSize = "16";
  126. textOffset = "2";
  127. fullRowSelect = "0";
  128. itemHeight = "21";
  129. destroyTreeOnSleep = "1";
  130. MouseDragging = "0";
  131. MultipleSelections = "0";
  132. DeleteObjectAllowed = "1";
  133. DragToItemAllowed = "0";
  134. showRoot = "0";
  135. internalNamesOnly = "0";
  136. };
  137. };
  138. };
  139. };
  140. new GuiWindowCollapseCtrl(MeshRoadEditorOptionsWindow) {
  141. internalName = "Window";
  142. canSaveDynamicFields = "0";
  143. Enabled = "1";
  144. isContainer = "1";
  145. Profile = "ToolsGuiWindowProfile";
  146. HorizSizing = "windowRelative";
  147. VertSizing = "windowRelative";
  148. Position = getWord($pref::Video::mode, 0) - 209
  149. SPC getWord(EditorGuiToolbar.extent, 1) + getWord(MeshRoadEditorTreeWindow.extent, 1) - 2;
  150. Extent = "210 530";
  151. MinExtent = "210 298";
  152. canSave = "1";
  153. Visible = "1";
  154. tooltipprofile = "ToolsGuiToolTipProfile";
  155. hovertime = "1000";
  156. Margin = "0 0 0 0";
  157. Padding = "0 0 0 0";
  158. AnchorTop = "1";
  159. AnchorBottom = "0";
  160. AnchorLeft = "1";
  161. AnchorRight = "0";
  162. resizeWidth = "1";
  163. resizeHeight = "1";
  164. canMove = "1";
  165. canClose = "0";
  166. canMinimize = "0";
  167. canMaximize = "0";
  168. minSize = "50 50";
  169. closeCommand = "EditorGui.setEditor( WorldEditorPlugin );";
  170. EdgeSnap = "1";
  171. text = "Properties";
  172. new GuiContainer(){ //Node Properties
  173. isContainer = "1";
  174. Profile = "inspectorStyleRolloutDarkProfile";
  175. HorizSizing = "width";
  176. VertSizing = "bottom";
  177. Position = "4 24";
  178. Extent = "202 85";
  179. Docking = "Top";
  180. Margin = "3 3 3 3";
  181. new GuiTextCtrl(){
  182. Profile = "ToolsGuiDefaultProfile";
  183. HorizSizing = "right";
  184. VertSizing = "bottom";
  185. Position = "5 0";
  186. Extent = "86 18";
  187. text = "Node Properties";
  188. };
  189. new GuiTextCtrl(){
  190. Profile = "ToolsGuiTextRightProfile";
  191. HorizSizing = "right";
  192. VertSizing = "bottom";
  193. Position = "7 21";
  194. Extent = "46 18";
  195. text = "Position";
  196. };
  197. new GuiTextEditCtrl(){
  198. internalName = "position";
  199. Profile = "ToolsGuiTextEditProfile";
  200. HorizSizing = "width";
  201. VertSizing = "bottom";
  202. Position = "57 21";
  203. Extent = "141 18";
  204. text = "";
  205. AltCommand = "MeshRoadEditorGui.editNodeDetails();";
  206. };
  207. new GuiTextCtrl(){
  208. Profile = "ToolsGuiTextRightProfile";
  209. HorizSizing = "right";
  210. VertSizing = "bottom";
  211. Position = "7 42";
  212. Extent = "46 18";
  213. text = "Rotation";
  214. };
  215. new GuiTextEditCtrl(){
  216. internalName = "rotation";
  217. Profile = "ToolsGuiTextEditProfile";
  218. HorizSizing = "width";
  219. VertSizing = "bottom";
  220. Position = "57 42";
  221. Extent = "141 18";
  222. text = "";
  223. AltCommand = "MeshRoadEditorGui.editNodeDetails();";
  224. };
  225. new GuiTextCtrl(){
  226. Profile = "ToolsGuiTextRightProfile";
  227. HorizSizing = "right";
  228. VertSizing = "bottom";
  229. Position = "7 63";
  230. Extent = "46 18";
  231. text = "Width";
  232. };
  233. new GuiTextEditCtrl(){
  234. internalName = "width";
  235. Profile = "ToolsGuiTextEditProfile";
  236. HorizSizing = "right";
  237. VertSizing = "bottom";
  238. Position = "57 63";
  239. Extent = "52 18";
  240. text = "";
  241. AltCommand = "MeshRoadEditorGui.editNodeDetails();";
  242. };
  243. new GuiTextCtrl(){
  244. Profile = "ToolsGuiTextRightProfile";
  245. HorizSizing = "left";
  246. VertSizing = "bottom";
  247. Position = "110 63";
  248. Extent = "32 18";
  249. text = "Depth";
  250. };
  251. new GuiTextEditCtrl(){
  252. internalName = "depth";
  253. Profile = "ToolsGuiTextEditProfile";
  254. HorizSizing = "left";
  255. VertSizing = "bottom";
  256. Position = "146 63";
  257. Extent = "52 18";
  258. text = "";
  259. AltCommand = "MeshRoadEditorGui.editNodeDetails();";
  260. };
  261. };
  262. new GuiContainer(){ //Mesh Road Properties
  263. isContainer = "1";
  264. Profile = "inspectorStyleRolloutDarkProfile";
  265. HorizSizing = "width";
  266. VertSizing = "bottom";
  267. Position = "4 112";
  268. Extent = "202 31";
  269. Docking = "Top";
  270. Margin = "0 0 3 3";
  271. new GuiTextCtrl(){
  272. Profile = "ToolsGuiDefaultProfile";
  273. HorizSizing = "right";
  274. VertSizing = "bottom";
  275. Position = "5 0";
  276. Extent = "121 18";
  277. text = "Mesh Road Properties";
  278. };
  279. };
  280. new GuiScrollCtrl() {
  281. canSaveDynamicFields = "0";
  282. Enabled = "1";
  283. isContainer = "1";
  284. Profile = "GuiEditorScrollProfile";
  285. HorizSizing = "width";
  286. VertSizing = "height";
  287. Position = "4 129";
  288. Extent = "202 357";
  289. MinExtent = "8 2";
  290. canSave = "1";
  291. Visible = "1";
  292. tooltipprofile = "ToolsGuiToolTipProfile";
  293. hovertime = "1000";
  294. Docking = "Client";
  295. Margin = "-14 41 3 3";
  296. Padding = "0 0 0 0";
  297. AnchorTop = "1";
  298. AnchorBottom = "0";
  299. AnchorLeft = "1";
  300. AnchorRight = "0";
  301. willFirstRespond = "1";
  302. hScrollBar = "alwaysOff";
  303. vScrollBar = "dynamic";
  304. lockHorizScroll = "true";
  305. lockVertScroll = "false";
  306. constantThumbHeight = "0";
  307. childMargin = "0 0";
  308. new GuiInspector(MeshRoadInspector) {
  309. StackingType = "Vertical";
  310. HorizStacking = "Left to Right";
  311. VertStacking = "Top to Bottom";
  312. Padding = "1";
  313. name = "MeshRoadInspector";
  314. canSaveDynamicFields = "0";
  315. Enabled = "1";
  316. isContainer = "1";
  317. Profile = "ToolsGuiTransparentProfile";
  318. HorizSizing = "right";
  319. VertSizing = "bottom";
  320. Position = "1 1";
  321. Extent = "179 16";
  322. MinExtent = "16 16";
  323. canSave = "1";
  324. Visible = "1";
  325. tooltipprofile = "ToolsGuiToolTipProfile";
  326. hovertime = "1000";
  327. dividerMargin = "5";
  328. };
  329. };
  330. new GuiMLTextCtrl(MeshFieldInfoControl) {
  331. canSaveDynamicFields = "0";
  332. Enabled = "1";
  333. isContainer = "0";
  334. Profile = "GuiInspectorFieldInfoMLTextProfile";
  335. HorizSizing = "width";
  336. VertSizing = "top";
  337. Position = "1 485";
  338. Extent = "202 42";
  339. MinExtent = "8 2";
  340. canSave = "1";
  341. Visible = "1";
  342. tooltipprofile = "ToolsGuiToolTipProfile";
  343. hovertime = "1000";
  344. lineSpacing = "2";
  345. allowColorChars = "0";
  346. maxChars = "-1";
  347. useURLMouseCursor = "0";
  348. };
  349. };
  350. };
  351. //--- OBJECT WRITE END ---