convexEditorSidebarGui.gui 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContnt = new GuiControl(ConvexEditorOptions)
  3. {
  4. position = "0 0";
  5. extent = "800 600";
  6. new GuiWindowCollapseCtrl(ConvexEditorOptionsWindow) {
  7. text = ":: Sketch Tool - Properties";
  8. resizeWidth = "1";
  9. resizeHeight = "1";
  10. canMove = "1";
  11. canClose = "0";
  12. canMinimize = "0";
  13. canMaximize = "0";
  14. canCollapse = "1";
  15. closeCommand = "EditorGui.setEditor( WorldEditorPlugin );";
  16. edgeSnap = "1";
  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. Position = firstWord($pref::Video::mode) - 360
  24. SPC getWord(EditorGuiToolbar.extent, 1) + 6;
  25. Extent = "360" SPC getWord($pref::Video::mode, 1) - getWord(EditorGuiToolbar.extent, 1) - 65;
  26. minExtent = "300 298";
  27. horizSizing = "windowRelative";
  28. vertSizing = "windowRelative";
  29. profile = "ToolsGuiWindowProfile";
  30. visible = "1";
  31. active = "1";
  32. tooltipProfile = "ToolsGuiToolTipProfile";
  33. hovertime = "1000";
  34. isContainer = "1";
  35. internalName = "window";
  36. canSave = "1";
  37. canSaveDynamicFields = "1";
  38. enabled = "1";
  39. minSize = "50 50";
  40. // window / panel buttons
  41. new GuiBitmapButtonCtrl(ConvexEditorGui_UnDockBtn) {
  42. canSaveDynamicFields = "0";
  43. internalName = "";
  44. Enabled = "1";
  45. isContainer = "0";
  46. Profile = "ToolsGuiButtonProfile";
  47. HorizSizing = "left";
  48. VertSizing = "bottom";
  49. Position = "330 1";
  50. Extent = "18 18";
  51. MinExtent = "8 8";
  52. canSave = "1";
  53. Visible = "0";
  54. Command = "ConvexEditorGui.releaseSidePanel();";
  55. tooltipprofile = "ToolsGuiToolTipProfile";
  56. ToolTip = "Detach Sidepanel";
  57. hovertime = "1000";
  58. bitmapAsset = "ToolsModule:panel_undock_n_image";
  59. text = "";
  60. groupNum = "-1";
  61. buttonType = "PushButton";
  62. useMouseEvents = "0";
  63. };
  64. new GuiBitmapButtonCtrl(ConvexEditorGui_DockBtn) {
  65. canSaveDynamicFields = "0";
  66. internalName = "";
  67. Enabled = "1";
  68. isContainer = "0";
  69. Profile = "ToolsGuiButtonProfile";
  70. HorizSizing = "left";
  71. VertSizing = "bottom";
  72. Position = "330 1";
  73. Extent = "18 18";
  74. MinExtent = "8 8";
  75. canSave = "1";
  76. Visible = "0";
  77. Command = "ConvexEditorGui.dockSidePanel();";
  78. tooltipprofile = "ToolsGuiToolTipProfile";
  79. ToolTip = "Dock Sidepanel";
  80. hovertime = "1000";
  81. bitmapAsset = "ToolsModule:panel_dock_n_image";
  82. text = "";
  83. groupNum = "-1";
  84. buttonType = "PushButton";
  85. useMouseEvents = "0";
  86. };
  87. new GuiBitmapButtonCtrl(ConvexEditorGui_HideBtn) {
  88. canSaveDynamicFields = "0";
  89. internalName = "";
  90. Enabled = "1";
  91. isContainer = "0";
  92. Profile = "ToolsGuiButtonProfile";
  93. HorizSizing = "left";
  94. VertSizing = "bottom";
  95. Position = "312 1";
  96. Extent = "18 18";
  97. MinExtent = "8 8";
  98. canSave = "1";
  99. Visible = "1";
  100. Command = "ConvexEditorGui.hideSidePanel();";
  101. tooltipprofile = "ToolsGuiToolTipProfile";
  102. ToolTip = "Hide Sidepanel";
  103. hovertime = "1000";
  104. bitmapAsset = "ToolsModule:panel_hide_n_image";
  105. text = "";
  106. groupNum = "-1";
  107. buttonType = "PushButton";
  108. useMouseEvents = "0";
  109. };
  110. new GuiBitmapButtonCtrl(ConvexEditorGui_ShowBtn) {
  111. canSaveDynamicFields = "0";
  112. internalName = "";
  113. Enabled = "1";
  114. isContainer = "0";
  115. Profile = "ToolsGuiButtonProfile";
  116. HorizSizing = "right";
  117. VertSizing = "bottom";
  118. Position = "4 1";
  119. Extent = "18 18";
  120. MinExtent = "8 8";
  121. canSave = "1";
  122. Visible = "1";
  123. Command = "ConvexEditorGui.showSidePanel();";
  124. tooltipprofile = "ToolsGuiToolTipProfile";
  125. ToolTip = "Show Sidepanel";
  126. hovertime = "1000";
  127. bitmapAsset = "ToolsModule:panel_show_n_image";
  128. text = "";
  129. groupNum = "-1";
  130. buttonType = "PushButton";
  131. useMouseEvents = "0";
  132. };
  133. new GuiContainer(ConvexEditorOptionsPanel) {
  134. docking = "Top";
  135. margin = "3 3 3 3";
  136. padding = "0 0 0 0";
  137. anchorTop = "1";
  138. anchorBottom = "0";
  139. anchorLeft = "1";
  140. anchorRight = "0";
  141. position = "4 24";
  142. extent = "1432 301";
  143. minExtent = "8 2";
  144. horizSizing = "width";
  145. vertSizing = "bottom";
  146. profile = "inspectorStyleRolloutDarkProfile";
  147. visible = "1";
  148. active = "1";
  149. tooltipProfile = "GuiToolTipProfile";
  150. hovertime = "1000";
  151. isContainer = "1";
  152. canSave = "1";
  153. canSaveDynamicFields = "0";
  154. new GuiTextCtrl() {
  155. text = "Materials";
  156. maxLength = "1024";
  157. margin = "0 0 0 0";
  158. padding = "0 0 0 0";
  159. anchorTop = "1";
  160. anchorBottom = "0";
  161. anchorLeft = "1";
  162. anchorRight = "0";
  163. position = "5 0";
  164. extent = "86 18";
  165. minExtent = "8 2";
  166. horizSizing = "right";
  167. vertSizing = "bottom";
  168. profile = "ToolsGuiDefaultProfile";
  169. visible = "1";
  170. active = "1";
  171. tooltipProfile = "GuiToolTipProfile";
  172. hovertime = "1000";
  173. isContainer = "1";
  174. canSave = "1";
  175. canSaveDynamicFields = "0";
  176. };
  177. new GuiTextCtrl() {
  178. text = "Active Material(Click image to change)";
  179. maxLength = "1024";
  180. margin = "0 0 0 0";
  181. padding = "0 0 0 0";
  182. anchorTop = "1";
  183. anchorBottom = "0";
  184. anchorLeft = "1";
  185. anchorRight = "0";
  186. position = "5 18";
  187. extent = "197 18";
  188. minExtent = "8 2";
  189. horizSizing = "right";
  190. vertSizing = "bottom";
  191. profile = "ToolsGuiDefaultProfile";
  192. visible = "1";
  193. active = "1";
  194. tooltipProfile = "GuiToolTipProfile";
  195. hovertime = "1000";
  196. isContainer = "1";
  197. canSave = "1";
  198. canSaveDynamicFields = "0";
  199. };
  200. new GuiBitmapButtonCtrl() {
  201. bitmapMode = "Stretched";
  202. autoFitExtents = "0";
  203. useModifiers = "0";
  204. useStates = "0";
  205. text = "No Surface Selected";
  206. groupNum = "-1";
  207. buttonType = "PushButton";
  208. useMouseEvents = "0";
  209. position = "18 36";
  210. extent = "107 106";
  211. minExtent = "8 2";
  212. horizSizing = "center";
  213. vertSizing = "bottom";
  214. profile = "ToolsGuiButtonProfile";
  215. visible = "1";
  216. active = "1";
  217. tooltipProfile = "GuiToolTipProfile";
  218. tooltip = "Change material";
  219. hovertime = "1000";
  220. isContainer = "0";
  221. canSave = "1";
  222. canSaveDynamicFields = "0";
  223. internalName = "matPreviewBtn";
  224. class = "ConvexEditorMaterialBtn";
  225. };
  226. new GuiControl() {
  227. position = "24 149";
  228. extent = "153 25";
  229. minExtent = "8 2";
  230. horizSizing = "center";
  231. vertSizing = "bottom";
  232. profile = "GuiDefaultProfile";
  233. visible = "1";
  234. active = "1";
  235. tooltipProfile = "GuiToolTipProfile";
  236. hovertime = "1000";
  237. isContainer = "1";
  238. canSave = "1";
  239. canSaveDynamicFields = "0";
  240. new GuiButtonCtrl() {
  241. text = "Lift";
  242. groupNum = "-1";
  243. buttonType = "PushButton";
  244. useMouseEvents = "0";
  245. position = "0 0";
  246. extent = "47 21";
  247. minExtent = "8 2";
  248. horizSizing = "right";
  249. vertSizing = "bottom";
  250. profile = "ToolsGuiButtonProfile";
  251. visible = "1";
  252. active = "1";
  253. tooltipProfile = "GuiToolTipProfile";
  254. hovertime = "1000";
  255. isContainer = "0";
  256. canSave = "1";
  257. canSaveDynamicFields = "0";
  258. class = "ConvexEditorMaterialLiftBtn";
  259. };
  260. new GuiButtonCtrl() {
  261. text = "Apply";
  262. groupNum = "-1";
  263. buttonType = "PushButton";
  264. useMouseEvents = "0";
  265. position = "52 0";
  266. extent = "47 21";
  267. minExtent = "8 2";
  268. horizSizing = "right";
  269. vertSizing = "bottom";
  270. profile = "ToolsGuiButtonProfile";
  271. visible = "1";
  272. active = "1";
  273. tooltipProfile = "GuiToolTipProfile";
  274. hovertime = "1000";
  275. isContainer = "0";
  276. canSave = "1";
  277. canSaveDynamicFields = "0";
  278. class = "ConvexEditorMaterialApplyBtn";
  279. };
  280. new GuiButtonCtrl() {
  281. text = "Reset";
  282. groupNum = "-1";
  283. buttonType = "PushButton";
  284. useMouseEvents = "0";
  285. position = "104 0";
  286. extent = "47 21";
  287. minExtent = "8 2";
  288. horizSizing = "right";
  289. vertSizing = "bottom";
  290. profile = "ToolsGuiButtonProfile";
  291. visible = "1";
  292. active = "1";
  293. tooltipProfile = "GuiToolTipProfile";
  294. hovertime = "1000";
  295. isContainer = "0";
  296. canSave = "1";
  297. canSaveDynamicFields = "0";
  298. class = "ConvexEditorMaterialResetBtn";
  299. };
  300. };
  301. new GuiTextCtrl() {
  302. text = "Default Material(Click image to change)";
  303. maxLength = "1024";
  304. margin = "0 0 0 0";
  305. padding = "0 0 0 0";
  306. anchorTop = "1";
  307. anchorBottom = "0";
  308. anchorLeft = "1";
  309. anchorRight = "0";
  310. position = "5 171";
  311. extent = "197 18";
  312. minExtent = "8 2";
  313. horizSizing = "right";
  314. vertSizing = "bottom";
  315. profile = "ToolsGuiDefaultProfile";
  316. visible = "1";
  317. active = "1";
  318. tooltipProfile = "GuiToolTipProfile";
  319. hovertime = "1000";
  320. isContainer = "1";
  321. canSave = "1";
  322. canSaveDynamicFields = "0";
  323. };
  324. new GuiBitmapButtonCtrl() {
  325. bitmapMode = "Stretched";
  326. autoFitExtents = "0";
  327. useModifiers = "0";
  328. useStates = "0";
  329. text = "No Brush Selected";
  330. groupNum = "-1";
  331. buttonType = "PushButton";
  332. useMouseEvents = "0";
  333. position = "47 189";
  334. extent = "107 106";
  335. minExtent = "8 2";
  336. horizSizing = "center";
  337. vertSizing = "bottom";
  338. profile = "ToolsGuiButtonProfile";
  339. visible = "1";
  340. active = "1";
  341. tooltipProfile = "GuiToolTipProfile";
  342. tooltip = "Change material";
  343. hovertime = "1000";
  344. isContainer = "0";
  345. canSave = "1";
  346. canSaveDynamicFields = "0";
  347. internalName = "defMatPreviewBtn";
  348. class = "ConvexEditorDefaultMaterialBtn";
  349. };
  350. };
  351. new GuiContainer(ConvexEditorUVPanel) {
  352. docking = "Top";
  353. margin = "0 0 3 3";
  354. padding = "0 0 0 0";
  355. anchorTop = "1";
  356. anchorBottom = "0";
  357. anchorLeft = "1";
  358. anchorRight = "0";
  359. position = "4 199";
  360. extent = "1432 303";
  361. minExtent = "8 2";
  362. horizSizing = "width";
  363. vertSizing = "bottom";
  364. profile = "inspectorStyleRolloutDarkProfile";
  365. visible = "1";
  366. active = "1";
  367. tooltipProfile = "GuiToolTipProfile";
  368. hovertime = "1000";
  369. isContainer = "1";
  370. canSave = "1";
  371. canSaveDynamicFields = "0";
  372. new GuiTextCtrl() {
  373. text = "UV Options";
  374. maxLength = "1024";
  375. margin = "0 0 0 0";
  376. padding = "0 0 0 0";
  377. anchorTop = "1";
  378. anchorBottom = "0";
  379. anchorLeft = "1";
  380. anchorRight = "0";
  381. position = "5 0";
  382. extent = "121 18";
  383. minExtent = "8 2";
  384. horizSizing = "right";
  385. vertSizing = "bottom";
  386. profile = "ToolsGuiDefaultProfile";
  387. visible = "1";
  388. active = "1";
  389. tooltipProfile = "GuiToolTipProfile";
  390. hovertime = "1000";
  391. isContainer = "1";
  392. canSave = "1";
  393. canSaveDynamicFields = "0";
  394. };
  395. new GuiControl() {
  396. position = "0 26";
  397. extent = "1428 282";
  398. minExtent = "8 2";
  399. horizSizing = "relative";
  400. vertSizing = "relative";
  401. profile = "GuiDefaultProfile";
  402. visible = "1";
  403. active = "1";
  404. tooltipProfile = "GuiToolTipProfile";
  405. hovertime = "1000";
  406. isContainer = "1";
  407. canSave = "1";
  408. canSaveDynamicFields = "0";
  409. new GuiContainer() {
  410. docking = "Top";
  411. margin = "0 0 3 3";
  412. padding = "0 0 0 0";
  413. anchorTop = "1";
  414. anchorBottom = "0";
  415. anchorLeft = "1";
  416. anchorRight = "0";
  417. position = "3 8";
  418. extent = "200 123";
  419. minExtent = "8 2";
  420. horizSizing = "width";
  421. vertSizing = "bottom";
  422. profile = "inspectorStyleRolloutDarkProfile";
  423. visible = "1";
  424. active = "1";
  425. tooltipProfile = "GuiToolTipProfile";
  426. hovertime = "1000";
  427. isContainer = "1";
  428. canSave = "1";
  429. canSaveDynamicFields = "0";
  430. new GuiTextCtrl() {
  431. text = "Texture Position";
  432. maxLength = "1024";
  433. margin = "0 0 0 0";
  434. padding = "0 0 0 0";
  435. anchorTop = "1";
  436. anchorBottom = "0";
  437. anchorLeft = "1";
  438. anchorRight = "0";
  439. position = "5 0";
  440. extent = "121 18";
  441. minExtent = "8 2";
  442. horizSizing = "right";
  443. vertSizing = "bottom";
  444. profile = "ToolsGuiDefaultProfile";
  445. visible = "1";
  446. active = "1";
  447. tooltipProfile = "GuiToolTipProfile";
  448. hovertime = "1000";
  449. isContainer = "1";
  450. canSave = "1";
  451. canSaveDynamicFields = "0";
  452. };
  453. new GuiControl() {
  454. position = "3 24";
  455. extent = "102 64";
  456. minExtent = "8 2";
  457. horizSizing = "right";
  458. vertSizing = "bottom";
  459. profile = "GuiDefaultProfile";
  460. visible = "1";
  461. active = "1";
  462. tooltipProfile = "GuiToolTipProfile";
  463. hovertime = "1000";
  464. isContainer = "1";
  465. canSave = "1";
  466. canSaveDynamicFields = "0";
  467. new GuiTextCtrl() {
  468. text = "Scale:";
  469. maxLength = "1024";
  470. margin = "0 0 0 0";
  471. padding = "0 0 0 0";
  472. anchorTop = "1";
  473. anchorBottom = "0";
  474. anchorLeft = "1";
  475. anchorRight = "0";
  476. position = "15 -1";
  477. extent = "121 18";
  478. minExtent = "8 2";
  479. horizSizing = "right";
  480. vertSizing = "bottom";
  481. profile = "ToolsGuiDefaultProfile";
  482. visible = "1";
  483. active = "1";
  484. tooltipProfile = "GuiToolTipProfile";
  485. hovertime = "1000";
  486. isContainer = "1";
  487. canSave = "1";
  488. canSaveDynamicFields = "0";
  489. };
  490. new GuiTextCtrl() {
  491. text = "X:";
  492. maxLength = "1024";
  493. margin = "0 0 0 0";
  494. padding = "0 0 0 0";
  495. anchorTop = "1";
  496. anchorBottom = "0";
  497. anchorLeft = "1";
  498. anchorRight = "0";
  499. position = "5 18";
  500. extent = "121 18";
  501. minExtent = "8 2";
  502. horizSizing = "right";
  503. vertSizing = "bottom";
  504. profile = "ToolsGuiDefaultProfile";
  505. visible = "1";
  506. active = "1";
  507. tooltipProfile = "GuiToolTipProfile";
  508. hovertime = "1000";
  509. isContainer = "1";
  510. canSave = "1";
  511. canSaveDynamicFields = "0";
  512. };
  513. new GuiTextEditCtrl() {
  514. historySize = "0";
  515. tabComplete = "0";
  516. sinkAllKeyEvents = "0";
  517. password = "0";
  518. passwordMask = "*";
  519. maxLength = "1024";
  520. margin = "0 0 0 0";
  521. padding = "0 0 0 0";
  522. anchorTop = "1";
  523. anchorBottom = "0";
  524. anchorLeft = "1";
  525. anchorRight = "0";
  526. position = "17 17";
  527. extent = "77 18";
  528. minExtent = "8 2";
  529. horizSizing = "right";
  530. vertSizing = "bottom";
  531. profile = "ToolsGuiTextEditProfile";
  532. visible = "1";
  533. active = "1";
  534. tooltipProfile = "GuiToolTipProfile";
  535. hovertime = "1000";
  536. isContainer = "1";
  537. canSave = "1";
  538. canSaveDynamicFields = "0";
  539. internalName = "UScale";
  540. class = "ConvexEditorUVFld";
  541. };
  542. new GuiTextCtrl() {
  543. text = "Y:";
  544. maxLength = "1024";
  545. margin = "0 0 0 0";
  546. padding = "0 0 0 0";
  547. anchorTop = "1";
  548. anchorBottom = "0";
  549. anchorLeft = "1";
  550. anchorRight = "0";
  551. position = "5 44";
  552. extent = "121 18";
  553. minExtent = "8 2";
  554. horizSizing = "right";
  555. vertSizing = "bottom";
  556. profile = "ToolsGuiDefaultProfile";
  557. visible = "1";
  558. active = "1";
  559. tooltipProfile = "GuiToolTipProfile";
  560. hovertime = "1000";
  561. isContainer = "1";
  562. canSave = "1";
  563. canSaveDynamicFields = "0";
  564. };
  565. new GuiTextEditCtrl() {
  566. historySize = "0";
  567. tabComplete = "0";
  568. sinkAllKeyEvents = "0";
  569. password = "0";
  570. passwordMask = "*";
  571. maxLength = "1024";
  572. margin = "0 0 0 0";
  573. padding = "0 0 0 0";
  574. anchorTop = "1";
  575. anchorBottom = "0";
  576. anchorLeft = "1";
  577. anchorRight = "0";
  578. position = "17 43";
  579. extent = "77 18";
  580. minExtent = "8 2";
  581. horizSizing = "right";
  582. vertSizing = "bottom";
  583. profile = "ToolsGuiTextEditProfile";
  584. visible = "1";
  585. active = "1";
  586. tooltipProfile = "GuiToolTipProfile";
  587. hovertime = "1000";
  588. isContainer = "1";
  589. canSave = "1";
  590. canSaveDynamicFields = "0";
  591. internalName = "VScale";
  592. class = "ConvexEditorUVFld";
  593. };
  594. };
  595. new GuiControl() {
  596. position = "104 24";
  597. extent = "102 64";
  598. minExtent = "8 2";
  599. horizSizing = "right";
  600. vertSizing = "bottom";
  601. profile = "GuiDefaultProfile";
  602. visible = "1";
  603. active = "1";
  604. tooltipProfile = "GuiToolTipProfile";
  605. hovertime = "1000";
  606. isContainer = "1";
  607. canSave = "1";
  608. canSaveDynamicFields = "0";
  609. new GuiTextCtrl() {
  610. text = "Offset:";
  611. maxLength = "1024";
  612. margin = "0 0 0 0";
  613. padding = "0 0 0 0";
  614. anchorTop = "1";
  615. anchorBottom = "0";
  616. anchorLeft = "1";
  617. anchorRight = "0";
  618. position = "15 -1";
  619. extent = "121 18";
  620. minExtent = "8 2";
  621. horizSizing = "right";
  622. vertSizing = "bottom";
  623. profile = "ToolsGuiDefaultProfile";
  624. visible = "1";
  625. active = "1";
  626. tooltipProfile = "GuiToolTipProfile";
  627. hovertime = "1000";
  628. isContainer = "1";
  629. canSave = "1";
  630. canSaveDynamicFields = "0";
  631. };
  632. new GuiTextCtrl() {
  633. text = "X:";
  634. maxLength = "1024";
  635. margin = "0 0 0 0";
  636. padding = "0 0 0 0";
  637. anchorTop = "1";
  638. anchorBottom = "0";
  639. anchorLeft = "1";
  640. anchorRight = "0";
  641. position = "5 18";
  642. extent = "121 18";
  643. minExtent = "8 2";
  644. horizSizing = "right";
  645. vertSizing = "bottom";
  646. profile = "ToolsGuiDefaultProfile";
  647. visible = "1";
  648. active = "1";
  649. tooltipProfile = "GuiToolTipProfile";
  650. hovertime = "1000";
  651. isContainer = "1";
  652. canSave = "1";
  653. canSaveDynamicFields = "0";
  654. };
  655. new GuiTextEditCtrl() {
  656. historySize = "0";
  657. tabComplete = "0";
  658. sinkAllKeyEvents = "0";
  659. password = "0";
  660. passwordMask = "*";
  661. maxLength = "1024";
  662. margin = "0 0 0 0";
  663. padding = "0 0 0 0";
  664. anchorTop = "1";
  665. anchorBottom = "0";
  666. anchorLeft = "1";
  667. anchorRight = "0";
  668. position = "17 17";
  669. extent = "77 18";
  670. minExtent = "8 2";
  671. horizSizing = "right";
  672. vertSizing = "bottom";
  673. profile = "ToolsGuiTextEditProfile";
  674. visible = "1";
  675. active = "1";
  676. tooltipProfile = "GuiToolTipProfile";
  677. hovertime = "1000";
  678. isContainer = "1";
  679. canSave = "1";
  680. canSaveDynamicFields = "0";
  681. internalName = "UOffset";
  682. class = "ConvexEditorUVFld";
  683. };
  684. new GuiTextCtrl() {
  685. text = "Y:";
  686. maxLength = "1024";
  687. margin = "0 0 0 0";
  688. padding = "0 0 0 0";
  689. anchorTop = "1";
  690. anchorBottom = "0";
  691. anchorLeft = "1";
  692. anchorRight = "0";
  693. position = "5 44";
  694. extent = "121 18";
  695. minExtent = "8 2";
  696. horizSizing = "right";
  697. vertSizing = "bottom";
  698. profile = "ToolsGuiDefaultProfile";
  699. visible = "1";
  700. active = "1";
  701. tooltipProfile = "GuiToolTipProfile";
  702. hovertime = "1000";
  703. isContainer = "1";
  704. canSave = "1";
  705. canSaveDynamicFields = "0";
  706. };
  707. new GuiTextEditCtrl() {
  708. historySize = "0";
  709. tabComplete = "0";
  710. sinkAllKeyEvents = "0";
  711. password = "0";
  712. passwordMask = "*";
  713. maxLength = "1024";
  714. margin = "0 0 0 0";
  715. padding = "0 0 0 0";
  716. anchorTop = "1";
  717. anchorBottom = "0";
  718. anchorLeft = "1";
  719. anchorRight = "0";
  720. position = "17 43";
  721. extent = "77 18";
  722. minExtent = "8 2";
  723. horizSizing = "right";
  724. vertSizing = "bottom";
  725. profile = "ToolsGuiTextEditProfile";
  726. visible = "1";
  727. active = "1";
  728. tooltipProfile = "GuiToolTipProfile";
  729. hovertime = "1000";
  730. isContainer = "1";
  731. canSave = "1";
  732. canSaveDynamicFields = "0";
  733. internalName = "VOffset";
  734. class = "ConvexEditorUVFld";
  735. };
  736. };
  737. new GuiTextCtrl() {
  738. text = "Rotation:";
  739. maxLength = "1024";
  740. margin = "0 0 0 0";
  741. padding = "0 0 0 0";
  742. anchorTop = "1";
  743. anchorBottom = "0";
  744. anchorLeft = "1";
  745. anchorRight = "0";
  746. position = "9 98";
  747. extent = "121 18";
  748. minExtent = "8 2";
  749. horizSizing = "right";
  750. vertSizing = "bottom";
  751. profile = "ToolsGuiDefaultProfile";
  752. visible = "1";
  753. active = "1";
  754. tooltipProfile = "GuiToolTipProfile";
  755. hovertime = "1000";
  756. isContainer = "1";
  757. canSave = "1";
  758. canSaveDynamicFields = "0";
  759. };
  760. new GuiTextEditCtrl() {
  761. historySize = "0";
  762. tabComplete = "0";
  763. sinkAllKeyEvents = "0";
  764. password = "0";
  765. passwordMask = "*";
  766. maxLength = "1024";
  767. margin = "0 0 0 0";
  768. padding = "0 0 0 0";
  769. anchorTop = "1";
  770. anchorBottom = "0";
  771. anchorLeft = "1";
  772. anchorRight = "0";
  773. position = "58 97";
  774. extent = "40 18";
  775. minExtent = "8 2";
  776. horizSizing = "right";
  777. vertSizing = "bottom";
  778. profile = "ToolsGuiTextEditProfile";
  779. visible = "1";
  780. active = "1";
  781. tooltipProfile = "GuiToolTipProfile";
  782. hovertime = "1000";
  783. isContainer = "1";
  784. canSave = "1";
  785. canSaveDynamicFields = "0";
  786. internalName = "ZRotation";
  787. class = "ConvexEditorUVFld";
  788. };
  789. new GuiButtonCtrl() {
  790. text = "Flip H";
  791. groupNum = "-1";
  792. buttonType = "PushButton";
  793. position = "110 97";
  794. extent = "40 21";
  795. minExtent = "8 2";
  796. horizSizing = "right";
  797. vertSizing = "bottom";
  798. profile = "ToolsGuiButtonProfile";
  799. visible = "1";
  800. active = "1";
  801. tooltipProfile = "GuiToolTipProfile";
  802. hovertime = "1000";
  803. isContainer = "0";
  804. canSave = "1";
  805. canSaveDynamicFields = "0";
  806. class = "ConvexEditorUVHorzFlipBtn";
  807. };
  808. new GuiButtonCtrl() {
  809. text = "Flip V";
  810. groupNum = "-1";
  811. buttonType = "PushButton";
  812. position = "154 97";
  813. extent = "40 21";
  814. minExtent = "8 2";
  815. horizSizing = "right";
  816. vertSizing = "bottom";
  817. profile = "ToolsGuiButtonProfile";
  818. visible = "1";
  819. active = "1";
  820. tooltipProfile = "GuiToolTipProfile";
  821. hovertime = "1000";
  822. isContainer = "0";
  823. canSave = "1";
  824. canSaveDynamicFields = "0";
  825. class = "ConvexEditorUVVertFlipBtn";
  826. };
  827. };
  828. };
  829. };
  830. new GuiContainer(ConvexEditorAdvPanel) {
  831. docking = "Top";
  832. margin = "0 0 3 3";
  833. padding = "0 0 0 0";
  834. anchorTop = "1";
  835. anchorBottom = "0";
  836. anchorLeft = "1";
  837. anchorRight = "0";
  838. position = "4 502";
  839. extent = "1432 50";
  840. minExtent = "8 2";
  841. horizSizing = "width";
  842. vertSizing = "bottom";
  843. profile = "inspectorStyleRolloutDarkProfile";
  844. visible = "1";
  845. active = "1";
  846. tooltipProfile = "GuiToolTipProfile";
  847. hovertime = "1000";
  848. isContainer = "1";
  849. canSave = "1";
  850. canSaveDynamicFields = "0";
  851. new GuiTextCtrl() {
  852. text = "Brush Actions";
  853. maxLength = "1024";
  854. margin = "0 0 0 0";
  855. padding = "0 0 0 0";
  856. anchorTop = "1";
  857. anchorBottom = "0";
  858. anchorLeft = "1";
  859. anchorRight = "0";
  860. position = "5 0";
  861. extent = "121 18";
  862. minExtent = "8 2";
  863. horizSizing = "right";
  864. vertSizing = "bottom";
  865. profile = "ToolsGuiDefaultProfile";
  866. visible = "1";
  867. active = "1";
  868. tooltipProfile = "GuiToolTipProfile";
  869. hovertime = "1000";
  870. isContainer = "1";
  871. canSave = "1";
  872. canSaveDynamicFields = "0";
  873. };
  874. new GuiButtonCtrl() {
  875. text = "Hollow Selected";
  876. groupNum = "-1";
  877. buttonType = "PushButton";
  878. position = "5 22";
  879. extent = "90 21";
  880. minExtent = "8 2";
  881. horizSizing = "right";
  882. vertSizing = "bottom";
  883. profile = "ToolsGuiButtonProfile";
  884. visible = "1";
  885. active = "1";
  886. tooltipProfile = "GuiToolTipProfile";
  887. hovertime = "1000";
  888. isContainer = "0";
  889. canSave = "1";
  890. canSaveDynamicFields = "0";
  891. command = "ConvexEditorGui.hollowSelection();";
  892. };
  893. new GuiButtonCtrl() {
  894. text = "Recenter Selected";
  895. groupNum = "-1";
  896. buttonType = "PushButton";
  897. position = "100 22";
  898. extent = "110 21";
  899. minExtent = "8 2";
  900. horizSizing = "right";
  901. vertSizing = "bottom";
  902. profile = "ToolsGuiButtonProfile";
  903. visible = "1";
  904. active = "1";
  905. tooltipProfile = "GuiToolTipProfile";
  906. hovertime = "1000";
  907. isContainer = "0";
  908. canSave = "1";
  909. canSaveDynamicFields = "0";
  910. command = "ConvexEditorGui.recenterSelection();";
  911. };
  912. };
  913. };
  914. };
  915. //--- OBJECT WRITE END ---