decalEditorGui.gui 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiDecalEditorCtrl(DecalEditorGui) {
  3. canSaveDynamicFields = "0";
  4. Enabled = "1";
  5. isContainer = "1";
  6. Profile = "WorldEditorProfile";
  7. HorizSizing = "width";
  8. VertSizing = "height";
  9. Position = "0 0";
  10. Extent = "800 600";
  11. MinExtent = "8 2";
  12. canSave = "1";
  13. isDecoy = "0";
  14. Visible = "1";
  15. tooltipprofile = "ToolsGuiToolTipProfile";
  16. hovertime = "1000";
  17. Margin = "0 0 0 0";
  18. Padding = "0 0 0 0";
  19. AnchorTop = "1";
  20. AnchorBottom = "0";
  21. AnchorLeft = "1";
  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 = "255 0 0 120";
  33. consoleSphereLevel = "1";
  34. consoleCircleSegments = "32";
  35. consoleLineWidth = "1";
  36. GizmoProfile = "GlobalGizmoProfile";
  37. currentDecalID = "175";
  38. Docking = "None";
  39. new GuiWindowCollapseCtrl(DecalEditorWindow) {
  40. canCollapse = "0";
  41. canMove = "0";
  42. canSaveDynamicFields = "0";
  43. Enabled = "1";
  44. isContainer = "1";
  45. Profile = "ToolsGuiWindowProfile";
  46. HorizSizing = "windowRelative";
  47. VertSizing = "windowRelative";
  48. Position = getWord($pref::Video::mode, 0) - 360
  49. SPC getWord(EditorGuiToolbar.extent, 1) + 6;
  50. Extent = "360 300";
  51. MinExtent = "300 180";
  52. canSave = "1";
  53. isDecoy = "0";
  54. Visible = "1";
  55. tooltipprofile = "ToolsGuiToolTipProfile";
  56. hovertime = "1000";
  57. Margin = "0 0 0 0";
  58. Padding = "2 2 2 2";
  59. AnchorTop = "1";
  60. AnchorBottom = "0";
  61. AnchorLeft = "1";
  62. AnchorRight = "0";
  63. resizeWidth = "1";
  64. resizeHeight = "1";
  65. canClose = "0";
  66. canMinimize = "0";
  67. canMaximize = "0";
  68. minSize = "50 50";
  69. closeCommand = "EditorGui.setEditor( WorldEditorInspectorPlugin );";
  70. EdgeSnap = "1";
  71. text = ":: Decal Editor";
  72. new GuiTabBookCtrl(DecalEditorTabBook) {
  73. canSaveDynamicFields = "0";
  74. isContainer = "1";
  75. Profile = "ToolsGuiTabBookProfile";
  76. HorizSizing = "width";
  77. VertSizing = "height";
  78. position = "0 0";
  79. Extent = "340 502";
  80. MinExtent = "8 2";
  81. canSave = "1";
  82. Visible = "1";
  83. hovertime = "1000";
  84. Margin = "3 1 3 3";
  85. Docking = "client";
  86. Padding = "0 0 0 0";
  87. AnchorTop = "1";
  88. AnchorBottom = "0";
  89. AnchorLeft = "1";
  90. AnchorRight = "0";
  91. TabPosition = "Top";
  92. TabMargin = "0";
  93. MinTabWidth = "64";
  94. new GuiTabPageCtrl(LibraryTabControl) {
  95. canSaveDynamicFields = "0";
  96. Enabled = "1";
  97. isContainer = "1";
  98. Profile = "ToolsGuiEditorTabPage";
  99. HorizSizing = "width";
  100. VertSizing = "height";
  101. position = "0 0";
  102. Extent = "340 483";
  103. Docking = "client";
  104. MinExtent = "8 2";
  105. canSave = "1";
  106. Visible = "1";
  107. hovertime = "1000";
  108. Margin = "-1 0 0 0";
  109. Padding = "0 0 0 0";
  110. AnchorTop = "1";
  111. AnchorBottom = "0";
  112. AnchorLeft = "1";
  113. AnchorRight = "0";
  114. text = "Library";
  115. maxLength = "1024";
  116. new GuiContainer() {
  117. isContainer = "1";
  118. HorizSizing = "width";
  119. VertSizing = "height";
  120. Position = "0 0";
  121. Extent = "340 483";
  122. Margin = "0 0 0 0";
  123. Docking = "client";
  124. MinExtent = "0 8";
  125. Profile = "GuiInspectorProfile";
  126. new GuiBitmapBorderCtrl() {
  127. isContainer = "1";
  128. HorizSizing = "width";
  129. VertSizing = "height";
  130. Position = "0 0";
  131. Extent = "340 483";
  132. MinExtent = "0 -500";
  133. Profile = "ToolsGuiTabBorderProfile";
  134. };
  135. };
  136. new GuiScrollCtrl() {
  137. canSaveDynamicFields = "0";
  138. Enabled = "1";
  139. isContainer = "1";
  140. Profile = "ToolsGuiScrollProfile";
  141. HorizSizing = "width";
  142. VertSizing = "height";
  143. Position = "0 0";
  144. Extent = "340 483";
  145. MinExtent = "8 2";
  146. canSave = "1";
  147. isDecoy = "0";
  148. Visible = "1";
  149. tooltipprofile = "ToolsGuiDefaultProfile";
  150. hovertime = "1000";
  151. Margin = "0 0 0 0";
  152. Padding = "0 0 0 0";
  153. AnchorTop = "1";
  154. AnchorBottom = "0";
  155. AnchorLeft = "1";
  156. AnchorRight = "0";
  157. willFirstRespond = "1";
  158. hScrollBar = "alwaysOff";
  159. vScrollBar = "dynamic";
  160. lockHorizScroll = "true";
  161. lockVertScroll = "false";
  162. constantThumbHeight = "0";
  163. childMargin = "0 0";
  164. new GuiListBoxCtrl(DecalDataList) {
  165. canSaveDynamicFields = "0";
  166. Enabled = "1";
  167. isContainer = "0";
  168. Profile = "ToolsGuiListBoxProfile";
  169. HorizSizing = "width";
  170. VertSizing = "bottom";
  171. Position = "0 0";
  172. Extent = "340 48";
  173. MinExtent = "8 2";
  174. canSave = "1";
  175. isDecoy = "0";
  176. Visible = "1";
  177. tooltipprofile = "ToolsGuiToolTipProfile";
  178. hovertime = "1000";
  179. AllowMultipleSelections = "0";
  180. fitParentWidth = "0";
  181. mirrorSet = "DecalDataSet";
  182. };
  183. };
  184. };
  185. new GuiTabPageCtrl() {
  186. canSaveDynamicFields = "0";
  187. internalName = "instanceTab";
  188. Enabled = "1";
  189. isContainer = "1";
  190. Profile = "ToolsGuiEditorTabPage";
  191. HorizSizing = "width";
  192. VertSizing = "height";
  193. position = "0 0";
  194. Extent = "340 483";
  195. Docking = "client";
  196. MinExtent = "8 2";
  197. canSave = "1";
  198. Visible = "1";
  199. hovertime = "1000";
  200. Margin = "-1 0 0 0";
  201. Padding = "0 0 0 0";
  202. AnchorTop = "1";
  203. AnchorBottom = "0";
  204. AnchorLeft = "1";
  205. AnchorRight = "0";
  206. text = "Instances";
  207. maxLength = "1024";
  208. new GuiContainer() {
  209. isContainer = "1";
  210. HorizSizing = "width";
  211. VertSizing = "height";
  212. Position = "0 0";
  213. Extent = "340 483";
  214. Margin = "0 0 0 0";
  215. Docking = "client";
  216. MinExtent = "0 8";
  217. Profile = "GuiInspectorProfile";
  218. new GuiBitmapBorderCtrl() {
  219. isContainer = "1";
  220. HorizSizing = "width";
  221. VertSizing = "height";
  222. Position = "0 0";
  223. Extent = "340 483";
  224. MinExtent = "0 -500";
  225. Profile = "ToolsGuiTabBorderProfile";
  226. };
  227. };
  228. new GuiScrollCtrl() {
  229. canSaveDynamicFields = "0";
  230. Enabled = "1";
  231. isContainer = "1";
  232. Profile = "ToolsGuiScrollProfile";
  233. HorizSizing = "width";
  234. VertSizing = "height";
  235. Position = "0 0";
  236. Extent = "340 483";
  237. MinExtent = "8 2";
  238. canSave = "1";
  239. isDecoy = "0";
  240. Visible = "1";
  241. tooltipprofile = "ToolsGuiToolTipProfile";
  242. hovertime = "1000";
  243. Docking = "None";
  244. Margin = "0 0 0 0";
  245. Padding = "0 0 0 0";
  246. AnchorTop = "0";
  247. AnchorBottom = "0";
  248. AnchorLeft = "0";
  249. AnchorRight = "0";
  250. willFirstRespond = "1";
  251. hScrollBar = "alwaysOff";
  252. vScrollBar = "dynamic";
  253. lockHorizScroll = "true";
  254. lockVertScroll = "false";
  255. constantThumbHeight = "0";
  256. childMargin = "0 0";
  257. new GuiTreeViewCtrl(DecalEditorTreeView) {
  258. canSaveDynamicFields = "0";
  259. Enabled = "1";
  260. isContainer = "1";
  261. Profile = "ToolsGuiTreeViewProfile";
  262. HorizSizing = "right";
  263. VertSizing = "bottom";
  264. Position = "1 1";
  265. Extent = "336 100";
  266. MinExtent = "8 8";
  267. canSave = "1";
  268. Visible = "1";
  269. hovertime = "1000";
  270. tabSize = "16";
  271. textOffset = "2";
  272. fullRowSelect = "0";
  273. itemHeight = "21";
  274. destroyTreeOnSleep = "1";
  275. MouseDragging = "0";
  276. MultipleSelections = "0";
  277. DeleteObjectAllowed = "1";
  278. DragToItemAllowed = "0";
  279. showRoot = "0";
  280. internalNamesOnly = "0";
  281. };
  282. };
  283. };
  284. };
  285. new GuiContainer(DecalsButtonsGroup){
  286. HorizSizing = "left";
  287. VertSizing = "bottom";
  288. Position = "240 0";
  289. Extent = "110 55";
  290. Docking = "none";
  291. // Save Button
  292. new GuiBitmapButtonCtrl(SaveDecalsButton) {
  293. canSaveDynamicFields = "0";
  294. Enabled = "1";
  295. isContainer = "0";
  296. Profile = "ToolsGuiDefaultProfile";
  297. HorizSizing = "right";
  298. VertSizing = "bottom";
  299. position = "37 24";
  300. Extent = "16 16";
  301. MinExtent = "8 2";
  302. canSave = "1";
  303. isDecoy = "0";
  304. Visible = "1";
  305. Command = "DecalPMan.saveDirty(); DecalInspector::removeDirty();";
  306. hovertime = "1000";
  307. groupNum = "-1";
  308. text ="";
  309. tooltip = "Save All";
  310. buttonType = "PushButton";
  311. useMouseEvents = "0";
  312. bitmapAsset = "ToolsModule:save_icon_n_image";
  313. };
  314. new GuiBitmapButtonCtrl(RetargetDecalButton) {
  315. canSaveDynamicFields = "0";
  316. Enabled = "1";
  317. isContainer = "0";
  318. Profile = "ToolsGuiButtonProfile";
  319. HorizSizing = "right";
  320. VertSizing = "bottom";
  321. Position = "57 24";
  322. Extent = "16 16";
  323. MinExtent = "8 2";
  324. canSave = "1";
  325. isDecoy = "0";
  326. Visible = "1";
  327. tooltipprofile = "ToolsGuiToolTipProfile";
  328. hovertime = "1000";
  329. tooltip = "Retarget missing decals to an existing decal datablock";
  330. bitmapAsset = "ToolsModule:retarget_btn_n_image";
  331. buttonType = "PushButton";
  332. useMouseEvents = "0";
  333. };
  334. new GuiBitmapButtonCtrl(NewDecalButton) {
  335. canSaveDynamicFields = "0";
  336. Enabled = "1";
  337. isContainer = "0";
  338. Profile = "ToolsGuiButtonProfile";
  339. HorizSizing = "right";
  340. VertSizing = "bottom";
  341. Position = "76 24";
  342. Extent = "16 16";
  343. MinExtent = "8 2";
  344. canSave = "1";
  345. isDecoy = "0";
  346. Visible = "1";
  347. tooltipprofile = "ToolsGuiToolTipProfile";
  348. hovertime = "1000";
  349. tooltip = "Create New Decal Template";
  350. bitmapAsset = "ToolsModule:new_n_image";
  351. buttonType = "PushButton";
  352. useMouseEvents = "0";
  353. };
  354. new GuiBitmapButtonCtrl(DeleteDecalButton) {
  355. canSaveDynamicFields = "0";
  356. Enabled = "1";
  357. isContainer = "0";
  358. Profile = "ToolsGuiButtonProfile";
  359. HorizSizing = "right";
  360. VertSizing = "bottom";
  361. Position = "92 24";
  362. Extent = "16 16";
  363. MinExtent = "8 2";
  364. canSave = "1";
  365. isDecoy = "0";
  366. Visible = "1";
  367. tooltipprofile = "ToolsGuiToolTipProfile";
  368. hovertime = "1000";
  369. text = "";
  370. tooltip = "Delete Selected Decal Template";
  371. bitmapAsset = "ToolsModule:delete_n_image";
  372. groupNum = "-1";
  373. buttonType = "PushButton";
  374. useMouseEvents = "0";
  375. tabSelected = "0";
  376. };
  377. };
  378. // window / panel buttons
  379. new GuiBitmapButtonCtrl(DecalEditorGui_UnDockBtn) {
  380. canSaveDynamicFields = "0";
  381. internalName = "";
  382. Enabled = "1";
  383. isContainer = "0";
  384. Profile = "ToolsGuiButtonProfile";
  385. HorizSizing = "left";
  386. VertSizing = "bottom";
  387. Position = "330 1";
  388. Extent = "18 18";
  389. MinExtent = "8 8";
  390. canSave = "1";
  391. Visible = "0";
  392. Command = "DecalEditorGui.releaseSidePanel();";
  393. tooltipprofile = "ToolsGuiToolTipProfile";
  394. ToolTip = "Detach Sidepanel";
  395. hovertime = "1000";
  396. bitmapAsset = "ToolsModule:panel_undock_n_image";
  397. text = "";
  398. groupNum = "-1";
  399. buttonType = "PushButton";
  400. useMouseEvents = "0";
  401. };
  402. new GuiBitmapButtonCtrl(DecalEditorGui_DockBtn) {
  403. canSaveDynamicFields = "0";
  404. internalName = "";
  405. Enabled = "1";
  406. isContainer = "0";
  407. Profile = "ToolsGuiButtonProfile";
  408. HorizSizing = "left";
  409. VertSizing = "bottom";
  410. Position = "330 1";
  411. Extent = "18 18";
  412. MinExtent = "8 8";
  413. canSave = "1";
  414. Visible = "0";
  415. Command = "DecalEditorGui.dockSidePanel();";
  416. tooltipprofile = "ToolsGuiToolTipProfile";
  417. ToolTip = "Dock Sidepanel";
  418. hovertime = "1000";
  419. bitmapAsset = "ToolsModule:panel_dock_n_image";
  420. text = "";
  421. groupNum = "-1";
  422. buttonType = "PushButton";
  423. useMouseEvents = "0";
  424. };
  425. new GuiBitmapButtonCtrl(DecalEditorGui_HideBtn) {
  426. canSaveDynamicFields = "0";
  427. internalName = "";
  428. Enabled = "1";
  429. isContainer = "0";
  430. Profile = "ToolsGuiButtonProfile";
  431. HorizSizing = "left";
  432. VertSizing = "bottom";
  433. Position = "312 1";
  434. Extent = "18 18";
  435. MinExtent = "8 8";
  436. canSave = "1";
  437. Visible = "1";
  438. Command = "DecalEditorGui.hideSidePanel();";
  439. tooltipprofile = "ToolsGuiToolTipProfile";
  440. ToolTip = "Hide Sidepanel";
  441. hovertime = "1000";
  442. bitmapAsset = "ToolsModule:panel_hide_n_image";
  443. text = "";
  444. groupNum = "-1";
  445. buttonType = "PushButton";
  446. useMouseEvents = "0";
  447. };
  448. new GuiBitmapButtonCtrl(DecalEditorGui_ShowBtn) {
  449. canSaveDynamicFields = "0";
  450. internalName = "";
  451. Enabled = "1";
  452. isContainer = "0";
  453. Profile = "ToolsGuiButtonProfile";
  454. HorizSizing = "right";
  455. VertSizing = "bottom";
  456. Position = "4 1";
  457. Extent = "18 18";
  458. MinExtent = "8 8";
  459. canSave = "1";
  460. Visible = "1";
  461. Command = "DecalEditorGui.showSidePanel();";
  462. tooltipprofile = "ToolsGuiToolTipProfile";
  463. ToolTip = "Show Sidepanel";
  464. hovertime = "1000";
  465. bitmapAsset = "ToolsModule:panel_show_n_image";
  466. text = "";
  467. groupNum = "-1";
  468. buttonType = "PushButton";
  469. useMouseEvents = "0";
  470. };
  471. };
  472. new GuiWindowCollapseCtrl(DecalPreviewWindow) {
  473. canCollapse = "0";
  474. canSaveDynamicFields = "0";
  475. internalName = "";
  476. Enabled = "1";
  477. isContainer = "1";
  478. Profile = "ToolsGuiWindowProfile";
  479. HorizSizing = "windowRelative";
  480. VertSizing = "windowRelative";
  481. Position = getWord($pref::Video::mode, 0) - 360
  482. SPC getWord(EditorGuiToolbar.extent, 1) + getWord(DecalEditorWindow.extent, 1) + 6;
  483. Extent = "360" SPC getWord($pref::Video::mode, 1) - getWord(DecalEditorWindow.extent, 1) - getWord(EditorGuiToolbar.extent, 1) - 65;
  484. MinExtent = "300 240";
  485. canSave = "1";
  486. Visible = "0";
  487. hovertime = "1000";
  488. Docking = "None";
  489. Margin = "0 0 0 0";
  490. Padding = "0 0 0 0";
  491. AnchorTop = "0";
  492. AnchorBottom = "0";
  493. AnchorLeft = "0";
  494. AnchorRight = "0";
  495. resizeWidth = "1";
  496. resizeHeight = "1";
  497. canMove = "0";
  498. canClose = "0";
  499. canMinimize = "0";
  500. canMaximize = "0";
  501. minSize = "152 235";
  502. closeCommand = "EPainter.parentGroup.setVisible(false);";
  503. EdgeSnap = "1";
  504. text = ":: Decal Properties";
  505. new GuiScrollCtrl(DecalEditorTemplateProperties){
  506. canSaveDynamicFields = "0";
  507. Enabled = "1";
  508. isContainer = "1";
  509. Profile = "ToolsGuiScrollProfile";
  510. VertSizing = "bottom";
  511. HorizSizing = "width";
  512. Position = "4 24";
  513. Extent = "340 259";
  514. MinExtent = "8 2";
  515. canSave = "1";
  516. isDecoy = "0";
  517. Visible = "1";
  518. tooltipprofile = "ToolsGuiToolTipProfile";
  519. hovertime = "1000";
  520. AnchorTop = "0";
  521. AnchorBottom = "0";
  522. AnchorLeft = "0";
  523. AnchorRight = "0";
  524. willFirstRespond = "1";
  525. Docking = "client";
  526. Margin = "3 1 3 3";
  527. hScrollBar = "alwaysOff";
  528. vScrollBar = "dynamic";
  529. lockHorizScroll = true;
  530. lockVertScroll = "false";
  531. constantThumbHeight = "0";
  532. childMargin = "0 0";
  533. new GuiStackControl() {
  534. StackingType = "Vertical";
  535. HorizStacking = "Left to Right";
  536. VertStacking = "Top to Bottom";
  537. Padding = "0";
  538. isContainer = "1";
  539. Profile = "ToolsGuiDefaultProfile";
  540. HorizSizing = "width";
  541. VertSizing = "bottom";
  542. position = "0 0";
  543. Extent = "340 0";
  544. MinExtent = "8 2";
  545. canSave = "1";
  546. isDecoy = "0";
  547. Visible = "1";
  548. tooltipprofile = "ToolsGuiToolTipProfile";
  549. hovertime = "1000";
  550. new GuiRolloutCtrl() {
  551. class = "BehaviorQuickEditRollout";
  552. superclass = LBQuickEditRollout;
  553. Profile = "GuiRolloutProfile";
  554. HorizSizing = "width";
  555. VertSizing = "bottom";
  556. Position = "0 0";
  557. Extent = "320 0";
  558. Caption = "Decal Instance Preview";
  559. Margin = "0 0 0 -3";
  560. DragSizable = false;
  561. container = true;
  562. new GuiStackControl() {
  563. StackingType = "Vertical";
  564. HorizStacking = "Left to Right";
  565. VertStacking = "Top to Bottom";
  566. Padding = "0";
  567. isContainer = "1";
  568. Profile = "ToolsGuiDefaultProfile";
  569. HorizSizing = "width";
  570. VertSizing = "bottom";
  571. position = "0 0";
  572. Extent = "320 0";
  573. MinExtent = "8 2";
  574. canSave = "1";
  575. isDecoy = "0";
  576. Visible = "1";
  577. tooltipprofile = "ToolsGuiToolTipProfile";
  578. hovertime = "1000";
  579. new GuiContainer(){
  580. HorizSizing = "width";
  581. VertSizing = "bottom";
  582. Position = "-1 0";
  583. Extent = "320 258";
  584. Docking = "none";
  585. new GuiBitmapCtrl() {
  586. canSaveDynamicFields = "0";
  587. internalName = "instancePreview";
  588. Enabled = "1";
  589. isContainer = "0";
  590. Profile = "ToolsGuiDefaultProfile";
  591. HorizSizing = "center";
  592. VertSizing = "bottom";
  593. Position = "0 0";
  594. Extent = "256 256";
  595. MinExtent = "8 2";
  596. canSave = "1";
  597. isDecoy = "0";
  598. Visible = "1";
  599. tooltipprofile = "ToolsGuiToolTipProfile";
  600. hovertime = "1000";
  601. wrap = "0";
  602. bitmapAsset= "ToolsModule:unknownImage_image";
  603. };
  604. new GuiBitmapCtrl() {
  605. canSaveDynamicFields = "0";
  606. Enabled = "1";
  607. isContainer = "0";
  608. Profile = "ToolsGuiDefaultProfile";
  609. HorizSizing = "center";
  610. VertSizing = "bottom";
  611. Position = "0 0";
  612. Extent = "257 257";
  613. MinExtent = "8 2";
  614. canSave = "1";
  615. isDecoy = "0";
  616. Visible = "1";
  617. tooltipprofile = "ToolsGuiToolTipProfile";
  618. hovertime = "1000";
  619. bitmapAsset = "ToolsModule:terrain_painter_border_large_image";
  620. wrap = "0";
  621. };
  622. };
  623. };
  624. };
  625. new GuiRolloutCtrl() {
  626. class = "BehaviorQuickEditRollout";
  627. superclass = LBQuickEditRollout;
  628. Profile = "GuiRolloutProfile";
  629. HorizSizing = "width";
  630. VertSizing = "bottom";
  631. Position = "0 0";
  632. Extent = "340 0";
  633. Caption = "Decal Instance Properties";
  634. Margin = "0 0 0 0";
  635. DragSizable = false;
  636. container = true;
  637. new GuiStackControl() {
  638. StackingType = "Vertical";
  639. HorizStacking = "Left to Right";
  640. VertStacking = "Top to Bottom";
  641. Padding = "0";
  642. isContainer = "1";
  643. Profile = "ToolsGuiDefaultProfile";
  644. HorizSizing = "width";
  645. VertSizing = "bottom";
  646. position = "0 0";
  647. Extent = "340 0";
  648. MinExtent = "8 2";
  649. canSave = "1";
  650. isDecoy = "0";
  651. Visible = "1";
  652. tooltipprofile = "ToolsGuiToolTipProfile";
  653. hovertime = "1000";
  654. new GuiContainer(DecalEditorDetailContainer){
  655. Position = "0 202";
  656. Extent = "202 79";
  657. HorizSizing = "width";
  658. VertSizing = "bottom";
  659. isContainer = "1";
  660. new GuiTextCtrl(){
  661. Profile = "ToolsGuiTextRightProfile";
  662. HorizSizing = "right";
  663. VertSizing = "bottom";
  664. Position = "3 2";
  665. Extent = "47 16";
  666. text = "Instance";
  667. };
  668. new GuiTextCtrl(){ // instance Name
  669. Profile = "ToolsGuiTextProfile";
  670. internalName = "instanceId";
  671. HorizSizing = "width";
  672. VertSizing = "bottom";
  673. Position = "54 2";
  674. Extent = "128 18";
  675. text = "";
  676. };
  677. new GuiTextCtrl(){
  678. Profile = "ToolsGuiTextRightProfile";
  679. HorizSizing = "right";
  680. VertSizing = "bottom";
  681. Position = "3 21";
  682. Extent = "47 16";
  683. text = "Translate";
  684. };
  685. new GuiTextEditCtrl(){ // instance translate
  686. Profile = "ToolsGuiTextEditProfile";
  687. internalName = "nodePosition";
  688. HorizSizing = "width";
  689. VertSizing = "bottom";
  690. AltCommand = "DecalEditorGui.editNodeDetails();";
  691. Position = "54 20";
  692. Extent = "128 18";
  693. text = "";
  694. };
  695. new GuiTextCtrl(){
  696. Profile = "ToolsGuiTextRightProfile";
  697. HorizSizing = "right";
  698. VertSizing = "bottom";
  699. Position = "3 41";
  700. Extent = "47 16";
  701. text = "Tangent";
  702. };
  703. new GuiTextEditCtrl(){ // instance rotation
  704. Profile = "ToolsGuiTextEditProfile";
  705. internalName = "nodeTangent";
  706. HorizSizing = "width";
  707. VertSizing = "bottom";
  708. AltCommand = "DecalEditorGui.editNodeDetails();";
  709. Position = "54 40";
  710. Extent = "128 18";
  711. text = "";
  712. };
  713. new GuiTextCtrl(){
  714. Profile = "ToolsGuiTextRightProfile";
  715. HorizSizing = "right";
  716. VertSizing = "bottom";
  717. Position = "3 61";
  718. Extent = "47 16";
  719. text = "Size";
  720. };
  721. new GuiTextEditCtrl(){ // instance scale
  722. Profile = "ToolsGuiTextEditProfile";
  723. internalName = "nodeSize";
  724. HorizSizing = "width";
  725. VertSizing = "bottom";
  726. AltCommand = "DecalEditorGui.editNodeDetails();";
  727. Position = "54 60";
  728. Extent = "128 18";
  729. text = "";
  730. };
  731. };
  732. };
  733. };
  734. };
  735. };
  736. new GuiScrollCtrl(DecalEditorLibraryProperties) {
  737. canSaveDynamicFields = "0";
  738. Enabled = "1";
  739. isContainer = "1";
  740. Profile = "ToolsGuiScrollProfile";
  741. VertSizing = "bottom";
  742. HorizSizing = "width";
  743. Position = "4 24";
  744. Extent = "340 259";
  745. MinExtent = "8 2";
  746. canSave = "1";
  747. isDecoy = "0";
  748. Visible = "1";
  749. tooltipprofile = "ToolsGuiToolTipProfile";
  750. hovertime = "1000";
  751. AnchorTop = "0";
  752. AnchorBottom = "0";
  753. AnchorLeft = "0";
  754. AnchorRight = "0";
  755. willFirstRespond = "1";
  756. Docking = "client";
  757. Margin = "3 1 3 3";
  758. hScrollBar = "alwaysOff";
  759. vScrollBar = "dynamic";
  760. lockHorizScroll = true;
  761. lockVertScroll = "false";
  762. constantThumbHeight = "0";
  763. childMargin = "0 0";
  764. new GuiStackControl() {
  765. StackingType = "Vertical";
  766. HorizStacking = "Left to Right";
  767. VertStacking = "Top to Bottom";
  768. Padding = "0";
  769. isContainer = "1";
  770. Profile = "ToolsGuiDefaultProfile";
  771. HorizSizing = "width";
  772. VertSizing = "bottom";
  773. position = "0 0";
  774. Extent = "320 0";
  775. MinExtent = "8 2";
  776. canSave = "1";
  777. isDecoy = "0";
  778. Visible = "1";
  779. tooltipprofile = "ToolsGuiToolTipProfile";
  780. hovertime = "1000";
  781. new GuiRolloutCtrl() {
  782. class = "BehaviorQuickEditRollout";
  783. superclass = LBQuickEditRollout;
  784. Profile = "GuiRolloutProfile";
  785. HorizSizing = "width";
  786. VertSizing = "bottom";
  787. Position = "0 0";
  788. Extent = "320 0";
  789. Caption = "Decal Template Preview";
  790. Margin = "0 0 0 -3";
  791. DragSizable = false;
  792. container = true;
  793. new GuiStackControl() {
  794. StackingType = "Vertical";
  795. HorizStacking = "Left to Right";
  796. VertStacking = "Top to Bottom";
  797. Padding = "0";
  798. isContainer = "1";
  799. Profile = "ToolsGuiDefaultProfile";
  800. HorizSizing = "width";
  801. VertSizing = "bottom";
  802. position = "0 0";
  803. Extent = "320 0";
  804. MinExtent = "8 2";
  805. canSave = "1";
  806. isDecoy = "0";
  807. Visible = "1";
  808. tooltipprofile = "ToolsGuiToolTipProfile";
  809. hovertime = "1000";
  810. new GuiContainer(){
  811. HorizSizing = "width";
  812. VertSizing = "bottom";
  813. Position = "-1 0";
  814. Extent = "320 258";
  815. Docking = "none";
  816. new GuiBitmapCtrl() {
  817. canSaveDynamicFields = "0";
  818. internalName = "decalPreview";
  819. Enabled = "1";
  820. isContainer = "0";
  821. Profile = "ToolsGuiDefaultProfile";
  822. HorizSizing = "center";
  823. VertSizing = "bottom";
  824. Position = "0 0";
  825. Extent = "256 256";
  826. MinExtent = "8 2";
  827. canSave = "1";
  828. isDecoy = "0";
  829. Visible = "1";
  830. tooltipprofile = "ToolsGuiToolTipProfile";
  831. hovertime = "1000";
  832. wrap = "0";
  833. bitmapAsset= "ToolsModule:unknownImage_image";
  834. };
  835. new GuiBitmapCtrl() {
  836. canSaveDynamicFields = "0";
  837. Enabled = "1";
  838. isContainer = "0";
  839. Profile = "ToolsGuiDefaultProfile";
  840. HorizSizing = "center";
  841. VertSizing = "bottom";
  842. Position = "0 0";
  843. Extent = "257 257";
  844. MinExtent = "8 2";
  845. canSave = "1";
  846. isDecoy = "0";
  847. Visible = "1";
  848. tooltipprofile = "ToolsGuiToolTipProfile";
  849. hovertime = "1000";
  850. bitmapAsset = "ToolsModule:terrain_painter_border_large_image";
  851. wrap = "0";
  852. };
  853. };
  854. };
  855. };
  856. new GuiRolloutCtrl() {
  857. class = "BehaviorQuickEditRollout";
  858. superclass = LBQuickEditRollout;
  859. Profile = "GuiRolloutProfile";
  860. HorizSizing = "width";
  861. VertSizing = "bottom";
  862. Position = "0 0";
  863. Extent = "340 0";
  864. Caption = "Decal Template Properties";
  865. Margin = "0 0 0 0";
  866. DragSizable = false;
  867. container = true;
  868. new GuiInspector(DecalInspector) {
  869. StackingType = "Vertical";
  870. HorizStacking = "Left to Right";
  871. VertStacking = "Top to Bottom";
  872. Padding = "1";
  873. canSaveDynamicFields = "0";
  874. Enabled = "1";
  875. isContainer = "1";
  876. Profile = "ToolsGuiTransparentProfile";
  877. HorizSizing = "width";
  878. VertSizing = "bottom";
  879. Position = "1 1";
  880. Extent = "320 257";
  881. MinExtent = "16 16";
  882. canSave = "1";
  883. isDecoy = "0";
  884. Visible = "1";
  885. tooltipprofile = "ToolsGuiToolTipProfile";
  886. hovertime = "1000";
  887. dividerMargin = "5";
  888. groupFilters = "+General,+SimBase,+Decal,+Rendering,+Texturing";
  889. };
  890. };
  891. };
  892. };
  893. //----------------------------------
  894. };
  895. };
  896. //--- OBJECT WRITE END ---