| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- //--- OBJECT WRITE BEGIN ---
- %guiContent = new GuiControl(DatablockEditorCreatePrompt,EditorGuiGroup) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- fixedAspectRatio = "0";
- profile = "ToolsGuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- new GuiWindowCtrl() {
- text = "Create New Datablock";
- resizeWidth = "0";
- resizeHeight = "0";
- canMove = "0";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "0";
- canCollapse = "0";
- closeCommand = "canvas.popDialog(DatablockEditorCreatePrompt);";
- edgeSnap = "0";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "389 252";
- extent = "207 167";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- fixedAspectRatio = "0";
- profile = "ToolsGuiWindowProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiTextCtrl() {
- text = "Your new datablock must have a name";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "7 26";
- extent = "190 15";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- fixedAspectRatio = "0";
- profile = "ToolsGuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- historySize = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- password = "0";
- passwordMask = "*";
- text = "Name";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "7 45";
- extent = "191 17";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- fixedAspectRatio = "0";
- profile = "ToolsGuiTextEditProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "CreateDatablockName";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Create";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "7 137";
- extent = "122 22";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- fixedAspectRatio = "0";
- profile = "ToolsGuiButtonProfile";
- visible = "1";
- active = "1";
- command = "DatablockEditorPlugin.createPromptNameCheck();";
- accelerator = "return";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Cancel";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "135 137";
- extent = "63 22";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- fixedAspectRatio = "0";
- profile = "ToolsGuiButtonProfile";
- visible = "1";
- active = "1";
- command = "canvas.popDialog(DatablockEditorCreatePrompt);";
- accelerator = "escape";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Copy values from";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "7 66";
- extent = "100 17";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- fixedAspectRatio = "0";
- profile = "ToolsGuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "7 87";
- extent = "191 19";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- fixedAspectRatio = "0";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "CopySourceDropdown";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl() {
- useInactiveState = "0";
- text = "Client-Side Datablock";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "7 105";
- extent = "140 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- fixedAspectRatio = "0";
- profile = "ToolsGuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "ClientSideCheckBox";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- //--- OBJECT WRITE END ---
|