shapeEdAdvancedWindow.ed.gui 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859
  1. // Let's check if the ShapeEdAdvancedWindow can be stacked in the side panel
  2. if (getWord($pref::Video::mode, 1) > 899 && isObject(ShapeEdSelectWindow) && isObject(ShapeEdPropWindow))
  3. {
  4. $ShapeEdAdvancedWindowPos = getWord($pref::Video::mode, 0) - 360 SPC getWord(ShapeEdSelectWindow.extent, 1) + getWord(ShapeEdPropWindow.extent, 1) + getWord(EditorGuiToolbar.extent, 1) + 12;
  5. }
  6. else
  7. {
  8. $ShapeEdAdvancedWindowPos = getWord($pref::Video::mode, 0) - 720 SPC getWord(EditorGuiToolbar.extent, 1) + 6;
  9. }
  10. //--- OBJECT WRITE BEGIN ---
  11. $guiContent = new GuiWindowCollapseCtrl(ShapeEdAdvancedWindow, EditorGuiGroup) {
  12. text = ":: Shape Editor - Advanced Properties";
  13. resizeWidth = "0";
  14. resizeHeight = "0";
  15. canMove = "1";
  16. canClose = "1";
  17. canMinimize = "0";
  18. canMaximize = "0";
  19. closeCommand = "ShapeEditorToolbar-->showAdvanced.performClick();";
  20. EdgeSnap = "1";
  21. Margin = "4 4 4 4";
  22. Padding = "0 0 0 0";
  23. AnchorTop = "1";
  24. AnchorBottom = "0";
  25. AnchorLeft = "1";
  26. AnchorRight = "0";
  27. Position = $ShapeEdAdvancedWindowPos;
  28. extent = "360 300";
  29. MinExtent = "300 300";
  30. HorizSizing = "windowRelative";
  31. VertSizing = "windowRelative";
  32. Profile = "ToolsGuiWindowProfile";
  33. Visible = "0";
  34. tooltipprofile = "ToolsGuiToolTipProfile";
  35. hovertime = "1000";
  36. isContainer = "1";
  37. canSave = "1";
  38. canSaveDynamicFields = "0";
  39. minSize = "50 50";
  40. new GuiTabBookCtrl() {
  41. TabPosition = "Top";
  42. TabMargin = "6";
  43. MinTabWidth = "32";
  44. docking = "client";
  45. Margin = "3 1 3 3";
  46. Padding = "0 0 0 0";
  47. AnchorTop = "1";
  48. AnchorBottom = "0";
  49. AnchorLeft = "1";
  50. AnchorRight = "0";
  51. position = "4 24";
  52. extent = "220 243";
  53. MinExtent = "8 -500";
  54. HorizSizing = "width";
  55. VertSizing = "height";
  56. Profile = "ToolsGuiTabBookProfile";
  57. Visible = "1";
  58. tooltipprofile = "ToolsGuiToolTipProfile";
  59. hovertime = "1000";
  60. isContainer = "1";
  61. internalName = "tabBook";
  62. canSave = "1";
  63. canSaveDynamicFields = "0";
  64. new GuiTabPageCtrl() {
  65. text = "Details";
  66. maxLength = "1024";
  67. Margin = "0 0 0 0";
  68. Padding = "0 0 0 0";
  69. AnchorTop = "1";
  70. AnchorBottom = "0";
  71. AnchorLeft = "1";
  72. AnchorRight = "0";
  73. Position = "0 19";
  74. extent = "220 224";
  75. MinExtent = "0 -500";
  76. HorizSizing = "width";
  77. VertSizing = "height";
  78. Profile = "ToolsGuiTabPageProfile";
  79. Visible = "0";
  80. tooltipprofile = "ToolsGuiToolTipProfile";
  81. hovertime = "1000";
  82. isContainer = "1";
  83. canSave = "1";
  84. canSaveDynamicFields = "0";
  85. new GuiContainer() {
  86. docking = "client";
  87. Margin = "0 0 0 0";
  88. Padding = "0 0 0 0";
  89. AnchorTop = "1";
  90. AnchorBottom = "0";
  91. AnchorLeft = "1";
  92. AnchorRight = "0";
  93. position = "0 0";
  94. extent = "202 224";
  95. MinExtent = "8 8";
  96. HorizSizing = "width";
  97. VertSizing = "bottom";
  98. Profile = "ToolsGuiDefaultProfile";
  99. Visible = "1";
  100. tooltipprofile = "ToolsGuiToolTipProfile";
  101. hovertime = "1000";
  102. isContainer = "1";
  103. canSave = "1";
  104. canSaveDynamicFields = "0";
  105. new GuiContainer() {
  106. position = "0 0";
  107. extent = "202 157";
  108. HorizSizing = "width";
  109. VertSizing = "height";
  110. Profile = "inspectorStyleRolloutDarkProfile";
  111. new GuiTextCtrl() {
  112. text = "Levels:";
  113. position = "4 1";
  114. Extent = "272 16";
  115. MinExtent = "8 2";
  116. HorizSizing = "width";
  117. VertSizing = "bottom";
  118. Profile = "ToolsGuiTextProfile";
  119. };
  120. new GuiCheckBoxCtrl() {
  121. useInactiveState = "0";
  122. text = "Levels";
  123. groupNum = "-1";
  124. buttonType = "ToggleButton";
  125. useMouseEvents = "0";
  126. position = "5 22";
  127. Extent = "49 13";
  128. MinExtent = "8 2";
  129. HorizSizing = "right";
  130. VertSizing = "bottom";
  131. Profile = "ToolsGuiCheckBoxProfile";
  132. Visible = "1";
  133. Variable = "ShapeEdShapeView.fixedDetail";
  134. Command = "ShapeEdAdvancedWindow-->detailSlider.setActive($ThisControl.getValue()); ShapeEdAdvancedWindow-->levelsInactive.setVisible( !$ThisControl.getValue() );";
  135. tooltipprofile = "ToolsGuiToolTipProfile";
  136. ToolTip = "Allow the slider to select the current detail level";
  137. hovertime = "1000";
  138. isContainer = "0";
  139. canSave = "1";
  140. canSaveDynamicFields = "0";
  141. };
  142. new GuiSliderCtrl() {
  143. range = "0 0";
  144. ticks = "1";
  145. snap = "1";
  146. value = "0";
  147. position = "57 22";
  148. Extent = "118 14";
  149. MinExtent = "8 2";
  150. HorizSizing = "width";
  151. VertSizing = "bottom";
  152. Profile = "ToolsGuiSliderBoxProfile";
  153. Visible = "1";
  154. Variable = "ShapeEdShapeView.currentDL";
  155. tooltipprofile = "ToolsGuiToolTipProfile";
  156. ToolTip = "Drag the slider to change the current detail level";
  157. hovertime = "1000";
  158. isContainer = "0";
  159. internalName = "detailSlider";
  160. canSave = "1";
  161. canSaveDynamicFields = "0";
  162. };
  163. new GuiBitmapCtrl(){
  164. bitmapAsset = "ToolsModule:inactive_overlay_image";
  165. position = "57 19";
  166. Extent = "290 20";
  167. tooltip = "Levels needs to be selected to enable the detail level slider";
  168. hovertime = "500";
  169. isContainer = true;
  170. internalName = "levelsInactive";
  171. };
  172. new GuiTextCtrl() {
  173. text = "0";
  174. maxLength = "1024";
  175. Margin = "0 0 0 0";
  176. Padding = "0 0 0 0";
  177. AnchorTop = "1";
  178. AnchorBottom = "0";
  179. AnchorLeft = "1";
  180. AnchorRight = "0";
  181. position = "182 20";
  182. Extent = "15 16";
  183. MinExtent = "8 2";
  184. HorizSizing = "left";
  185. VertSizing = "bottom";
  186. Profile = "ToolsGuiTextProfile";
  187. Visible = "1";
  188. Variable = "ShapeEdShapeView.currentDL";
  189. tooltipprofile = "ToolsGuiToolTipProfile";
  190. ToolTip = "Index of the current detail level";
  191. hovertime = "1000";
  192. isContainer = "0";
  193. canSave = "1";
  194. canSaveDynamicFields = "0";
  195. };
  196. new GuiTextCtrl() {
  197. text = "Polys";
  198. position = "37 40";
  199. extent = "26 16";
  200. MinExtent = "8 2";
  201. HorizSizing = "right";
  202. VertSizing = "bottom";
  203. Profile = "ToolsGuiTextRightProfile";
  204. Visible = "1";
  205. tooltipprofile = "ToolsGuiToolTipProfile";
  206. hovertime = "1000";
  207. canSave = "1";
  208. canSaveDynamicFields = "0";
  209. };
  210. new GuiTextCtrl() {
  211. text = "0";
  212. position = "77 40";
  213. Extent = "40 16";
  214. MinExtent = "8 2";
  215. HorizSizing = "right";
  216. VertSizing = "bottom";
  217. Profile = "ToolsGuiTextProfile";
  218. Visible = "1";
  219. Variable = "ShapeEdShapeView.detailPolys";
  220. tooltipprofile = "ToolsGuiToolTipProfile";
  221. ToolTip = "Number of polygons in the current detail level";
  222. hovertime = "1000";
  223. canSave = "1";
  224. canSaveDynamicFields = "0";
  225. };
  226. new GuiTextCtrl() {
  227. text = "Size";
  228. position = "127 40";
  229. extent = "24 16";
  230. MinExtent = "8 2";
  231. HorizSizing = "right";
  232. VertSizing = "bottom";
  233. Profile = "ToolsGuiTextRightProfile";
  234. Visible = "1";
  235. tooltipprofile = "ToolsGuiToolTipProfile";
  236. hovertime = "1000";
  237. canSave = "1";
  238. canSaveDynamicFields = "0";
  239. };
  240. new GuiTextEditCtrl() {
  241. position = "160 39";
  242. extent = "35 18";
  243. MinExtent = "8 2";
  244. HorizSizing = "right";
  245. VertSizing = "bottom";
  246. Profile = "ToolsGuiTextEditProfile";
  247. Visible = "1";
  248. Variable = "ShapeEdShapeView.detailSize";
  249. AltCommand = "ShapeEdAdvancedWindow.onEditDetailSize();";
  250. tooltipprofile = "ToolsGuiToolTipProfile";
  251. ToolTip = "Edit this value to change the size of the current detail";
  252. hovertime = "1000";
  253. internalName = "detailSize";
  254. canSave = "1";
  255. canSaveDynamicFields = "0";
  256. };
  257. new GuiTextCtrl() {
  258. text = "Pixels";
  259. position = "35 60";
  260. extent = "28 16";
  261. MinExtent = "8 2";
  262. HorizSizing = "right";
  263. VertSizing = "bottom";
  264. Profile = "ToolsGuiTextRightProfile";
  265. Visible = "1";
  266. tooltipprofile = "ToolsGuiToolTipProfile";
  267. hovertime = "1000";
  268. canSave = "1";
  269. canSaveDynamicFields = "0";
  270. };
  271. new GuiTextCtrl() {
  272. text = "0";
  273. position = "77 60";
  274. Extent = "40 16";
  275. MinExtent = "8 2";
  276. HorizSizing = "right";
  277. VertSizing = "bottom";
  278. Profile = "ToolsGuiTextProfile";
  279. Visible = "1";
  280. Variable = "ShapeEdShapeView.pixelSize";
  281. tooltipprofile = "ToolsGuiToolTipProfile";
  282. ToolTip = "Current size (in pixels) of the shape";
  283. hovertime = "1000";
  284. canSave = "1";
  285. canSaveDynamicFields = "0";
  286. };
  287. new GuiTextCtrl() {
  288. text = "Distance";
  289. position = "109 60";
  290. Extent = "42 16";
  291. MinExtent = "8 2";
  292. HorizSizing = "right";
  293. VertSizing = "bottom";
  294. Profile = "ToolsGuiTextRightProfile";
  295. Visible = "1";
  296. tooltipprofile = "ToolsGuiToolTipProfile";
  297. hovertime = "1000";
  298. canSave = "1";
  299. canSaveDynamicFields = "0";
  300. };
  301. new GuiTextCtrl() {
  302. text = "";
  303. position = "160 60";
  304. extent = "38 16";
  305. MinExtent = "8 2";
  306. HorizSizing = "right";
  307. VertSizing = "bottom";
  308. Profile = "ToolsGuiTextProfile";
  309. Visible = "1";
  310. Variable = "ShapeEdShapeView.orbitDist";
  311. tooltipprofile = "ToolsGuiToolTipProfile";
  312. ToolTip = "Current distance from the shape to the camera";
  313. hovertime = "1000";
  314. canSave = "1";
  315. canSaveDynamicFields = "0";
  316. };
  317. new GuiTextCtrl() {
  318. text = "Materials";
  319. position = "20 80";
  320. extent = "43 16";
  321. MinExtent = "8 2";
  322. HorizSizing = "right";
  323. VertSizing = "bottom";
  324. Profile = "ToolsGuiTextRightProfile";
  325. Visible = "1";
  326. tooltipprofile = "ToolsGuiToolTipProfile";
  327. hovertime = "1000";
  328. canSave = "1";
  329. canSaveDynamicFields = "0";
  330. };
  331. new GuiTextCtrl() {
  332. text = "";
  333. position = "77 80";
  334. extent = "40 16";
  335. MinExtent = "8 2";
  336. HorizSizing = "right";
  337. VertSizing = "bottom";
  338. Profile = "ToolsGuiTextProfile";
  339. Visible = "1";
  340. Variable = "ShapeEdShapeView.numMaterials";
  341. tooltipprofile = "ToolsGuiToolTipProfile";
  342. ToolTip = "Number of materials used by all meshes at this detail level";
  343. hovertime = "1000";
  344. canSave = "1";
  345. canSaveDynamicFields = "0";
  346. };
  347. new GuiTextCtrl() {
  348. text = "Bones";
  349. position = "120 80";
  350. extent = "31 16";
  351. MinExtent = "8 2";
  352. HorizSizing = "right";
  353. VertSizing = "bottom";
  354. Profile = "ToolsGuiTextRightProfile";
  355. Visible = "1";
  356. tooltipprofile = "ToolsGuiToolTipProfile";
  357. hovertime = "1000";
  358. canSave = "1";
  359. canSaveDynamicFields = "0";
  360. };
  361. new GuiTextCtrl() {
  362. text = "5";
  363. position = "160 80";
  364. extent = "38 16";
  365. MinExtent = "8 2";
  366. HorizSizing = "right";
  367. VertSizing = "bottom";
  368. Profile = "ToolsGuiTextProfile";
  369. Visible = "1";
  370. Variable = "ShapeEdShapeView.numBones";
  371. tooltipprofile = "ToolsGuiToolTipProfile";
  372. ToolTip = "Number of bones at this detail level (skins only)";
  373. hovertime = "1000";
  374. canSave = "1";
  375. canSaveDynamicFields = "0";
  376. };
  377. new GuiTextCtrl() {
  378. text = "Primitives";
  379. position = "19 100";
  380. extent = "44 16";
  381. MinExtent = "8 2";
  382. HorizSizing = "right";
  383. VertSizing = "bottom";
  384. Profile = "ToolsGuiTextRightProfile";
  385. Visible = "1";
  386. tooltipprofile = "ToolsGuiToolTipProfile";
  387. hovertime = "1000";
  388. canSave = "1";
  389. canSaveDynamicFields = "0";
  390. };
  391. new GuiTextCtrl() {
  392. text = "";
  393. position = "77 100";
  394. extent = "40 16";
  395. MinExtent = "8 2";
  396. HorizSizing = "right";
  397. VertSizing = "bottom";
  398. Profile = "ToolsGuiTextProfile";
  399. Visible = "1";
  400. Variable = "ShapeEdShapeView.numDrawCalls";
  401. tooltipprofile = "ToolsGuiToolTipProfile";
  402. ToolTip = "Total number of mesh primitives (triangle lists) at this detail level";
  403. hovertime = "1000";
  404. canSave = "1";
  405. canSaveDynamicFields = "0";
  406. };
  407. new GuiTextCtrl() {
  408. text = "Weights";
  409. position = "109 100";
  410. Extent = "42 16";
  411. MinExtent = "8 2";
  412. HorizSizing = "right";
  413. VertSizing = "bottom";
  414. Profile = "ToolsGuiTextRightProfile";
  415. Visible = "1";
  416. tooltipprofile = "ToolsGuiToolTipProfile";
  417. hovertime = "1000";
  418. canSave = "1";
  419. canSaveDynamicFields = "0";
  420. };
  421. new GuiTextCtrl() {
  422. text = "5";
  423. position = "160 100";
  424. extent = "38 16";
  425. MinExtent = "8 2";
  426. HorizSizing = "right";
  427. VertSizing = "bottom";
  428. Profile = "ToolsGuiTextProfile";
  429. Visible = "1";
  430. Variable = "ShapeEdShapeView.numWeights";
  431. tooltipprofile = "ToolsGuiToolTipProfile";
  432. ToolTip = "Number of vertex weights at this detail level (skins only)";
  433. hovertime = "1000";
  434. canSave = "1";
  435. canSaveDynamicFields = "0";
  436. };
  437. new GuiTextCtrl() {
  438. Profile = "ToolsGuiTextProfile";
  439. text = "Col Meshes";
  440. position = "7 120";
  441. extent = "56 16";
  442. horizSizing = "right";
  443. vertSizing = "bottom";
  444. };
  445. new GuiTextCtrl() {
  446. text = "";
  447. position = "74 120";
  448. extent = "40 16";
  449. horizSizing = "right";
  450. vertSizing = "bottom";
  451. Variable = "ShapeEdShapeView.colMeshes";
  452. };
  453. new GuiTextCtrl() {
  454. Profile = "ToolsGuiTextProfile";
  455. text = "Col Polys";
  456. position = "108 120";
  457. extent = "43 16";
  458. horizSizing = "right";
  459. vertSizing = "bottom";
  460. };
  461. new GuiTextCtrl() {
  462. text = "";
  463. position = "160 120";
  464. extent = "38 16";
  465. horizSizing = "right";
  466. vertSizing = "bottom";
  467. Variable = "ShapeEdShapeView.colPolys";
  468. };
  469. };
  470. new GuiContainer() {
  471. position = "0 138";
  472. Extent = "202 90";
  473. MinExtent = "8 8";
  474. HorizSizing = "width";
  475. VertSizing = "bottom";
  476. Profile = "inspectorStyleRolloutDarkProfile";
  477. isContainer = "1";
  478. new GuiTextCtrl() { // Header
  479. text = "Imposters:";
  480. position = "5 1";
  481. Extent = "192 16";
  482. MinExtent = "8 2";
  483. HorizSizing = "right";
  484. VertSizing = "bottom";
  485. Profile = "ToolsGuiTextProfile";
  486. };
  487. new GuiCheckBoxCtrl() {
  488. useInactiveState = "0";
  489. text = "Use Imposters";
  490. groupNum = "-1";
  491. buttonType = "ToggleButton";
  492. useMouseEvents = "0";
  493. position = "72 2";
  494. Extent = "83 13";
  495. MinExtent = "8 2";
  496. HorizSizing = "right";
  497. VertSizing = "bottom";
  498. Profile = "ToolsGuiCheckBoxProfile";
  499. Visible = "1";
  500. Command = "ShapeEdDetails.onToggleImposter( $ThisControl.getValue() );";
  501. tooltipprofile = "ToolsGuiToolTipProfile";
  502. ToolTip = "Controls whether this shape uses an imposter detail level";
  503. hovertime = "1000";
  504. isContainer = "0";
  505. internalName = "bbUseImposters";
  506. canSave = "1";
  507. canSaveDynamicFields = "0";
  508. };
  509. new GuiTextCtrl() {
  510. text = "Detail Level";
  511. maxLength = "1024";
  512. Margin = "0 0 0 0";
  513. Padding = "0 0 0 0";
  514. AnchorTop = "1";
  515. AnchorBottom = "0";
  516. AnchorLeft = "1";
  517. AnchorRight = "0";
  518. position = "6 23";
  519. Extent = "57 16";
  520. MinExtent = "8 2";
  521. HorizSizing = "right";
  522. VertSizing = "bottom";
  523. Profile = "ToolsGuiTextRightProfile";
  524. Visible = "1";
  525. tooltipprofile = "ToolsGuiToolTipProfile";
  526. hovertime = "1000";
  527. isContainer = "0";
  528. canSave = "1";
  529. canSaveDynamicFields = "0";
  530. };
  531. new GuiTextEditCtrl() {
  532. position = "68 22";
  533. Extent = "36 18";
  534. MinExtent = "8 2";
  535. HorizSizing = "right";
  536. VertSizing = "bottom";
  537. Profile = "ToolsGuiTextEditProfile";
  538. Visible = "1";
  539. AltCommand = "ShapeEdDetails.onEditImposter();";
  540. tooltipprofile = "ToolsGuiToolTipProfile";
  541. ToolTip = "Specifies the detail level used to generate the imposters";
  542. hovertime = "1000";
  543. internalName = "bbDetailLevel";
  544. canSave = "1";
  545. canSaveDynamicFields = "0";
  546. };
  547. new GuiTextCtrl() {
  548. text = "Dimension";
  549. position = "6 43";
  550. Extent = "57 16";
  551. MinExtent = "8 2";
  552. HorizSizing = "right";
  553. VertSizing = "bottom";
  554. Profile = "ToolsGuiTextRightProfile";
  555. Visible = "1";
  556. tooltipprofile = "ToolsGuiToolTipProfile";
  557. hovertime = "1000";
  558. canSave = "1";
  559. canSaveDynamicFields = "0";
  560. };
  561. new GuiTextEditCtrl() {
  562. position = "72 43";
  563. Extent = "36 18";
  564. MinExtent = "8 2";
  565. HorizSizing = "right";
  566. VertSizing = "bottom";
  567. Profile = "ToolsGuiTextEditProfile";
  568. Visible = "1";
  569. AltCommand = "ShapeEdDetails.onEditImposter();";
  570. tooltipprofile = "ToolsGuiToolTipProfile";
  571. ToolTip = "Specifies the dimension (width/height) of the imposters in pixels";
  572. hovertime = "1000";
  573. internalName = "bbDimension";
  574. canSave = "1";
  575. canSaveDynamicFields = "0";
  576. };
  577. new GuiTextCtrl() {
  578. text = "X Steps";
  579. position = "6 65";
  580. Extent = "57 16";
  581. MinExtent = "8 2";
  582. HorizSizing = "right";
  583. VertSizing = "bottom";
  584. Profile = "ToolsGuiTextRightProfile";
  585. Visible = "1";
  586. tooltipprofile = "ToolsGuiToolTipProfile";
  587. hovertime = "1000";
  588. canSave = "1";
  589. canSaveDynamicFields = "0";
  590. };
  591. new GuiTextEditCtrl() {
  592. position = "68 64";
  593. Extent = "36 18";
  594. MinExtent = "8 2";
  595. HorizSizing = "right";
  596. VertSizing = "bottom";
  597. Profile = "ToolsGuiTextEditProfile";
  598. Visible = "1";
  599. AltCommand = "ShapeEdDetails.onEditImposter();";
  600. tooltipprofile = "ToolsGuiToolTipProfile";
  601. ToolTip = "Number of steps in the horizontal axis";
  602. hovertime = "1000";
  603. internalName = "bbEquatorSteps";
  604. canSave = "1";
  605. canSaveDynamicFields = "0";
  606. };
  607. new GuiCheckBoxCtrl() {
  608. useInactiveState = "0";
  609. text = "Include Poles";
  610. groupNum = "-1";
  611. buttonType = "ToggleButton";
  612. position = "113 24";
  613. Extent = "83 18";
  614. MinExtent = "8 2";
  615. HorizSizing = "right";
  616. VertSizing = "bottom";
  617. Profile = "ToolsGuiCheckBoxProfile";
  618. Visible = "1";
  619. Command = "ShapeEdDetails.onEditImposter();";
  620. tooltipprofile = "ToolsGuiToolTipProfile";
  621. ToolTip = "Specifies whether to include the poles (top and bottom) of the shape";
  622. hovertime = "1000";
  623. internalName = "bbIncludePoles";
  624. canSave = "1";
  625. canSaveDynamicFields = "0";
  626. };
  627. new GuiTextCtrl() {
  628. text = "Y Steps";
  629. maxLength = "1024";
  630. Margin = "0 0 0 0";
  631. Padding = "0 0 0 0";
  632. AnchorTop = "1";
  633. AnchorBottom = "0";
  634. AnchorLeft = "1";
  635. AnchorRight = "0";
  636. position = "116 44";
  637. Extent = "41 16";
  638. MinExtent = "8 2";
  639. HorizSizing = "right";
  640. VertSizing = "bottom";
  641. Profile = "ToolsGuiTextRightProfile";
  642. Visible = "1";
  643. tooltipprofile = "ToolsGuiToolTipProfile";
  644. Tooltip = "Number of steps in the vertical axis";
  645. hovertime = "1000";
  646. isContainer = "0";
  647. canSave = "1";
  648. canSaveDynamicFields = "0";
  649. };
  650. new GuiTextEditCtrl() {
  651. position = "161 43";
  652. Extent = "36 18";
  653. MinExtent = "8 2";
  654. HorizSizing = "right";
  655. VertSizing = "bottom";
  656. Profile = "ToolsGuiTextEditProfile";
  657. Visible = "1";
  658. AltCommand = "ShapeEdDetails.onEditImposter();";
  659. tooltipprofile = "ToolsGuiToolTipProfile";
  660. hovertime = "1000";
  661. internalName = "bbPolarSteps";
  662. canSave = "1";
  663. canSaveDynamicFields = "0";
  664. };
  665. new GuiTextCtrl() {
  666. text = "Y Angle";
  667. position = "116 65";
  668. Extent = "41 16";
  669. MinExtent = "8 2";
  670. HorizSizing = "right";
  671. VertSizing = "bottom";
  672. Profile = "ToolsGuiTextRightProfile";
  673. Visible = "1";
  674. tooltipprofile = "ToolsGuiToolTipProfile";
  675. tooltip = "Polar Angle - Y axis";
  676. hovertime = "1000";
  677. canSave = "1";
  678. canSaveDynamicFields = "0";
  679. };
  680. new GuiTextEditCtrl() {
  681. position = "161 64";
  682. Extent = "36 18";
  683. MinExtent = "8 2";
  684. HorizSizing = "right";
  685. VertSizing = "bottom";
  686. Profile = "ToolsGuiTextEditProfile";
  687. Visible = "1";
  688. AltCommand = "ShapeEdDetails.onEditImposter();";
  689. tooltipprofile = "ToolsGuiToolTipProfile";
  690. hovertime = "1000";
  691. internalName = "bbPolarAngle";
  692. canSave = "1";
  693. canSaveDynamicFields = "0";
  694. };
  695. new GuiBitmapCtrl(){
  696. bitmapAsset = "ToolsModule:inactive_overlay_image";
  697. position = "4 18";
  698. Extent = "193 68";
  699. tooltip = "Imposters must be enabled, and an imposter detail level selected to edit these properties";
  700. hovertime = "500";
  701. isContainer = "1";
  702. internalName = "imposterInactive";
  703. };
  704. };
  705. };
  706. };
  707. new GuiTabPageCtrl() {
  708. text = "Mounting";
  709. maxLength = "1024";
  710. Margin = "0 0 0 0";
  711. Padding = "0 0 0 0";
  712. AnchorTop = "1";
  713. AnchorBottom = "0";
  714. AnchorLeft = "1";
  715. AnchorRight = "0";
  716. Position = "0 19";
  717. extent = "220 224";
  718. MinExtent = "0 -500";
  719. HorizSizing = "width";
  720. VertSizing = "height";
  721. Profile = "ToolsGuiTabPageProfile";
  722. Visible = "0";
  723. tooltipprofile = "ToolsGuiToolTipProfile";
  724. hovertime = "1000";
  725. canSave = "1";
  726. canSaveDynamicFields = "0";
  727. isContainer = "1";
  728. new GuiControl(){
  729. docking = "client";
  730. Margin = "0 0 0 0";
  731. Profile = "ToolsGuiScrollProfile";
  732. position = "0 0";
  733. extent = "294 224";
  734. };
  735. new GuiContainer(ShapeEdMountWindow) {
  736. docking = "none";
  737. Margin = "0 0 0 0";
  738. Padding = "0 0 0 0";
  739. AnchorTop = "1";
  740. AnchorBottom = "0";
  741. AnchorLeft = "1";
  742. AnchorRight = "0";
  743. isContainer = "1";
  744. position = "0 0";
  745. extent = "220 224";
  746. MinExtent = "8 8";
  747. HorizSizing = "width";
  748. vertSizing = "height";
  749. Profile = "ToolsGuiDefaultProfile";
  750. Visible = "1";
  751. tooltipprofile = "ToolsGuiToolTipProfile";
  752. hovertime = "1000";
  753. canSave = "1";
  754. canSaveDynamicFields = "0";
  755. new GuiCheckBoxCtrl() {
  756. useInactiveState = "0";
  757. text = " Render mounted shapes";
  758. groupNum = "-1";
  759. buttonType = "ToggleButton";
  760. useMouseEvents = "0";
  761. position = "2 2";
  762. extent = "200 13";
  763. MinExtent = "8 2";
  764. HorizSizing = "right";
  765. VertSizing = "bottom";
  766. Profile = "ToolsGuiCheckBoxProfile";
  767. Visible = "1";
  768. Variable = "ShapeEdShapeView.renderMounts";
  769. tooltipprofile = "ToolsGuiToolTipProfile";
  770. ToolTip = "Controls whether mounted shapes will be rendered in the 3D view";
  771. hovertime = "1000";
  772. isContainer = "0";
  773. internalName = "renderMounts";
  774. canSave = "1";
  775. canSaveDynamicFields = "0";
  776. };
  777. new GuiScrollCtrl() {
  778. willFirstRespond = "1";
  779. hScrollBar = "alwaysOff";
  780. vScrollBar = "dynamic";
  781. lockHorizScroll = "true";
  782. lockVertScroll = "false";
  783. constantThumbHeight = "0";
  784. childMargin = "0 0";
  785. mouseWheelScrollSpeed = "-1";
  786. Margin = "0 0 0 0";
  787. Padding = "0 0 0 0";
  788. AnchorTop = "0";
  789. AnchorBottom = "0";
  790. AnchorLeft = "1";
  791. AnchorRight = "0";
  792. position = "0 17";
  793. extent = "202 124";
  794. MinExtent = "8 8";
  795. HorizSizing = "width";
  796. VertSizing = "height";
  797. Profile = "ToolsGuiShapeEdScrollProfile";
  798. Visible = "1";
  799. tooltipprofile = "ToolsGuiToolTipProfile";
  800. hovertime = "1000";
  801. canSaveDynamicFields = "0";
  802. canSave = "1";
  803. isContainer = "1";
  804. new GuiContainer() {
  805. position = "0 0";
  806. extent = "200 121";
  807. HorizSizing = "width";
  808. VertSizing = "height";
  809. Profile = "inspectorStyleRolloutListProfile";
  810. };
  811. new GuiTextListCtrl() {
  812. columns = "-1 0 110 152";
  813. fitParentWidth = "1";
  814. clipColumnText = "1";
  815. Position = "1 1";
  816. Extent = "200 11";
  817. MinExtent = "8 11";
  818. HorizSizing = "right";
  819. VertSizing = "bottom";
  820. Profile = "ToolsGuiShapeEdTextListProfile";
  821. Visible = "1";
  822. Command = "ShapeEdMountWindow.update_onMountSelectionChanged();";
  823. tooltipprofile = "ToolsGuiToolTipProfile";
  824. hovertime = "1000";
  825. internalName = "mountList";
  826. canSave = "1";
  827. canSaveDynamicFields = "0";
  828. };
  829. };
  830. new GuiContainer() {
  831. position = "0 140";
  832. extent = "202 85";
  833. HorizSizing = "width";
  834. VertSizing = "top";
  835. Profile = "inspectorStyleRolloutDarkProfile";
  836. new GuiTextCtrl() {
  837. text = "Mount Item";
  838. position = "5 1";
  839. extent = "134 16";
  840. minExtent = "8 2";
  841. horizSizing = "right";
  842. vertSizing = "bottom";
  843. Profile = "ToolsGuiTextProfile";
  844. };
  845. new GuiBitmapButtonCtrl() {
  846. bitmapAsset = "ToolsModule:delete_n_image";
  847. groupNum = "-1";
  848. buttonType = "PushButton";
  849. useMouseEvents = "0";
  850. position = "182 1";
  851. Extent = "16 16";
  852. MinExtent = "8 2";
  853. HorizSizing = "left";
  854. VertSizing = "bottom";
  855. Profile = "ToolsGuiDefaultProfile";
  856. Visible = "1";
  857. Command = "ShapeEdMountWindow.unmountShape();";
  858. tooltipprofile = "ToolsGuiToolTipProfile";
  859. ToolTip = "Delete the selected mount item";
  860. canSaveDynamicFields = "0";
  861. canSave = "1";
  862. isContainer = "0";
  863. };
  864. new GuiBitmapButtonCtrl() {
  865. bitmapAsset = "ToolsModule:new_n_image";
  866. groupNum = "-1";
  867. buttonType = "PushButton";
  868. useMouseEvents = "0";
  869. position = "168 1";
  870. Extent = "16 16";
  871. MinExtent = "8 2";
  872. HorizSizing = "left";
  873. VertSizing = "bottom";
  874. Profile = "ToolsGuiDefaultProfile";
  875. Visible = "1";
  876. Command = "ShapeEdMountWindow.mountShape(-1);";
  877. tooltipprofile = "ToolsGuiToolTipProfile";
  878. ToolTip = "Mounts a new shape to the current model";
  879. isContainer = "0";
  880. canSave = "1";
  881. canSaveDynamicFields = "0";
  882. };
  883. /*new GuiButtonCtrl() {
  884. text = "Unmount All";
  885. groupNum = "-1";
  886. buttonType = "PushButton";
  887. useMouseEvents = "0";
  888. position = "109 97";
  889. extent = "78 18";
  890. MinExtent = "8 2";
  891. HorizSizing = "right";
  892. vertSizing = "top";
  893. Profile = "ToolsGuiButtonProfile";
  894. Visible = "1";
  895. Command = "ShapeEdMountWindow.unmountAll();";
  896. tooltipprofile = "ToolsGuiToolTipProfile";
  897. ToolTip = "Unmount all shapes";
  898. hovertime = "1000";
  899. isContainer = "0";
  900. canSave = "1";
  901. canSaveDynamicFields = "0";
  902. };*/
  903. new GuiTextCtrl() {
  904. text = "Shape";
  905. position = "5 21";
  906. extent = "33 16";
  907. minExtent = "8 2";
  908. horizSizing = "right";
  909. vertSizing = "bottom";
  910. Profile = "ToolsGuiTextRightProfile";
  911. };
  912. new GuiPopUpMenuCtrl(ShapeEdMountShapeMenu) {
  913. position = "42 20";
  914. extent = "156 18";
  915. HorizSizing = "width";
  916. vertSizing = "bottom";
  917. Profile = "ToolsGuiPopUpMenuProfile";
  918. ToolTip = "Select the model to mount";
  919. };
  920. new GuiTextCtrl() {
  921. text = "Node";
  922. position = "5 42";
  923. extent = "33 16";
  924. minExtent = "8 2";
  925. horizSizing = "right";
  926. vertSizing = "bottom";
  927. Profile = "ToolsGuiTextRightProfile";
  928. };
  929. new GuiPopUpMenuCtrl() {
  930. position = "42 41";
  931. extent = "62 18";
  932. minExtent = "8 2";
  933. horizSizing = "width";
  934. vertSizing = "bottom";
  935. Profile = "ToolsGuiPopUpMenuProfile";
  936. Command = "ShapeEdMountWindow.updateSelectedMount();";
  937. ToolTip = "Select the node on which to mount the model";
  938. internalName = "mountNode";
  939. };
  940. new GuiTextCtrl() {
  941. text = "Type";
  942. position = "110 42";
  943. extent = "24 16";
  944. minExtent = "8 2";
  945. horizSizing = "left";
  946. vertSizing = "bottom";
  947. Profile = "ToolsGuiTextProfile";
  948. };
  949. new GuiPopUpMenuCtrl() {
  950. position = "138 41";
  951. extent = "60 18";
  952. horizSizing = "left";
  953. vertSizing = "bottom";
  954. Profile = "ToolsGuiPopUpMenuProfile";
  955. Command = "ShapeEdMountWindow.updateSelectedMount();";
  956. ToolTip = "Select the type of mounting to use";
  957. internalName = "mountType";
  958. };
  959. new GuiPopUpMenuCtrl() {
  960. position = "5 62";
  961. extent = "99 18";
  962. HorizSizing = "width";
  963. vertSizing = "bottom";
  964. Profile = "ToolsGuiPopUpMenuProfile";
  965. Command = "ShapeEdMountWindow.setMountThreadSequence();";
  966. ToolTip = "Select the sequence to play on the mounted model";
  967. internalName = "mountSeq";
  968. };
  969. new GuiSliderCtrl(ShapeEdMountSeqSlider) {
  970. range = "0 1";
  971. ticks = "0";
  972. snap = "0";
  973. value = "0";
  974. position = "109 64";
  975. extent = "68 14";
  976. MinExtent = "8 2";
  977. HorizSizing = "width";
  978. VertSizing = "top";
  979. Profile = "ToolsGuiSliderBoxProfile";
  980. Visible = "1";
  981. tooltipprofile = "ToolsGuiToolTipProfile";
  982. ToolTip = "Drag the slider to scrub through the sequence keyframes";
  983. hovertime = "1000";
  984. isContainer = "0";
  985. canSave = "1";
  986. canSaveDynamicFields = "0";
  987. };
  988. new GuiBitmapButtonCtrl() {
  989. bitmapAsset = "ToolsModule:playfwd_btn_n_image";
  990. groupNum = "0";
  991. buttonType = "ToggleButton";
  992. useMouseEvents = "0";
  993. position = "180 62";
  994. Extent = "18 18";
  995. MinExtent = "8 2";
  996. HorizSizing = "left";
  997. vertSizing = "top";
  998. Profile = "ToolsGuiButtonProfile";
  999. Visible = "1";
  1000. Command = "ShapeEdMountWindow.toggleMountThreadPlayback();";
  1001. tooltipprofile = "ToolsGuiToolTipProfile";
  1002. ToolTip = "Play forwards";
  1003. hovertime = "1000";
  1004. isContainer = "0";
  1005. internalName = "mountPlayBtn";
  1006. canSave = "1";
  1007. canSaveDynamicFields = "0";
  1008. };
  1009. };
  1010. };
  1011. };
  1012. new GuiTabPageCtrl() {
  1013. text = "Threads";
  1014. maxLength = "1024";
  1015. Margin = "0 0 0 0";
  1016. Padding = "0 0 0 0";
  1017. AnchorTop = "1";
  1018. AnchorBottom = "0";
  1019. AnchorLeft = "1";
  1020. AnchorRight = "0";
  1021. Position = "0 19";
  1022. extent = "220 224";
  1023. MinExtent = "0 -500";
  1024. HorizSizing = "width";
  1025. VertSizing = "height";
  1026. Profile = "ToolsGuiTabPageProfile";
  1027. Visible = "0";
  1028. tooltipprofile = "ToolsGuiToolTipProfile";
  1029. hovertime = "1000";
  1030. isContainer = "1";
  1031. canSave = "1";
  1032. canSaveDynamicFields = "0";
  1033. new GuiContainer(ShapeEdThreadWindow) {
  1034. docking = "client";
  1035. Margin = "0 0 0 0";
  1036. Padding = "0 0 0 0";
  1037. AnchorTop = "1";
  1038. AnchorBottom = "0";
  1039. AnchorLeft = "1";
  1040. AnchorRight = "0";
  1041. position = "0 0";
  1042. extent = "202 224";
  1043. MinExtent = "8 8";
  1044. HorizSizing = "width";
  1045. VertSizing = "bottom";
  1046. Profile = "ToolsGuiDefaultProfile";
  1047. Visible = "1";
  1048. tooltipprofile = "ToolsGuiToolTipProfile";
  1049. hovertime = "1000";
  1050. isContainer = "1";
  1051. canSave = "1";
  1052. canSaveDynamicFields = "0";
  1053. new GuiContainer() {
  1054. position = "0 0";
  1055. extent = "203 141";
  1056. HorizSizing = "width";
  1057. VertSizing = "height";
  1058. Profile = "inspectorStyleRolloutDarkProfile";
  1059. new GuiTextCtrl() {
  1060. text = "Thread";
  1061. position = "4 1";
  1062. extent = "41 16";
  1063. minExtent = "8 2";
  1064. horizSizing = "right";
  1065. vertSizing = "bottom";
  1066. Profile = "ToolsGuiTextProfile";
  1067. };
  1068. new GuiScrollCtrl() {
  1069. willFirstRespond = "1";
  1070. hScrollBar = "alwaysOff";
  1071. vScrollBar = "dynamic";
  1072. lockHorizScroll = "true";
  1073. lockVertScroll = "false";
  1074. constantThumbHeight = "0";
  1075. childMargin = "0 0";
  1076. mouseWheelScrollSpeed = "-1";
  1077. Margin = "0 0 0 0";
  1078. Padding = "0 0 0 0";
  1079. AnchorTop = "0";
  1080. AnchorBottom = "0";
  1081. AnchorLeft = "1";
  1082. AnchorRight = "0";
  1083. position = "0 17";
  1084. extent = "47 124";
  1085. MinExtent = "8 8";
  1086. HorizSizing = "right";
  1087. VertSizing = "height";
  1088. Profile = "ToolsGuiShapeEdScrollProfile";
  1089. Visible = "1";
  1090. tooltipprofile = "ToolsGuiToolTipProfile";
  1091. hovertime = "1000";
  1092. isContainer = "1";
  1093. canSave = "1";
  1094. canSaveDynamicFields = "0";
  1095. new GuiTextListCtrl(ShapeEdThreadList) {
  1096. fitParentWidth = "1";
  1097. clipColumnText = "1";
  1098. position = "1 1";
  1099. extent = "45 11";
  1100. MinExtent = "8 11";
  1101. HorizSizing = "right";
  1102. VertSizing = "bottom";
  1103. Profile = "ToolsGuiShapeEdTextListProfile";
  1104. Visible = "1";
  1105. tooltipprofile = "ToolsGuiToolTipProfile";
  1106. hovertime = "1000";
  1107. canSave = "1";
  1108. canSaveDynamicFields = "0";
  1109. };
  1110. };
  1111. new GuiTextCtrl() {
  1112. text = "Sequence";
  1113. position = "52 1";
  1114. extent = "53 16";
  1115. minExtent = "8 2";
  1116. horizSizing = "right";
  1117. vertSizing = "bottom";
  1118. Profile = "ToolsGuiTextProfile";
  1119. };
  1120. new GuiScrollCtrl() {
  1121. willFirstRespond = "1";
  1122. hScrollBar = "dynamic";
  1123. vScrollBar = "dynamic";
  1124. lockHorizScroll = "true";
  1125. lockVertScroll = "false";
  1126. constantThumbHeight = "0";
  1127. childMargin = "0 0";
  1128. mouseWheelScrollSpeed = "-1";
  1129. Margin = "0 0 0 0";
  1130. Padding = "0 0 0 0";
  1131. AnchorTop = "0";
  1132. AnchorBottom = "0";
  1133. AnchorLeft = "1";
  1134. AnchorRight = "0";
  1135. position = "46 17";
  1136. extent = "202 124";
  1137. MinExtent = "8 8";
  1138. HorizSizing = "width";
  1139. VertSizing = "height";
  1140. Profile = "ToolsGuiShapeEdScrollProfile";
  1141. Visible = "1";
  1142. tooltipprofile = "ToolsGuiToolTipProfile";
  1143. hovertime = "1000";
  1144. isContainer = "1";
  1145. canSave = "1";
  1146. canSaveDynamicFields = "0";
  1147. new GuiTextListCtrl() {
  1148. fitParentWidth = "1";
  1149. clipColumnText = "1";
  1150. Position = "1 1";
  1151. extent = "202 11";
  1152. MinExtent = "8 11";
  1153. HorizSizing = "right";
  1154. VertSizing = "bottom";
  1155. Profile = "ToolsGuiShapeEdTextListProfile";
  1156. Visible = "1";
  1157. Command = "ShapeEdSequenceList.setSelectedById( $ThisControl.getSelectedId() );";
  1158. tooltipprofile = "ToolsGuiToolTipProfile";
  1159. hovertime = "1000";
  1160. internalName = "seqList";
  1161. canSave = "1";
  1162. canSaveDynamicFields = "0";
  1163. };
  1164. };
  1165. new GuiBitmapButtonCtrl() {
  1166. bitmapAsset = "ToolsModule:delete_n_image";
  1167. groupNum = "-1";
  1168. buttonType = "PushButton";
  1169. useMouseEvents = "0";
  1170. position = "184 1";
  1171. Extent = "16 16";
  1172. MinExtent = "8 2";
  1173. HorizSizing = "left";
  1174. VertSizing = "bottom";
  1175. Profile = "ToolsGuiDefaultProfile";
  1176. Visible = "1";
  1177. Command = "ShapeEdThreadWindow.onRemoveThread();";
  1178. tooltipprofile = "ToolsGuiToolTipProfile";
  1179. ToolTip = "Delete the selected thread";
  1180. isContainer = "0";
  1181. canSave = "1";
  1182. canSaveDynamicFields = "0";
  1183. };
  1184. new GuiBitmapButtonCtrl() {
  1185. bitmapAsset = "ToolsModule:new_n_image";
  1186. groupNum = "-1";
  1187. buttonType = "PushButton";
  1188. useMouseEvents = "0";
  1189. position = "171 1";
  1190. Extent = "16 16";
  1191. MinExtent = "8 2";
  1192. HorizSizing = "left";
  1193. VertSizing = "bottom";
  1194. Profile = "ToolsGuiDefaultProfile";
  1195. Visible = "1";
  1196. Command = "ShapeEdThreadWindow.onAddThread();";
  1197. tooltipprofile = "ToolsGuiToolTipProfile";
  1198. ToolTip = "Add a new thread";
  1199. isContainer = "0";
  1200. canSave = "1";
  1201. canSaveDynamicFields = "0";
  1202. };
  1203. };
  1204. new GuiSliderCtrl(ShapeEdThreadSlider) {
  1205. range = "0 0";
  1206. ticks = "0";
  1207. snap = "0";
  1208. value = "0";
  1209. position = "29 146";
  1210. extent = "133 14";
  1211. MinExtent = "8 2";
  1212. HorizSizing = "width";
  1213. VertSizing = "top";
  1214. Profile = "ToolsGuiSliderBoxProfile";
  1215. Visible = "1";
  1216. tooltipprofile = "ToolsGuiToolTipProfile";
  1217. ToolTip = "Drag the slider to scrub through the sequence keyframes";
  1218. hovertime = "1000";
  1219. isContainer = "0";
  1220. canSave = "1";
  1221. canSaveDynamicFields = "0";
  1222. };
  1223. new GuiBitmapButtonCtrl() {
  1224. bitmapAsset = "ToolsModule:playbkwd_btn_n_image";
  1225. groupNum = "0";
  1226. buttonType = "RadioButton";
  1227. useMouseEvents = "0";
  1228. position = "6 144";
  1229. extent = "18 18";
  1230. MinExtent = "8 2";
  1231. HorizSizing = "right";
  1232. vertSizing = "top";
  1233. Profile = "ToolsGuiButtonProfile";
  1234. Visible = "1";
  1235. Command = "ShapeEdAnimWindow-->playBkwdBtn.performClick();";
  1236. tooltipprofile = "ToolsGuiToolTipProfile";
  1237. ToolTip = "Play backwards";
  1238. hovertime = "1000";
  1239. isContainer = "0";
  1240. internalName = "playBkwdBtn";
  1241. canSave = "1";
  1242. canSaveDynamicFields = "0";
  1243. };
  1244. new GuiBitmapButtonCtrl() {
  1245. bitmapAsset = "ToolsModule:pause_btn_n_image";
  1246. groupNum = "0";
  1247. buttonType = "RadioButton";
  1248. useMouseEvents = "0";
  1249. position = "166 144";
  1250. Extent = "18 18";
  1251. MinExtent = "8 2";
  1252. HorizSizing = "left";
  1253. vertSizing = "top";
  1254. Profile = "ToolsGuiButtonProfile";
  1255. Visible = "1";
  1256. Command = "ShapeEdAnimWindow-->pauseBtn.performClick();";
  1257. tooltipprofile = "ToolsGuiToolTipProfile";
  1258. ToolTip = "Toggle Pause (SPACE)";
  1259. hovertime = "1000";
  1260. isContainer = "0";
  1261. internalName = "pauseBtn";
  1262. canSave = "1";
  1263. canSaveDynamicFields = "0";
  1264. };
  1265. new GuiBitmapButtonCtrl() {
  1266. bitmapAsset = "ToolsModule:playfwd_btn_n_image";
  1267. groupNum = "0";
  1268. buttonType = "RadioButton";
  1269. useMouseEvents = "0";
  1270. position = "184 144";
  1271. Extent = "18 18";
  1272. MinExtent = "8 2";
  1273. HorizSizing = "left";
  1274. vertSizing = "top";
  1275. Profile = "ToolsGuiButtonProfile";
  1276. Visible = "1";
  1277. Command = "ShapeEdAnimWindow-->playFwdBtn.performClick();";
  1278. tooltipprofile = "ToolsGuiToolTipProfile";
  1279. ToolTip = "Play forwards";
  1280. hovertime = "1000";
  1281. isContainer = "0";
  1282. internalName = "playFwdBtn";
  1283. canSave = "1";
  1284. canSaveDynamicFields = "0";
  1285. };
  1286. new GuiCheckBoxCtrl() {
  1287. useInactiveState = "0";
  1288. text = " Transition lasts";
  1289. groupNum = "-1";
  1290. buttonType = "ToggleButton";
  1291. useMouseEvents = "0";
  1292. position = "3 167";
  1293. extent = "88 13";
  1294. MinExtent = "8 2";
  1295. HorizSizing = "right";
  1296. VertSizing = "top";
  1297. Profile = "ToolsGuiCheckBoxProfile";
  1298. Visible = "1";
  1299. tooltipprofile = "ToolsGuiToolTipProfile";
  1300. ToolTip = "Controls whether the thread will smoothly transition when a new sequence is selected";
  1301. hovertime = "1000";
  1302. isContainer = "0";
  1303. internalName = "useTransitions";
  1304. canSave = "1";
  1305. canSaveDynamicFields = "0";
  1306. };
  1307. new GuiTextEditCtrl() {
  1308. position = "98 164";
  1309. extent = "49 18";
  1310. MinExtent = "8 2";
  1311. HorizSizing = "width";
  1312. VertSizing = "top";
  1313. Profile = "ToolsGuiTextEditProfile";
  1314. Visible = "1";
  1315. tooltipprofile = "ToolsGuiToolTipProfile";
  1316. ToolTip = "Number of seconds over which to transition to the new sequence";
  1317. hovertime = "1000";
  1318. internalName = "transitionTime";
  1319. canSave = "1";
  1320. canSaveDynamicFields = "0";
  1321. };
  1322. new GuiTextCtrl() {
  1323. text = "seconds";
  1324. position = "153 165";
  1325. extent = "44 16";
  1326. minExtent = "8 2";
  1327. horizSizing = "left";
  1328. vertSizing = "top";
  1329. Profile = "ToolsGuiTextProfile";
  1330. };
  1331. new GuiTextCtrl() {
  1332. text = "Transition to";
  1333. position = "4 186";
  1334. extent = "62 16";
  1335. minExtent = "8 2";
  1336. horizSizing = "right";
  1337. vertSizing = "top";
  1338. Profile = "ToolsGuiTextProfile";
  1339. };
  1340. new GuiPopUpMenuCtrl() {
  1341. position = "68 185";
  1342. extent = "133 18";
  1343. HorizSizing = "width";
  1344. vertSizing = "top";
  1345. Profile = "ToolsGuiPopUpMenuProfile";
  1346. ToolTip = "Select the start position of the new sequence";
  1347. internalName = "transitionTo";
  1348. };
  1349. new GuiTextCtrl() {
  1350. text = "Target anim";
  1351. position = "4 207";
  1352. extent = "58 16";
  1353. minExtent = "8 2";
  1354. horizSizing = "right";
  1355. vertSizing = "top";
  1356. Profile = "ToolsGuiTextProfile";
  1357. };
  1358. new GuiPopUpMenuCtrl() {
  1359. position = "68 206";
  1360. extent = "133 18";
  1361. minExtent = "8 2";
  1362. horizSizing = "width";
  1363. vertSizing = "top";
  1364. Profile = "ToolsGuiPopUpMenuProfile";
  1365. ToolTip = "Select the initial play state of the new sequence";
  1366. internalName = "transitionTarget";
  1367. };
  1368. };
  1369. };
  1370. new GuiTabPageCtrl() {
  1371. text = "Collision";
  1372. maxLength = "1024";
  1373. Margin = "0 0 0 0";
  1374. Padding = "0 0 0 0";
  1375. AnchorTop = "1";
  1376. AnchorBottom = "0";
  1377. AnchorLeft = "1";
  1378. AnchorRight = "0";
  1379. Position = "0 19";
  1380. extent = "220 224";
  1381. MinExtent = "0 -500";
  1382. HorizSizing = "width";
  1383. VertSizing = "height";
  1384. Profile = "ToolsGuiTabPageProfile";
  1385. Visible = "0";
  1386. tooltipprofile = "ToolsGuiToolTipProfile";
  1387. hovertime = "1000";
  1388. isContainer = "1";
  1389. canSave = "1";
  1390. canSaveDynamicFields = "0";
  1391. new GuiContainer(ShapeEdColWindow) {
  1392. docking = "client";
  1393. Margin = "0 0 0 0";
  1394. Padding = "0 0 0 0";
  1395. AnchorTop = "1";
  1396. AnchorBottom = "0";
  1397. AnchorLeft = "1";
  1398. AnchorRight = "0";
  1399. position = "0 0";
  1400. extent = "202 225";
  1401. MinExtent = "8 8";
  1402. HorizSizing = "width";
  1403. VertSizing = "bottom";
  1404. Profile = "ToolsGuiDefaultProfile";
  1405. Visible = "1";
  1406. tooltipprofile = "ToolsGuiToolTipProfile";
  1407. hovertime = "1000";
  1408. isContainer = "1";
  1409. canSave = "1";
  1410. canSaveDynamicFields = "0";
  1411. new GuiTextCtrl() {
  1412. text = "Fit Type";
  1413. position = "5 5";
  1414. extent = "70 16";
  1415. horizSizing = "right";
  1416. vertSizing = "bottom";
  1417. Profile = "ToolsGuiTextRightProfile";
  1418. };
  1419. new GuiPopUpMenuCtrl() {
  1420. position = "85 4";
  1421. extent = "170 18";
  1422. horizSizing = "right";
  1423. vertSizing = "bottom";
  1424. Profile = "ToolsGuiPopUpMenuProfile";
  1425. Command = "ShapeEdColWindow.editCollision();";
  1426. ToolTip = "Select the method used to auto-generate the collision geometry";
  1427. internalName = "colType";
  1428. };
  1429. new GuiTextCtrl() {
  1430. text = "Fit Target";
  1431. position = "5 25";
  1432. extent = "70 16";
  1433. horizSizing = "right";
  1434. vertSizing = "bottom";
  1435. Profile = "ToolsGuiTextRightProfile";
  1436. };
  1437. new GuiPopUpMenuCtrl() {
  1438. position = "85 24";
  1439. extent = "170 18";
  1440. horizSizing = "right";
  1441. vertSizing = "bottom";
  1442. Profile = "ToolsGuiPopUpMenuProfile";
  1443. Command = "ShapeEdColWindow.editCollision();";
  1444. ToolTip = "Select the object to fit collision geometry to";
  1445. internalName = "colTarget";
  1446. };
  1447. new GuiTextCtrl() {
  1448. text = "Max Depth";
  1449. position = "5 47";
  1450. extent = "70 16";
  1451. horizSizing = "right";
  1452. vertSizing = "bottom";
  1453. Profile = "ToolsGuiTextRightProfile";
  1454. };
  1455. new GuiSliderCtrl() {
  1456. range = "0 8";
  1457. ticks = "4";
  1458. snap = "0";
  1459. value = "4";
  1460. position = "80 48";
  1461. extent = "90 14";
  1462. MinExtent = "8 2";
  1463. HorizSizing = "width";
  1464. VertSizing = "bottom";
  1465. Profile = "ToolsGuiSliderBoxProfile";
  1466. Visible = "1";
  1467. AltCommand = "ShapeEdColWindow-->hullDepthText.setText( mFloor($ThisControl.getValue()) );";
  1468. tooltipprofile = "ToolsGuiToolTipProfile";
  1469. ToolTip = "Maximum hull split depth";
  1470. hovertime = "1000";
  1471. isContainer = "0";
  1472. internalName = "hullDepth";
  1473. };
  1474. new GuiTextCtrl() {
  1475. text = "4";
  1476. position = "320 47";
  1477. extent = "25 16";
  1478. horizSizing = "right";
  1479. vertSizing = "bottom";
  1480. Profile = "ToolsGuiTextRightProfile";
  1481. internalName = "hullDepthText";
  1482. };
  1483. new GuiTextCtrl() {
  1484. text = "Merge %";
  1485. position = "5 68";
  1486. extent = "70 16";
  1487. horizSizing = "right";
  1488. vertSizing = "bottom";
  1489. Profile = "ToolsGuiTextRightProfile";
  1490. };
  1491. new GuiSliderCtrl() {
  1492. range = "0 60";
  1493. ticks = "4";
  1494. snap = "0";
  1495. value = "30";
  1496. position = "80 69";
  1497. extent = "90 14";
  1498. MinExtent = "8 2";
  1499. HorizSizing = "width";
  1500. VertSizing = "bottom";
  1501. Profile = "ToolsGuiSliderBoxProfile";
  1502. Visible = "1";
  1503. AltCommand = "ShapeEdColWindow-->hullMergeText.setText( mFloor($ThisControl.getValue()) );";
  1504. tooltipprofile = "ToolsGuiToolTipProfile";
  1505. ToolTip = "Hull volume merge threshold";
  1506. hovertime = "1000";
  1507. isContainer = "0";
  1508. internalName = "hullMergeThreshold";
  1509. };
  1510. new GuiTextCtrl() {
  1511. text = "30";
  1512. position = "320 68";
  1513. extent = "25 16";
  1514. horizSizing = "right";
  1515. vertSizing = "bottom";
  1516. Profile = "ToolsGuiTextRightProfile";
  1517. internalName = "hullMergeText";
  1518. };
  1519. new GuiTextCtrl() {
  1520. text = "Concavity %";
  1521. position = "5 89";
  1522. extent = "70 16";
  1523. horizSizing = "right";
  1524. vertSizing = "bottom";
  1525. Profile = "ToolsGuiTextRightProfile";
  1526. };
  1527. new GuiSliderCtrl() {
  1528. range = "0 60";
  1529. ticks = "4";
  1530. snap = "0";
  1531. value = "30";
  1532. position = "80 90";
  1533. extent = "90 14";
  1534. MinExtent = "8 2";
  1535. HorizSizing = "width";
  1536. VertSizing = "bottom";
  1537. Profile = "ToolsGuiSliderBoxProfile";
  1538. Visible = "1";
  1539. AltCommand = "ShapeEdColWindow-->hullConcaveText.setText( mFloor($ThisControl.getValue()) );";
  1540. tooltipprofile = "ToolsGuiToolTipProfile";
  1541. ToolTip = "Hull concavity threshold";
  1542. hovertime = "1000";
  1543. isContainer = "0";
  1544. internalName = "hullConcaveThreshold";
  1545. };
  1546. new GuiTextCtrl() {
  1547. text = "30";
  1548. position = "320 89";
  1549. extent = "25 16";
  1550. horizSizing = "right";
  1551. vertSizing = "bottom";
  1552. Profile = "ToolsGuiTextRightProfile";
  1553. internalName = "hullConcaveText";
  1554. };
  1555. new GuiTextCtrl() {
  1556. text = "Max Verts";
  1557. position = "5 110";
  1558. extent = "70 16";
  1559. horizSizing = "right";
  1560. vertSizing = "bottom";
  1561. Profile = "ToolsGuiTextRightProfile";
  1562. };
  1563. new GuiSliderCtrl() {
  1564. range = "8 64";
  1565. ticks = "4";
  1566. snap = "0";
  1567. value = "32";
  1568. position = "80 111";
  1569. extent = "90 14";
  1570. MinExtent = "8 2";
  1571. HorizSizing = "width";
  1572. VertSizing = "bottom";
  1573. Profile = "ToolsGuiSliderBoxProfile";
  1574. Visible = "1";
  1575. AltCommand = "ShapeEdColWindow-->hullMaxVertsText.setText( mFloor($ThisControl.getValue()) );";
  1576. tooltipprofile = "ToolsGuiToolTipProfile";
  1577. ToolTip = "Maximum number of verts in a convex hull";
  1578. hovertime = "1000";
  1579. isContainer = "0";
  1580. internalName = "hullMaxVerts";
  1581. };
  1582. new GuiTextCtrl() {
  1583. text = "32";
  1584. position = "320 110";
  1585. extent = "25 16";
  1586. horizSizing = "right";
  1587. vertSizing = "bottom";
  1588. Profile = "ToolsGuiTextRightProfile";
  1589. internalName = "hullMaxVertsText";
  1590. };
  1591. new GuiTextCtrl() {
  1592. text = "Box %";
  1593. position = "5 131";
  1594. extent = "70 16";
  1595. horizSizing = "right";
  1596. vertSizing = "bottom";
  1597. Profile = "ToolsGuiTextRightProfile";
  1598. };
  1599. new GuiSliderCtrl() {
  1600. range = "0 100";
  1601. ticks = "4";
  1602. snap = "0";
  1603. value = "30";
  1604. position = "80 132";
  1605. extent = "90 14";
  1606. MinExtent = "8 2";
  1607. HorizSizing = "width";
  1608. VertSizing = "bottom";
  1609. Profile = "ToolsGuiSliderBoxProfile";
  1610. Visible = "1";
  1611. AltCommand = "ShapeEdColWindow-->hullMaxBoxErrorText.setText( mFloor($ThisControl.getValue()) );";
  1612. tooltipprofile = "ToolsGuiToolTipProfile";
  1613. ToolTip = "Maximum box volume error %";
  1614. hovertime = "1000";
  1615. isContainer = "0";
  1616. internalName = "hullMaxBoxError";
  1617. };
  1618. new GuiTextCtrl() {
  1619. text = "30";
  1620. position = "320 131";
  1621. extent = "25 16";
  1622. horizSizing = "right";
  1623. vertSizing = "bottom";
  1624. Profile = "ToolsGuiTextRightProfile";
  1625. internalName = "hullMaxBoxErrorText";
  1626. };
  1627. new GuiTextCtrl() {
  1628. text = "Sphere %";
  1629. position = "5 152";
  1630. extent = "70 16";
  1631. horizSizing = "right";
  1632. vertSizing = "bottom";
  1633. Profile = "ToolsGuiTextRightProfile";
  1634. };
  1635. new GuiSliderCtrl() {
  1636. range = "0 100";
  1637. ticks = "4";
  1638. snap = "0";
  1639. value = "30";
  1640. position = "80 153";
  1641. extent = "90 14";
  1642. MinExtent = "8 2";
  1643. HorizSizing = "width";
  1644. VertSizing = "bottom";
  1645. Profile = "ToolsGuiSliderBoxProfile";
  1646. Visible = "1";
  1647. AltCommand = "ShapeEdColWindow-->hullMaxSphereErrorText.setText( mFloor($ThisControl.getValue()) );";
  1648. tooltipprofile = "ToolsGuiToolTipProfile";
  1649. ToolTip = "Maximum sphere volume error %";
  1650. hovertime = "1000";
  1651. isContainer = "0";
  1652. internalName = "hullMaxSphereError";
  1653. };
  1654. new GuiTextCtrl() {
  1655. text = "30";
  1656. position = "320 152";
  1657. extent = "25 16";
  1658. horizSizing = "right";
  1659. vertSizing = "bottom";
  1660. Profile = "ToolsGuiTextRightProfile";
  1661. internalName = "hullMaxSphereErrorText";
  1662. };
  1663. new GuiTextCtrl() {
  1664. text = "Capsule %";
  1665. position = "5 173";
  1666. extent = "70 16";
  1667. horizSizing = "right";
  1668. vertSizing = "bottom";
  1669. Profile = "ToolsGuiTextRightProfile";
  1670. };
  1671. new GuiSliderCtrl() {
  1672. range = "0 100";
  1673. ticks = "4";
  1674. snap = "0";
  1675. value = "30";
  1676. position = "80 174";
  1677. extent = "90 14";
  1678. MinExtent = "8 2";
  1679. HorizSizing = "width";
  1680. VertSizing = "bottom";
  1681. Profile = "ToolsGuiSliderBoxProfile";
  1682. Visible = "1";
  1683. AltCommand = "ShapeEdColWindow-->hullMaxCapsuleErrorText.setText( mFloor($ThisControl.getValue()) );";
  1684. tooltipprofile = "ToolsGuiToolTipProfile";
  1685. ToolTip = "Maximum capsule volume error %";
  1686. hovertime = "1000";
  1687. isContainer = "0";
  1688. internalName = "hullMaxCapsuleError";
  1689. };
  1690. new GuiTextCtrl() {
  1691. text = "30";
  1692. position = "320 173";
  1693. extent = "25 16";
  1694. horizSizing = "right";
  1695. vertSizing = "bottom";
  1696. Profile = "ToolsGuiTextRightProfile";
  1697. internalName = "hullMaxCapsuleErrorText";
  1698. };
  1699. new GuiButtonCtrl() {
  1700. text = "Update Hulls";
  1701. groupNum = "-1";
  1702. buttonType = "PushButton";
  1703. useMouseEvents = "0";
  1704. position = "7 200";
  1705. extent = "100 20";
  1706. MinExtent = "8 2";
  1707. HorizSizing = "right";
  1708. vertSizing = "bottom";
  1709. Profile = "ToolsGuiButtonProfile";
  1710. Visible = "1";
  1711. Command = "ShapeEdColWindow.editCollision();";
  1712. tooltipprofile = "ToolsGuiToolTipProfile";
  1713. ToolTip = "Update the convex hull(s)";
  1714. hovertime = "1000";
  1715. isContainer = "0";
  1716. canSave = "1";
  1717. canSaveDynamicFields = "0";
  1718. };
  1719. new GuiButtonCtrl() {
  1720. text = "Revert Changes";
  1721. groupNum = "-1";
  1722. buttonType = "PushButton";
  1723. useMouseEvents = "0";
  1724. position = "115 200";
  1725. extent = "100 20";
  1726. MinExtent = "8 2";
  1727. HorizSizing = "right";
  1728. vertSizing = "bottom";
  1729. Profile = "ToolsGuiButtonProfile";
  1730. Visible = "1";
  1731. Command = "ShapeEdColWindow.update_onCollisionChanged();";
  1732. tooltipprofile = "ToolsGuiToolTipProfile";
  1733. ToolTip = "Revert changes to settings";
  1734. hovertime = "1000";
  1735. isContainer = "0";
  1736. canSave = "1";
  1737. canSaveDynamicFields = "0";
  1738. };
  1739. new GuiBitmapCtrl() {
  1740. bitmapAsset = "ToolsModule:inactive_overlay_image";
  1741. position = "0 47";
  1742. extent = "199 178";
  1743. horizSizing = "right";
  1744. vertSizing = "bottom";
  1745. Profile = "ToolsGuiDefaultProfile";
  1746. visible = "0";
  1747. canSave = "1";
  1748. canSaveDynamicFields = "0";
  1749. internalName = "hullInactive";
  1750. };
  1751. };
  1752. };
  1753. };
  1754. };
  1755. //--- OBJECT WRITE END ---
  1756. new GuiControl(ShapeEdWaitGui,EditorGuiGroup) {
  1757. isContainer = "1";
  1758. Profile = "ToolsGuiOverlayProfile";
  1759. HorizSizing = "right";
  1760. VertSizing = "bottom";
  1761. position = "0 0";
  1762. Extent = "800 600";
  1763. MinExtent = "8 2";
  1764. canSave = "1";
  1765. Visible = "1";
  1766. tooltipprofile = "ToolsGuiToolTipProfile";
  1767. hovertime = "1000";
  1768. canSaveDynamicFields = "1";
  1769. new GuiControl() {
  1770. isContainer = "1";
  1771. Profile = "editorMenu_wBorderProfile";
  1772. HorizSizing = "center";
  1773. VertSizing = "center";
  1774. position = "277 271";
  1775. Extent = "245 57";
  1776. MinExtent = "8 2";
  1777. canSave = "1";
  1778. Visible = "1";
  1779. tooltipprofile = "ToolsGuiToolTipProfile";
  1780. hovertime = "1000";
  1781. internalName = "Dialog";
  1782. canSaveDynamicFields = "0";
  1783. new GuiTextCtrl() {
  1784. text = "";
  1785. maxLength = "1024";
  1786. Margin = "0 0 0 0";
  1787. Padding = "0 0 0 0";
  1788. AnchorTop = "1";
  1789. AnchorBottom = "0";
  1790. AnchorLeft = "1";
  1791. AnchorRight = "0";
  1792. isContainer = "0";
  1793. Profile = "ToolsGuiTextBoldCenterProfile";
  1794. HorizSizing = "width";
  1795. VertSizing = "center";
  1796. position = "5 19";
  1797. Extent = "236 18";
  1798. MinExtent = "8 2";
  1799. canSave = "1";
  1800. Visible = "1";
  1801. tooltipprofile = "ToolsGuiToolTipProfile";
  1802. hovertime = "1000";
  1803. canSaveDynamicFields = "0";
  1804. internalName = "message";
  1805. };
  1806. };
  1807. };
  1808. function ShapeEdWaitGui::show(%this, %text)
  1809. {
  1810. %this-->message.setText( %text );
  1811. Canvas.pushDialog( %this );
  1812. Canvas.repaint();
  1813. }
  1814. function ShapeEdWaitGui::hide(%this)
  1815. {
  1816. Canvas.popDialog( %this );
  1817. }
  1818. function ShapeEdWaitGui::onWake(%this)
  1819. {
  1820. %res = %this.getExtent();
  1821. %resX = getWord( %res, 0 );
  1822. %resY = getWord( %res, 1 );
  1823. %dialog = %this-->Dialog;
  1824. %dialogExtent = %dialog.getExtent();
  1825. %dialogWidth = getWord( %dialogExtent, 0 );
  1826. %dialogHeight = getWord( %dialogExtent, 1 );
  1827. %dialogPostion = %dialog.getPosition();
  1828. %posX = ( %resX / 2 ) - ( %dialogWidth / 2 );
  1829. %posY = ( %resY / 2 ) - ( %dialogHeight / 2 );
  1830. %dialog.setPosition( %posX, %posY );
  1831. }