RiverEditorGui.gui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507
  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. canCollapse = "0";
  43. canMove = "0";
  44. internalName = "";
  45. canSaveDynamicFields = "0";
  46. Enabled = "1";
  47. isContainer = "1";
  48. Profile = "ToolsGuiWindowProfile";
  49. HorizSizing = "windowRelative";
  50. VertSizing = "windowRelative";
  51. Position = getWord($pref::Video::mode, 0) - 360
  52. SPC getWord(EditorGuiToolbar.extent, 1) + 6;
  53. Extent = "360 167";
  54. MinExtent = "300 100";
  55. canSave = "1";
  56. isDecoy = "0";
  57. Visible = "1";
  58. tooltipprofile = "ToolsGuiToolTipProfile";
  59. hovertime = "1000";
  60. Margin = "0 0 0 0";
  61. Padding = "0 0 0 0";
  62. AnchorTop = "1";
  63. AnchorBottom = "0";
  64. AnchorLeft = "1";
  65. AnchorRight = "0";
  66. resizeWidth = "1";
  67. resizeHeight = "1";
  68. canClose = "0";
  69. canMinimize = "0";
  70. canMaximize = "0";
  71. minSize = "50 50";
  72. EdgeSnap = "1";
  73. text = ":: River Editor - Rivers";
  74. /*
  75. new GuiBitmapButtonCtrl() {
  76. canSaveDynamicFields = "0";
  77. internalName = "LockSelection";
  78. Enabled = "1";
  79. isContainer = "0";
  80. Profile = "ToolsGuiButtonProfile";
  81. HorizSizing = "left";
  82. VertSizing = "top";
  83. Position = "167 148";
  84. Extent = "16 16";
  85. MinExtent = "8 2";
  86. canSave = "1";
  87. Visible = "1";
  88. Command = "EWorldEditor.lockSelection(true); EditorTree.toggleLock();";
  89. tooltipprofile = "ToolsGuiToolTipProfile";
  90. ToolTip = "World Editor";
  91. hovertime = "1000";
  92. bitmapAsset = "ToolsModule:lock_n_image";
  93. buttonType = "ToggleButton";
  94. groupNum = "-1";
  95. text = "";
  96. useMouseEvents = "0";
  97. };
  98. new GuiBitmapButtonCtrl() {
  99. canSaveDynamicFields = "0";
  100. internalName = "DeleteSelection";
  101. Enabled = "1";
  102. isContainer = "0";
  103. Profile = "ToolsGuiButtonProfile";
  104. HorizSizing = "left";
  105. VertSizing = "top";
  106. Position = "185 148";
  107. Extent = "16 16";
  108. MinExtent = "8 2";
  109. canSave = "1";
  110. Visible = "1";
  111. Command = "EditorMenuEditDelete();";
  112. tooltipprofile = "ToolsGuiToolTipProfile";
  113. ToolTip = "World Editor";
  114. hovertime = "1000";
  115. bitmapAsset = "ToolsModule:delete_n_image";
  116. buttonType = "PushButton";
  117. groupNum = "-1";
  118. text = "";
  119. useMouseEvents = "0";
  120. };
  121. */
  122. new GuiContainer(RiverEditorTreeWPanel){
  123. profile = "ToolsGuiDefaultProfile";
  124. Position = "5 25";
  125. Extent = "200 120";
  126. Docking = "Client";
  127. Margin = "3 1 3 3 ";
  128. HorizSizing = "width";
  129. VertSizing = "height";
  130. isContainer = "1";
  131. new GuiScrollCtrl() {
  132. canSaveDynamicFields = "0";
  133. Enabled = "1";
  134. isContainer = "1";
  135. Profile = "GuiEditorScrollProfile";
  136. HorizSizing = "width";
  137. VertSizing = "height";
  138. Position = "0 0";
  139. Extent = "200 118";
  140. MinExtent = "8 8";
  141. canSave = "1";
  142. isDecoy = "0";
  143. Visible = "1";
  144. tooltipprofile = "ToolsGuiToolTipProfile";
  145. hovertime = "1000";
  146. Docking = "Client";
  147. Margin = "0 0 0 0";
  148. Padding = "0 0 0 0";
  149. AnchorTop = "1";
  150. AnchorBottom = "0";
  151. AnchorLeft = "1";
  152. AnchorRight = "0";
  153. willFirstRespond = "1";
  154. hScrollBar = "alwaysOff";
  155. vScrollBar = "dynamic";
  156. lockHorizScroll = "true";
  157. lockVertScroll = "false";
  158. constantThumbHeight = "0";
  159. childMargin = "0 0";
  160. mouseWheelScrollSpeed = "-1";
  161. new GuiTreeViewCtrl(RiverTreeView) {
  162. canSaveDynamicFields = "0";
  163. Enabled = "1";
  164. isContainer = "1";
  165. Profile = "ToolsGuiTreeViewProfile";
  166. HorizSizing = "right";
  167. VertSizing = "bottom";
  168. Position = "1 1";
  169. Extent = "193 21";
  170. MinExtent = "8 8";
  171. canSave = "1";
  172. Visible = "1";
  173. hovertime = "1000";
  174. tabSize = "16";
  175. textOffset = "2";
  176. fullRowSelect = "0";
  177. itemHeight = "21";
  178. destroyTreeOnSleep = "1";
  179. MouseDragging = "0";
  180. MultipleSelections = "0";
  181. DeleteObjectAllowed = "1";
  182. DragToItemAllowed = "0";
  183. showRoot = "0";
  184. internalNamesOnly = "0";
  185. };
  186. };
  187. };
  188. // window / panel buttons
  189. new GuiBitmapButtonCtrl(RiverEditorGui_UnDockBtn) {
  190. canSaveDynamicFields = "0";
  191. internalName = "";
  192. Enabled = "1";
  193. isContainer = "0";
  194. Profile = "ToolsGuiButtonProfile";
  195. HorizSizing = "left";
  196. VertSizing = "bottom";
  197. Position = "330 1";
  198. Extent = "18 18";
  199. MinExtent = "8 8";
  200. canSave = "1";
  201. Visible = "0";
  202. Command = "RiverEditorGui.releaseSidePanel();";
  203. tooltipprofile = "ToolsGuiToolTipProfile";
  204. ToolTip = "Detach Sidepanel";
  205. hovertime = "1000";
  206. bitmapAsset = "ToolsModule:panel_undock_n_image";
  207. text = "";
  208. groupNum = "-1";
  209. buttonType = "PushButton";
  210. useMouseEvents = "0";
  211. };
  212. new GuiBitmapButtonCtrl(RiverEditorGui_DockBtn) {
  213. canSaveDynamicFields = "0";
  214. internalName = "";
  215. Enabled = "1";
  216. isContainer = "0";
  217. Profile = "ToolsGuiButtonProfile";
  218. HorizSizing = "left";
  219. VertSizing = "bottom";
  220. Position = "330 1";
  221. Extent = "18 18";
  222. MinExtent = "8 8";
  223. canSave = "1";
  224. Visible = "0";
  225. Command = "RiverEditorGui.dockSidePanel();";
  226. tooltipprofile = "ToolsGuiToolTipProfile";
  227. ToolTip = "Dock Sidepanel";
  228. hovertime = "1000";
  229. bitmapAsset = "ToolsModule:panel_dock_n_image";
  230. text = "";
  231. groupNum = "-1";
  232. buttonType = "PushButton";
  233. useMouseEvents = "0";
  234. };
  235. new GuiBitmapButtonCtrl(RiverEditorGui_HideBtn) {
  236. canSaveDynamicFields = "0";
  237. internalName = "";
  238. Enabled = "1";
  239. isContainer = "0";
  240. Profile = "ToolsGuiButtonProfile";
  241. HorizSizing = "left";
  242. VertSizing = "bottom";
  243. Position = "312 1";
  244. Extent = "18 18";
  245. MinExtent = "8 8";
  246. canSave = "1";
  247. Visible = "1";
  248. Command = "RiverEditorGui.hideSidePanel();";
  249. tooltipprofile = "ToolsGuiToolTipProfile";
  250. ToolTip = "Hide Sidepanel";
  251. hovertime = "1000";
  252. bitmapAsset = "ToolsModule:panel_hide_n_image";
  253. text = "";
  254. groupNum = "-1";
  255. buttonType = "PushButton";
  256. useMouseEvents = "0";
  257. };
  258. new GuiBitmapButtonCtrl(RiverEditorGui_ShowBtn) {
  259. canSaveDynamicFields = "0";
  260. internalName = "";
  261. Enabled = "1";
  262. isContainer = "0";
  263. Profile = "ToolsGuiButtonProfile";
  264. HorizSizing = "right";
  265. VertSizing = "bottom";
  266. Position = "4 1";
  267. Extent = "18 18";
  268. MinExtent = "8 8";
  269. canSave = "1";
  270. Visible = "1";
  271. Command = "RiverEditorGui.showSidePanel();";
  272. tooltipprofile = "ToolsGuiToolTipProfile";
  273. ToolTip = "Show Sidepanel";
  274. hovertime = "1000";
  275. bitmapAsset = "ToolsModule:panel_show_n_image";
  276. text = "";
  277. groupNum = "-1";
  278. buttonType = "PushButton";
  279. useMouseEvents = "0";
  280. };
  281. };
  282. new GuiWindowCollapseCtrl(RiverEditorOptionsWindow) {
  283. canCollapse = "0";
  284. canMove = "0";
  285. internalName = "Window";
  286. canSaveDynamicFields = "0";
  287. Enabled = "1";
  288. isContainer = "1";
  289. Profile = "ToolsGuiWindowProfile";
  290. HorizSizing = "windowRelative";
  291. VertSizing = "windowRelative";
  292. Position = getWord($pref::Video::mode, 0) - 360
  293. SPC getWord(EditorGuiToolbar.extent, 1) + getWord(RiverEditorTreeWindow.extent, 1) + 6;
  294. Extent = "360" SPC getWord($pref::Video::mode, 1) - getWord(RiverEditorTreeWindow.extent, 1) - getWord(EditorGuiToolbar.extent, 1) - 65;
  295. MinExtent = "300 300";
  296. canSave = "1";
  297. Visible = "1";
  298. tooltipprofile = "ToolsGuiToolTipProfile";
  299. hovertime = "1000";
  300. Margin = "0 0 0 0";
  301. Padding = "0 0 0 0";
  302. AnchorTop = "0";
  303. AnchorBottom = "0";
  304. AnchorLeft = "0";
  305. AnchorRight = "0";
  306. resizeWidth = "1";
  307. resizeHeight = "1";
  308. canClose = "0";
  309. canMinimize = "0";
  310. canMaximize = "0";
  311. minSize = "50 50";
  312. EdgeSnap = "1";
  313. text = ":: River Editor - Properties";
  314. new GuiContainer(RiverEditorOptionsPanel){ //Node Properties
  315. isContainer = "1";
  316. Profile = "inspectorStyleRolloutDarkProfile";
  317. HorizSizing = "width";
  318. VertSizing = "bottom";
  319. Position = "4 24";
  320. Extent = "202 85";
  321. Docking = "Top";
  322. Margin = "3 3 3 3";
  323. new GuiTextCtrl(){
  324. Profile = "EditorTextProfile";
  325. HorizSizing = "right";
  326. VertSizing = "bottom";
  327. Position = "5 0";
  328. Extent = "86 18";
  329. text = "Node Properties";
  330. };
  331. new GuiTextCtrl(){
  332. Profile = "ToolsGuiTextRightProfile";
  333. HorizSizing = "right";
  334. VertSizing = "bottom";
  335. Position = "7 21";
  336. Extent = "46 18";
  337. text = "Position";
  338. };
  339. new GuiTextEditCtrl(){
  340. internalName = "position";
  341. Profile = "ToolsGuiTextEditProfile";
  342. HorizSizing = "width";
  343. VertSizing = "bottom";
  344. Position = "57 21";
  345. Extent = "141 18";
  346. text = "";
  347. AltCommand = "RiverEditorGui.editNodeDetails();";
  348. };
  349. new GuiTextCtrl(){
  350. Profile = "ToolsGuiTextRightProfile";
  351. HorizSizing = "right";
  352. VertSizing = "bottom";
  353. Position = "7 42";
  354. Extent = "46 18";
  355. text = "Rotation";
  356. };
  357. new GuiTextEditCtrl(){
  358. internalName = "rotation";
  359. Profile = "ToolsGuiTextEditProfile";
  360. HorizSizing = "width";
  361. VertSizing = "bottom";
  362. Position = "57 42";
  363. Extent = "141 18";
  364. text = "";
  365. AltCommand = "RiverEditorGui.editNodeDetails();";
  366. };
  367. new GuiTextCtrl(){
  368. Profile = "ToolsGuiTextRightProfile";
  369. HorizSizing = "right";
  370. VertSizing = "bottom";
  371. Position = "7 63";
  372. Extent = "46 18";
  373. text = "Width";
  374. };
  375. new GuiTextEditCtrl(){
  376. internalName = "width";
  377. Profile = "ToolsGuiTextEditProfile";
  378. HorizSizing = "right";
  379. VertSizing = "bottom";
  380. Position = "57 63";
  381. Extent = "52 18";
  382. text = "";
  383. AltCommand = "RiverEditorGui.editNodeDetails();";
  384. };
  385. new GuiTextCtrl(){
  386. Profile = "ToolsGuiTextRightProfile";
  387. HorizSizing = "left";
  388. VertSizing = "bottom";
  389. Position = "110 63";
  390. Extent = "32 18";
  391. text = "Depth";
  392. };
  393. new GuiTextEditCtrl(){
  394. internalName = "depth";
  395. Profile = "ToolsGuiTextEditProfile";
  396. HorizSizing = "left";
  397. VertSizing = "bottom";
  398. Position = "146 63";
  399. Extent = "52 18";
  400. text = "";
  401. AltCommand = "RiverEditorGui.editNodeDetails();";
  402. };
  403. };
  404. new GuiContainer(RiverEditorPropPanel){ //River Properties
  405. isContainer = "1";
  406. Profile = "inspectorStyleRolloutDarkProfile";
  407. HorizSizing = "width";
  408. VertSizing = "bottom";
  409. Position = "4 112";
  410. Extent = "202 31";
  411. Docking = "Top";
  412. Margin = "0 0 3 3";
  413. new GuiTextCtrl(){
  414. Profile = "EditorTextProfile";
  415. HorizSizing = "right";
  416. VertSizing = "bottom";
  417. Position = "5 0";
  418. Extent = "121 18";
  419. text = "River Properties";
  420. };
  421. };
  422. new GuiScrollCtrl(RiverEditorPropScroll) {
  423. canSaveDynamicFields = "0";
  424. Enabled = "1";
  425. isContainer = "1";
  426. Profile = "GuiEditorScrollProfile";
  427. HorizSizing = "width";
  428. VertSizing = "height";
  429. Position = "4 129";
  430. Extent = "202 357";
  431. MinExtent = "8 2";
  432. canSave = "1";
  433. Visible = "1";
  434. tooltipprofile = "ToolsGuiToolTipProfile";
  435. hovertime = "1000";
  436. Docking = "Client";
  437. Margin = "-14 41 3 3";
  438. Padding = "0 0 0 0";
  439. AnchorTop = "0";
  440. AnchorBottom = "0";
  441. AnchorLeft = "0";
  442. AnchorRight = "0";
  443. willFirstRespond = "1";
  444. hScrollBar = "alwaysOff";
  445. vScrollBar = "dynamic";
  446. lockHorizScroll = "true";
  447. lockVertScroll = "false";
  448. constantThumbHeight = "0";
  449. childMargin = "0 0";
  450. new GuiInspector(RiverInspector) {
  451. StackingType = "Vertical";
  452. HorizStacking = "Left to Right";
  453. VertStacking = "Top to Bottom";
  454. Padding = "1";
  455. name = "RiverInspector";
  456. canSaveDynamicFields = "0";
  457. Enabled = "1";
  458. isContainer = "1";
  459. Profile = "ToolsGuiTransparentProfile";
  460. HorizSizing = "width";
  461. VertSizing = "height";
  462. Position = "1 1";
  463. Extent = "178 16";
  464. MinExtent = "16 16";
  465. canSave = "1";
  466. Visible = "1";
  467. tooltipprofile = "ToolsGuiToolTipProfile";
  468. hovertime = "1000";
  469. dividerMargin = "5";
  470. };
  471. };
  472. new GuiMLTextCtrl(RiverFieldInfoControl) {
  473. canSaveDynamicFields = "0";
  474. Enabled = "1";
  475. isContainer = "0";
  476. position = "8" SPC getWord(RiverEditorOptionsWindow.extent, 1) - 40;
  477. HorizSizing = "width";
  478. VertSizing = "top";
  479. Position = "1 485";
  480. Extent = "330 42";
  481. MinExtent = "8 2";
  482. canSave = "1";
  483. Visible = "1";
  484. tooltipprofile = "ToolsGuiToolTipProfile";
  485. hovertime = "1000";
  486. lineSpacing = "2";
  487. allowColorChars = "0";
  488. maxChars = "-1";
  489. useURLMouseCursor = "0";
  490. };
  491. };
  492. };
  493. //--- OBJECT WRITE END ---