| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514 |
- //--- OBJECT WRITE BEGIN ---
- $guiContent = new GuiWindowCollapseCtrl(ShapeEdPropWindow) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiWindowProfile";
- HorizSizing = "windowRelative";
- VertSizing = "windowRelative";
- Position = getWord($pref::Video::mode, 0) - 360
- SPC getWord(EditorGuiToolbar.extent, 1) + getWord(ShapeEdSelectWindow.extent, 1) - 2;
- Extent = "360 350";
- MinExtent = "300 350";
- canSave = "1";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Margin = "4 4 4 4";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- resizeWidth = "1";
- resizeHeight = "1";
- canMove = "1";
- canClose = "0";
- canMinimize = "0";
- canMaximize = "0";
- minSize = "50 50";
- EdgeSnap = "1";
- text = ":: Shape Editor - Properties";
- //---------------------------------------------------------------------
- // Sequence and Node editors
- new GuiTabBookCtrl(ShapeEdSeqNodeTabBook) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiTabBookProfile";
- HorizSizing = "width";
- VertSizing = "height";
- position = "4 42";
- Extent = "202 437";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Docking = "client";
- Margin = "3 1 3 3";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- TabPosition = "Top";
- TabMargin = "6";
- MinTabWidth = "32";
- //---------------------------------------------------------------
- // Sequence editor
- new GuiTabPageCtrl(ShapeEdSequences) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiTabPageProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 19";
- Extent = "202 418";
- MinExtent = "0 -500";
- canSave = "1";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- text = "Seq";
- maxLength = "1024";
- new GuiContainer() {
- isContainer = "1";
- Profile = "GuiInspectorProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 418";
- MinExtent = "0 8";
- };
- new GuiBitmapBorderCtrl() {
- isContainer = "1";
- Profile = "ToolsGuiTabBorderProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 418";
- MinExtent = "0 8";
- };
- // Sequence list
- new GuiControl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 211";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- new GuiScrollCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "GuiShapeEdScrollProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 211";
- MinExtent = "8 25";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- willFirstRespond = "1";
- hScrollBar = "dynamic";
- vScrollBar = "dynamic";
- lockHorizScroll = false;
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- new GuiContainer() {
- internalName = "sequenceListHeader";
- Profile = "inspectorStyleRolloutListProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "1 1";
- Extent = "200 19";
- MinExtent = "8 2";
- };
- new GuiTextListCtrl(ShapeEdSequenceList) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "GuiShapeEdTextListProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "0 0";
- Extent = "202 20";
- MinExtent = "8 11";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdPropWindow.update_onSeqSelectionChanged();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- enumerate = "0";
- resizeCell = "1";
- columns = "0 100 145 190 235";
- fitParentWidth = "0";
- clipColumnText = "1";
- };
- };
- };
- // Sequence properties
- new GuiControl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "width";
- VertSizing = "top";
- Position = "0 210";
- Extent = "202 209";
- MinExtent = "8 11";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
-
- new GuiContainer(){ // Sequence Properties Container
- Profile = "inspectorStyleRolloutDarkProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- position = "0 0";
- Extent = "202 103";
- isContainer = true;
-
- new GuiTextCtrl() { // Header
- Profile = "ToolsGuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "5 1";
- Extent = "120 16";
- text = "Sequence Properties";
- };
- new GuiTextCtrl() { // Name
- Profile = "ToolsGuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "16 22";
- Extent = "30 16";
- text = "Name";
- };
- new GuiTextEditCtrl() {
- internalName = "seqName";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "55 21";
- Extent = "152 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- AltCommand = "ShapeEdSequences.onEditName();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Name of the selected sequence (edit to rename)";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- maxLength = "256";
- historySize = "0";
- password = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- passwordMask = "*";
- };
- // animation dropdown
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextRightProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "-5 42";
- Extent = "48 18";
- text = "Source";
- tooltip = "Animation source data";
- };
- new GuiPopUpMenuCtrl(ShapeEdSeqFromMenu) {
- Profile = "ToolsGuiPopUpMenuProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "55 41";
- Extent = "91 18";
- };
- // Start Frame
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextRightProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "32 62";
- Extent = "11 16";
- text = "in";
- };
- new GuiTextEditCtrl() {
- internalName = "startFrame";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "46 61";
- Extent = "32 18";
- text = "";
- AltCommand = "ShapeEdSequences.onEditSeqInOut(\"in\", $ThisControl.getText());";
- };
- // End frame
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextRightProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "85 62";
- Extent = "18 16";
- text = "out";
- };
- new GuiTextEditCtrl() {
- internalName = "endFrame";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "105 61";
- Extent = "32 18";
- text = "";
- AltCommand = "ShapeEdSequences.onEditSeqInOut(\"out\", $ThisControl.getText());";
- };
- // Cyclic flag
- new GuiCheckBoxCtrl() {
- internalName = "cyclicFlag";
- Profile = "ToolsGuiCheckBoxProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "143 43";
- Extent = "45 13";
- Command = "ShapeEdSequences.onToggleCyclic();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Loop Animation. Toggles the cyclic flag.";
- hovertime = "1000";
- text = "Loop";
- };
- // Priority
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextRightProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- position = "136 62";
- Extent = "41 16";
- text = "Priority";
- };
- new GuiTextEditCtrl() {
- internalName = "priority";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "179 61";
- Extent = "19 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- AltCommand = "ShapeEdSequences.onEditPriority();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Priority of the selected sequence";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- maxLength = "5";
- historySize = "0";
- password = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- passwordMask = "*";
- };
- // Blend animation dropdown
- new GuiCheckBoxCtrl() {
- internalName = "blendFlag";
- Profile = "ToolsGuiCheckBoxProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "2 82";
- Extent = "55 16";
- Command = "ShapeEdSequences.onEditBlend();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Toggle the blend flag for the selected sequence";
- hovertime = "1000";
- text = "Blend";
- };
- new GuiPopUpMenuCtrl() {
- internalName = "blendSeq";
- Profile = "ToolsGuiPopUpMenuProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "60 81";
- Extent = "75 18";
- tooltip = "Blend reference sequence";
- Command = "ShapeEdSequences.onEditBlend();";
- };
-
- // Blend frame
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextRightProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "135 81";
- Extent = "30 18";
- text = "Frame";
- };
- new GuiTextEditCtrl() {
- internalName = "blendFrame";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "175 81";
- Extent = "25 18";
- text = "";
- tooltip = "Blend reference frame";
- AltCommand = "ShapeEdSequences.onEditBlend();";
- };
- };
- new GuiContainer(){ // Triggers Container
- Profile = "inspectorStyleRolloutDarkProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- position = "0 102";
- Extent = "202 106";
- isContainer = true;
-
- // Triggers
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "5 0";
- Extent = "50 18";
- text = "Triggers";
- };
- new GuiBitmapButtonCtrl() {
- internalName = "addTriggerBtn";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "170 2";
- Extent = "15 15";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdSequences.onAddTrigger();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Add a new trigger";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmapAsset = "ToolsModule:new_n_image";
- };
- new GuiBitmapButtonCtrl() {
- internalName = "deleteTriggerBtn";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "185 2";
- Extent = "15 15";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdTriggerList.onDeleteSelection();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Delete the selected trigger";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmapAsset = "ToolsModule:delete_n_image";
- };
- // Trigger list
- new GuiControl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiScrollProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 17";
- Extent = "202 66";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- new GuiScrollCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "GuiShapeEdScrollProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 66";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "0";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- willFirstRespond = "1";
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- lockHorizScroll = "true";
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- new GuiContainer() {
- Profile = "inspectorStyleRolloutListProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- position = "1 1";
- Extent = "200 19";
- };
- new GuiTextListCtrl(ShapeEdTriggerList) {
- canSaveDynamicFields = "0";
- Profile = "GuiShapeEdTextListProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "1 1";
- Extent = "177 16";
- MinExtent = "8 11";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdPropWindow.onTriggerSelectionChanged();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- enumerate = "0";
- resizeCell = "1";
- columns = "-1 0 60 118";
- fitParentWidth = "1";
- clipColumnText = "1";
- };
- };
- };
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "5 85";
- Extent = "35 18";
- text = "Frame";
- };
- new GuiTextEditCtrl() {
- internalName = "triggerFrame";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "36 85";
- Extent = "32 18";
- text = "";
- AltCommand = "ShapeEdTriggerList.onEditSelection();";
- };
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "75 85";
- Extent = "35 18";
- text = "Trigger";
- };
- new GuiTextEditCtrl() {
- internalName = "triggerNum";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "110 85";
- Extent = "32 18";
- text = "";
- AltCommand = "ShapeEdTriggerList.onEditSelection();";
- };
- new GuiCheckBoxCtrl() {
- internalName = "triggerOnOff";
- Profile = "ToolsGuiCheckBoxProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "150 87";
- Extent = "47 13";
- text = "On/off";
- Command = "ShapeEdTriggerList.onEditSelection();";
- };
- };
- };
- };
- //---------------------------------------------------------------
- // Node Editor
- new GuiTabPageCtrl(ShapeEdNodes) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiTabPageProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 19";
- Extent = "202 418";
- MinExtent = "0 -500";
- canSave = "1";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- text = "Node";
- maxLength = "1024";
- new GuiBitmapBorderCtrl() {
- isContainer = "1";
- Profile = "ToolsGuiTabBorderProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 418";
- MinExtent = "0 8";
- };
- // Node Filter
- new GuiTextEditCtrl(NodeTreeFilter) {
- position = "2 4";
- extent = "175 18";
- profile = "ToolsGuiTextEditProfile";
- horizSizing = "width";
- vertSizing = "bottom";
- class = "GuiTreeViewFilterText";
- treeView = ShapeEdNodeTreeView;
- };
- new GuiBitmapButtonCtrl() {
- bitmapAsset = "ToolsModule:clear_icon_n_image";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- position = "180 5";
- Extent = "17 17";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- class = "GuiTreeViewFilterClearButton";
- textCtrl = NodeTreeFilter;
- };
- // End Node Filter
- new GuiScrollCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "GuiEditorScrollProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 32";
- Extent = "202 256";
- MinExtent = "8 0";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "0";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- willFirstRespond = "1";
- hScrollBar = "dynamic";
- vScrollBar = "dynamic";
- lockHorizScroll = false;
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- new GuiTreeViewCtrl(ShapeEdNodeTreeView) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiTreeViewProfile";
- HorizSizing = "right";
- VertSizing = "height";
- Position = "1 1";
- Extent = "122 21";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- tabSize = "16";
- textOffset = "2";
- fullRowSelect = "0";
- itemHeight = "21";
- destroyTreeOnSleep = "1";
- MouseDragging = "0";
- MultipleSelections = "0";
- DeleteObjectAllowed = "1";
- DragToItemAllowed = "0";
- showRoot = "0";
- internalNamesOnly = "0";
- };
- };
- new GuiContainer(){ // Node Properties Container
- Profile = "inspectorStyleRolloutDarkProfile";
- HorizSizing = "width";
- VertSizing = "top";
- position = "0 287";
- Extent = "202 131";
- isContainer = true;
-
- new GuiTextCtrl() {
- Profile = "ToolsGuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "5 1";
- Extent = "104 16";
- text = "Node Properties";
- };
- // Node property labels
- new GuiControl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "right";
- VertSizing = "top";
- Position = "6 18";
- Extent = "50 108";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- new GuiTextCtrl() {
- HorizSizing = "right";
- VertSizing = "bottom";
- profile = "ToolsGuiTextRightProfile";
- position = "9 6";
- Extent = "40 16";
- text = "Name";
- };
- new GuiTextCtrl() {
- HorizSizing = "right";
- VertSizing = "bottom";
- profile = "ToolsGuiTextRightProfile";
- position = "10 26";
- Extent = "40 16";
- text = "Parent";
- };
- new GuiTextCtrl() {
- HorizSizing = "right";
- VertSizing = "bottom";
- profile = "ToolsGuiTextRightProfile";
- position = "-5 49";
- Extent = "54 16";
- text = "Transform";
- };
- new GuiTextCtrl() {
- HorizSizing = "right";
- VertSizing = "bottom";
- profile = "ToolsGuiTextRightProfile";
- position = "11 73";
- Extent = "39 16";
- text = "Position";
- };
- new GuiTextCtrl() {
- HorizSizing = "right";
- VertSizing = "bottom";
- profile = "ToolsGuiTextRightProfile";
- position = "8 93";
- Extent = "42 16";
- text = "Rotation";
- };
- };
- // Node properties
- new GuiControl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "width";
- VertSizing = "top";
- Position = "49 16";
- Extent = "155 109";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- new GuiTextEditCtrl() {
- internalName = "nodeName";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "12 5";
- Extent = "137 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- AltCommand = "ShapeEdNodes.onEditName();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Name of the selected node (edit to rename)";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- maxLength = "1024";
- historySize = "0";
- password = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- passwordMask = "*";
- };
- new GuiPopUpMenuCtrl(ShapeEdNodeParentMenu) {
- Profile = "ToolsGuiPopUpMenuProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "12 25";
- Extent = "137 18";
- tooltip = "Selected node's parent";
- };
- new GuiIconButtonCtrl() {
- internalName = "worldTransform";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiIconButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "12 45";
- Extent = "65 25";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdPropWindow.update_onNodeTransformChanged();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "View global node transform";
- hovertime = "1000";
- text = "World";
- groupNum = "0";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- buttonMargin = "0 4";
- bitmapAsset = "ToolsModule:world_transform_n_image";
- textMargin = "25";
- };
- new GuiIconButtonCtrl() {
- internalName = "objectTransform";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiIconButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "84 45";
- Extent = "65 25";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdPropWindow.update_onNodeTransformChanged();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "View local node transform (relative to parent)";
- hovertime = "1000";
- text = "Object";
- groupNum = "0";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- buttonMargin = "0 4";
- bitmapAsset = "ToolsModule:object_transform_n_image";
- textMargin = "26";
- };
- new GuiTextEditCtrl() {
- internalName = "nodePosition";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "12 72";
- Extent = "137 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- AltCommand = "ShapeEdNodes.onEditTransform();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Node position (x y z)";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- maxLength = "1024";
- historySize = "0";
- password = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- passwordMask = "*";
- };
- new GuiTextEditCtrl() {
- internalName = "nodeRotation";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "12 92";
- Extent = "137 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- AltCommand = "ShapeEdNodes.onEditTransform();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Node rotation (axis.x axis.y axis.z angle)";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- maxLength = "1024";
- historySize = "0";
- password = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- passwordMask = "*";
- };
- };
- };
- };
- //---------------------------------------------------------------
- // Details/Objects
- new GuiTabPageCtrl(ShapeEdDetails) {
- fitBook = "0";
- text = "Detail";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- position = "0 19";
- extent = "202 418";
- MinExtent = "0 -500";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiTabPageProfile";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- new GuiContainer() {
- position = "0 0";
- extent = "202 418";
- minExtent = "0 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiInspectorProfile";
- isContainer = "1";
- };
- new GuiBitmapBorderCtrl() {
- position = "0 0";
- extent = "202 418";
- minExtent = "0 8";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiTabBorderProfile";
- isContainer = "1";
- };
- // Detail/object tree
- new GuiControl() {
- Position = "0 0";
- extent = "202 276";
- MinExtent = "8 8";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "dynamic";
- vScrollBar = "dynamic";
- lockHorizScroll = false;
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- Position = "0 0";
- extent = "202 276";
- MinExtent = "8 25";
- HorizSizing = "width";
- VertSizing = "height";
- Profile = "GuiShapeEdScrollProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiTreeViewCtrl(ShapeEdDetailTree) {
- tabSize = "16";
- textOffset = "2";
- fullRowSelect = "0";
- itemHeight = "21";
- destroyTreeOnSleep = "1";
- MouseDragging = "0";
- MultipleSelections = "0";
- DeleteObjectAllowed = "1";
- DragToItemAllowed = "0";
- showRoot = "0";
- Position = "1 1";
- extent = "85 110";
- MinExtent = "8 8";
- HorizSizing = "right";
- VertSizing = "height";
- Profile = "ToolsGuiTreeViewProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- // Detail/Object properties
- new GuiControl() {
- position = "0 275";
- extent = "202 143";
- MinExtent = "8 8";
- HorizSizing = "width";
- vertSizing = "top";
- Profile = "ToolsGuiDefaultProfile";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiContainer() {
- position = "0 0";
- extent = "202 143";
- HorizSizing = "width";
- VertSizing = "bottom";
- Profile = "inspectorStyleRolloutDarkProfile";
- isContainer = "1";
-
- new GuiTextCtrl() { // Header
- Profile = "ToolsGuiTextProfile";
- text = "Detail/Object Properties";
- position = "4 1";
- extent = "112 16";
- HorizSizing = "right";
- VertSizing = "bottom";
- };
- new GuiTextEditCtrl() {
- position = "5 23";
- extent = "130 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextEditProfile";
- Visible = "1";
- AltCommand = "ShapeEdDetails.onEditName();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Edit this value to rename the current object or detail";
- hovertime = "1000";
- internalName = "meshName";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- position = "157 23";
- extent = "40 18";
- MinExtent = "8 2";
- HorizSizing = "right";
- VertSizing = "bottom";
- Profile = "ToolsGuiTextEditProfile";
- Visible = "1";
- AltCommand = "ShapeEdDetails.onEditSize();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Edit this value to change the size of the current mesh or detail";
- hovertime = "1000";
- internalName = "meshSize";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Billboarding";
- position = "5 44";
- extent = "57 16";
- HorizSizing = "right";
- VertSizing = "bottom";
- };
- new GuiPopUpMenuCtrl() {
- position = "88 45";
- extent = "109 18";
- HorizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiPopUpMenuProfile";
- Command = "ShapeEdDetails.onEditBBType();";
- ToolTip = "The type of billboarding used by the mesh";
- internalName = "bbType";
- };
- new GuiTextCtrl() {
- text = "Object Node";
- position = "5 66";
- extent = "60 16";
- HorizSizing = "right";
- VertSizing = "bottom";
- };
- new GuiPopUpMenuCtrl() {
- position = "88 67";
- extent = "109 18";
- HorizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiPopUpMenuProfile";
- Command = "ShapeEdDetails.onSetObjectNode();";
- ToolTip = "The node this object is attached to (all detail levels)";
- internalName = "objectNode";
- };
- new GuiBitmapCtrl(){
- bitmapAsset = "ToolsModule:inactive_overlay_image";
- position = "4 45";
- extent = "193 42";
- tooltip = "A mesh must be selected to edit these properties";
- hovertime = "500";
- isContainer = "1";
- internalName = "editMeshInactive";
- };
- new GuiButtonCtrl() {
- text = "Import Shape into...";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "4 91";
- extent = "102 22";
- MinExtent = "8 2";
- HorizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiButtonProfile";
- Visible = "1";
- Command = "ShapeEdDetails.onAddMeshFromFile(\"\");";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Add geometry from a different model file into the current shape";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- position = "111 92";
- extent = "85 18";
- horizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiPopUpMenuProfile";
- tooltip = "Select which detail level new geometry will be added to";
- internalName = "addGeomTo";
- };
- new GuiButtonCtrl() {
- text = "Re-compute bounds";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "40 117";
- extent = "122 22";
- MinExtent = "8 2";
- HorizSizing = "right";
- vertSizing = "bottom";
- Profile = "ToolsGuiButtonProfile";
- Visible = "1";
- Command = "ShapeEditor.doSetBounds();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Recompute the shape bounding box using the geometry in the current detail level";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- };
- //---------------------------------------------------------------
- // Materials
- new GuiTabPageCtrl(ShapeEdMaterials) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiTabPageProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 19";
- Extent = "202 418";
- MinExtent = "0 -500";
- canSave = "1";
- Visible = "0";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- text = "Mat";
- maxLength = "1024";
- new GuiContainer() {
- isContainer = "1";
- Profile = "GuiInspectorProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 418";
- MinExtent = "0 8";
- };
- new GuiBitmapBorderCtrl() {
- isContainer = "1";
- Profile = "ToolsGuiTabBorderProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 418";
- MinExtent = "0 8";
- };
- // Material list
- new GuiControl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 345";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- new GuiScrollCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "GuiShapeEdScrollProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "202 345";
- MinExtent = "8 25";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- willFirstRespond = "1";
- hScrollBar = "dynamic";
- vScrollBar = "dynamic";
- lockHorizScroll = false;
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- new GuiContainer() {
- internalName = "materialListHeader";
- Profile = "inspectorStyleRolloutListProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "1 1";
- Extent = "200 19";
- MinExtent = "8 2";
- };
- new GuiTextListCtrl(ShapeEdMaterialList) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "GuiShapeEdTextListProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "0 0";
- Extent = "202 20";
- MinExtent = "8 11";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdMaterials.updateSelectedMaterial(ShapeEdMaterials-->highlightMaterial.getValue());";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- enumerate = "0";
- resizeCell = "1";
- columns = "0 130";
- fitParentWidth = "0";
- clipColumnText = "1";
- };
- };
- };
- // Material properties
- new GuiContainer() {
- Profile = "inspectorStyleRolloutDarkProfile";
- HorizSizing = "width";
- VertSizing = "top";
- Position = "0 344";
- Extent = "202 74";
- isContainer = true;
-
- new GuiTextCtrl() { // Header
- Profile = "ToolsGuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "5 1";
- Extent = "104 16";
- text = "Material Options";
- };
- new GuiIconButtonCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiIconButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "0 21";
- Extent = "150 25";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdMaterials.editSelectedMaterial();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Open the Material Editor to edit the selected material";
- hovertime = "1000";
- text = "Edit the selected Material";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- buttonMargin = "0 4";
- bitmapAsset = "ToolsModule:material_editor_n_image";
- textMargin = "25";
- };
- new GuiCheckBoxCtrl() {
- internalName = "highlightMaterial";
- Profile = "ToolsGuiCheckBoxProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "7 52";
- Extent = "150 13";
- Command = "ShapeEdMaterials.updateSelectedMaterial($ThisControl.getValue());";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Highlight the primitives that use the selected Material";
- hovertime = "1000";
- text = "Highlight selected Material";
- };
- };
- };
- };
- // Save/New/Delete buttons (node or sequence, depending on which tab is active)
- new GuiBitmapButtonCtrl() {
- internalName = "saveBtn";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "300 25";
- Extent = "17 17";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEditor.saveChanges();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Save the current shape";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmapAsset = "ToolsModule:save_icon_n_image";
- };
- new GuiBitmapButtonCtrl() {
- internalName = "newBtn";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "320 25";
- Extent = "17 17";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmapAsset = "ToolsModule:new_n_image";
- };
- new GuiBitmapButtonCtrl() {
- internalName = "deleteBtn";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "340 25";
- Extent = "17 17";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmapAsset = "ToolsModule:delete_n_image";
- };
- };
- //--- OBJECT WRITE END ---
- new GuiControl(GenImposterGui,EditorGuiGroup) {
- isContainer = "1";
- Profile = "ToolsGuiOverlayProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "0 0";
- Extent = "800 600";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "1";
- new GuiControl() {
- isContainer = "1";
- Profile = "editorMenu_wBorderProfile";
- HorizSizing = "center";
- VertSizing = "center";
- position = "277 271";
- Extent = "245 57";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- internalName = "Dialog";
- canSaveDynamicFields = "0";
- new GuiTextCtrl() {
- text = "Generating imposter bitmaps...";
- maxLength = "1024";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- isContainer = "0";
- Profile = "ToolsGuiTextBoldCenterProfile";
- HorizSizing = "width";
- VertSizing = "center";
- position = "5 19";
- Extent = "236 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- };
- };
- function GenImposterGui::onWake(%this)
- {
- %res = %this.getExtent();
- %resX = getWord(%res, 0);
- %resY = getWord(%res, 1);
- %dialog = %this-->Dialog;
- %dialogExtent = %dialog.getExtent();
- %dialogWidth = getWord(%dialogExtent, 0);
- %dialogHeight = getWord(%dialogExtent, 1);
- %dialogPostion = %dialog.getPosition();
- %posX = (%resX / 2) - (%dialogWidth / 2);
- %posY = (%resY / 2) - (%dialogHeight / 2);
- %dialog.setPosition(%posX, %posY);
- }
|