decalEditorGui.gui 29 KB

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