RiverEditorGui.gui 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiRiverEditorCtrl(RiverEditorGui, EditorGuiGroup) {
  3. canSaveDynamicFields = "0";
  4. Enabled = "1";
  5. isContainer = "1";
  6. Profile = "RiverEditorProfile";
  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(RiverEditorTreeWindow) {
  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. isDecoy = "0";
  55. Visible = "1";
  56. tooltipprofile = "ToolsGuiToolTipProfile";
  57. hovertime = "1000";
  58. Margin = "0 0 0 0";
  59. Padding = "0 0 0 0";
  60. AnchorTop = "1";
  61. AnchorBottom = "0";
  62. AnchorLeft = "1";
  63. AnchorRight = "0";
  64. resizeWidth = "1";
  65. resizeHeight = "1";
  66. canMove = "1";
  67. canClose = "0";
  68. canMinimize = "0";
  69. canMaximize = "0";
  70. minSize = "50 50";
  71. EdgeSnap = "1";
  72. text = "Rivers";
  73. /*
  74. new GuiBitmapButtonCtrl() {
  75. canSaveDynamicFields = "0";
  76. internalName = "LockSelection";
  77. Enabled = "1";
  78. isContainer = "0";
  79. Profile = "ToolsGuiButtonProfile";
  80. HorizSizing = "left";
  81. VertSizing = "top";
  82. Position = "167 148";
  83. Extent = "16 16";
  84. MinExtent = "8 2";
  85. canSave = "1";
  86. Visible = "1";
  87. Command = "EWorldEditor.lockSelection(true); EditorTree.toggleLock();";
  88. tooltipprofile = "ToolsGuiToolTipProfile";
  89. ToolTip = "World Editor";
  90. hovertime = "1000";
  91. bitmap = "tools/gui/images/lock";
  92. buttonType = "ToggleButton";
  93. groupNum = "-1";
  94. text = "";
  95. useMouseEvents = "0";
  96. };
  97. new GuiBitmapButtonCtrl() {
  98. canSaveDynamicFields = "0";
  99. internalName = "DeleteSelection";
  100. Enabled = "1";
  101. isContainer = "0";
  102. Profile = "ToolsGuiButtonProfile";
  103. HorizSizing = "left";
  104. VertSizing = "top";
  105. Position = "185 148";
  106. Extent = "16 16";
  107. MinExtent = "8 2";
  108. canSave = "1";
  109. Visible = "1";
  110. Command = "EditorMenuEditDelete();";
  111. tooltipprofile = "ToolsGuiToolTipProfile";
  112. ToolTip = "World Editor";
  113. hovertime = "1000";
  114. bitmap = "tools/gui/images/delete";
  115. buttonType = "PushButton";
  116. groupNum = "-1";
  117. text = "";
  118. useMouseEvents = "0";
  119. };
  120. */
  121. new GuiContainer(){
  122. profile = "ToolsGuiDefaultProfile";
  123. Position = "5 25";
  124. Extent = "200 120";
  125. Docking = "Client";
  126. Margin = "3 1 3 3 ";
  127. HorizSizing = "width";
  128. VertSizing = "height";
  129. isContainer = "1";
  130. new GuiScrollCtrl() {
  131. canSaveDynamicFields = "0";
  132. Enabled = "1";
  133. isContainer = "1";
  134. Profile = "GuiEditorScrollProfile";
  135. HorizSizing = "width";
  136. VertSizing = "height";
  137. Position = "0 0";
  138. Extent = "200 118";
  139. MinExtent = "8 8";
  140. canSave = "1";
  141. isDecoy = "0";
  142. Visible = "1";
  143. tooltipprofile = "ToolsGuiToolTipProfile";
  144. hovertime = "1000";
  145. Docking = "Client";
  146. Margin = "0 0 0 0";
  147. Padding = "0 0 0 0";
  148. AnchorTop = "1";
  149. AnchorBottom = "0";
  150. AnchorLeft = "1";
  151. AnchorRight = "0";
  152. willFirstRespond = "1";
  153. hScrollBar = "alwaysOff";
  154. vScrollBar = "dynamic";
  155. lockHorizScroll = "true";
  156. lockVertScroll = "false";
  157. constantThumbHeight = "0";
  158. childMargin = "0 0";
  159. mouseWheelScrollSpeed = "-1";
  160. new GuiTreeViewCtrl(RiverTreeView) {
  161. canSaveDynamicFields = "0";
  162. Enabled = "1";
  163. isContainer = "1";
  164. Profile = "ToolsGuiTreeViewProfile";
  165. HorizSizing = "right";
  166. VertSizing = "bottom";
  167. Position = "1 1";
  168. Extent = "193 21";
  169. MinExtent = "8 8";
  170. canSave = "1";
  171. Visible = "1";
  172. hovertime = "1000";
  173. tabSize = "16";
  174. textOffset = "2";
  175. fullRowSelect = "0";
  176. itemHeight = "21";
  177. destroyTreeOnSleep = "1";
  178. MouseDragging = "0";
  179. MultipleSelections = "0";
  180. DeleteObjectAllowed = "1";
  181. DragToItemAllowed = "0";
  182. showRoot = "0";
  183. internalNamesOnly = "0";
  184. };
  185. };
  186. };
  187. };
  188. new GuiWindowCollapseCtrl(RiverEditorOptionsWindow) {
  189. internalName = "Window";
  190. canSaveDynamicFields = "0";
  191. Enabled = "1";
  192. isContainer = "1";
  193. Profile = "ToolsGuiWindowProfile";
  194. HorizSizing = "windowRelative";
  195. VertSizing = "windowRelative";
  196. Position = getWord($pref::Video::mode, 0) - 209
  197. SPC getWord(EditorGuiToolbar.extent, 1) + getWord(RiverEditorTreeWindow.extent, 1) - 2;
  198. Extent = "210 530";
  199. MinExtent = "210 300";
  200. canSave = "1";
  201. Visible = "1";
  202. tooltipprofile = "ToolsGuiToolTipProfile";
  203. hovertime = "1000";
  204. Margin = "0 0 0 0";
  205. Padding = "0 0 0 0";
  206. AnchorTop = "0";
  207. AnchorBottom = "0";
  208. AnchorLeft = "0";
  209. AnchorRight = "0";
  210. resizeWidth = "1";
  211. resizeHeight = "1";
  212. canMove = "1";
  213. canClose = "0";
  214. canMinimize = "0";
  215. canMaximize = "0";
  216. minSize = "50 50";
  217. EdgeSnap = "1";
  218. text = "Properties";
  219. new GuiContainer(){ //Node Properties
  220. isContainer = "1";
  221. Profile = "inspectorStyleRolloutDarkProfile";
  222. HorizSizing = "width";
  223. VertSizing = "bottom";
  224. Position = "4 24";
  225. Extent = "202 85";
  226. Docking = "Top";
  227. Margin = "3 3 3 3";
  228. new GuiTextCtrl(){
  229. Profile = "ToolsGuiDefaultProfile";
  230. HorizSizing = "right";
  231. VertSizing = "bottom";
  232. Position = "5 0";
  233. Extent = "86 18";
  234. text = "Node Properties";
  235. };
  236. new GuiTextCtrl(){
  237. Profile = "ToolsGuiTextRightProfile";
  238. HorizSizing = "right";
  239. VertSizing = "bottom";
  240. Position = "7 21";
  241. Extent = "46 18";
  242. text = "Position";
  243. };
  244. new GuiTextEditCtrl(){
  245. internalName = "position";
  246. Profile = "ToolsGuiTextEditProfile";
  247. HorizSizing = "width";
  248. VertSizing = "bottom";
  249. Position = "57 21";
  250. Extent = "141 18";
  251. text = "";
  252. AltCommand = "RiverEditorGui.editNodeDetails();";
  253. };
  254. new GuiTextCtrl(){
  255. Profile = "ToolsGuiTextRightProfile";
  256. HorizSizing = "right";
  257. VertSizing = "bottom";
  258. Position = "7 42";
  259. Extent = "46 18";
  260. text = "Rotation";
  261. };
  262. new GuiTextEditCtrl(){
  263. internalName = "rotation";
  264. Profile = "ToolsGuiTextEditProfile";
  265. HorizSizing = "width";
  266. VertSizing = "bottom";
  267. Position = "57 42";
  268. Extent = "141 18";
  269. text = "";
  270. AltCommand = "RiverEditorGui.editNodeDetails();";
  271. };
  272. new GuiTextCtrl(){
  273. Profile = "ToolsGuiTextRightProfile";
  274. HorizSizing = "right";
  275. VertSizing = "bottom";
  276. Position = "7 63";
  277. Extent = "46 18";
  278. text = "Width";
  279. };
  280. new GuiTextEditCtrl(){
  281. internalName = "width";
  282. Profile = "ToolsGuiTextEditProfile";
  283. HorizSizing = "right";
  284. VertSizing = "bottom";
  285. Position = "57 63";
  286. Extent = "52 18";
  287. text = "";
  288. AltCommand = "RiverEditorGui.editNodeDetails();";
  289. };
  290. new GuiTextCtrl(){
  291. Profile = "ToolsGuiTextRightProfile";
  292. HorizSizing = "left";
  293. VertSizing = "bottom";
  294. Position = "110 63";
  295. Extent = "32 18";
  296. text = "Depth";
  297. };
  298. new GuiTextEditCtrl(){
  299. internalName = "depth";
  300. Profile = "ToolsGuiTextEditProfile";
  301. HorizSizing = "left";
  302. VertSizing = "bottom";
  303. Position = "146 63";
  304. Extent = "52 18";
  305. text = "";
  306. AltCommand = "RiverEditorGui.editNodeDetails();";
  307. };
  308. };
  309. new GuiContainer(){ //River Properties
  310. isContainer = "1";
  311. Profile = "inspectorStyleRolloutDarkProfile";
  312. HorizSizing = "width";
  313. VertSizing = "bottom";
  314. Position = "4 112";
  315. Extent = "202 31";
  316. Docking = "Top";
  317. Margin = "0 0 3 3";
  318. new GuiTextCtrl(){
  319. Profile = "ToolsGuiDefaultProfile";
  320. HorizSizing = "right";
  321. VertSizing = "bottom";
  322. Position = "5 0";
  323. Extent = "121 18";
  324. text = "River Properties";
  325. };
  326. };
  327. new GuiScrollCtrl() {
  328. canSaveDynamicFields = "0";
  329. Enabled = "1";
  330. isContainer = "1";
  331. Profile = "GuiEditorScrollProfile";
  332. HorizSizing = "width";
  333. VertSizing = "height";
  334. Position = "4 129";
  335. Extent = "202 357";
  336. MinExtent = "8 2";
  337. canSave = "1";
  338. Visible = "1";
  339. tooltipprofile = "ToolsGuiToolTipProfile";
  340. hovertime = "1000";
  341. Docking = "Client";
  342. Margin = "-14 41 3 3";
  343. Padding = "0 0 0 0";
  344. AnchorTop = "0";
  345. AnchorBottom = "0";
  346. AnchorLeft = "0";
  347. AnchorRight = "0";
  348. willFirstRespond = "1";
  349. hScrollBar = "alwaysOff";
  350. vScrollBar = "dynamic";
  351. lockHorizScroll = "true";
  352. lockVertScroll = "false";
  353. constantThumbHeight = "0";
  354. childMargin = "0 0";
  355. new GuiInspector(RiverInspector) {
  356. StackingType = "Vertical";
  357. HorizStacking = "Left to Right";
  358. VertStacking = "Top to Bottom";
  359. Padding = "1";
  360. name = "RiverInspector";
  361. canSaveDynamicFields = "0";
  362. Enabled = "1";
  363. isContainer = "1";
  364. Profile = "ToolsGuiTransparentProfile";
  365. HorizSizing = "width";
  366. VertSizing = "height";
  367. Position = "1 1";
  368. Extent = "178 16";
  369. MinExtent = "16 16";
  370. canSave = "1";
  371. Visible = "1";
  372. tooltipprofile = "ToolsGuiToolTipProfile";
  373. hovertime = "1000";
  374. dividerMargin = "5";
  375. };
  376. };
  377. new GuiMLTextCtrl(RiverFieldInfoControl) {
  378. canSaveDynamicFields = "0";
  379. Enabled = "1";
  380. isContainer = "0";
  381. Profile = "GuiInspectorFieldInfoMLTextProfile";
  382. HorizSizing = "width";
  383. VertSizing = "top";
  384. Position = "1 485";
  385. Extent = "202 42";
  386. MinExtent = "8 2";
  387. canSave = "1";
  388. Visible = "1";
  389. tooltipprofile = "ToolsGuiToolTipProfile";
  390. hovertime = "1000";
  391. lineSpacing = "2";
  392. allowColorChars = "0";
  393. maxChars = "-1";
  394. useURLMouseCursor = "0";
  395. };
  396. };
  397. };
  398. //--- OBJECT WRITE END ---