mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
119 lines
3.3 KiB
Plaintext
119 lines
3.3 KiB
Plaintext
//--- OBJECT WRITE BEGIN ---
|
|
$guiContent = new GuiControl(AssetBrowser_newFolder) {
|
|
position = "0 0";
|
|
extent = "1024 768";
|
|
minExtent = "8 2";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
profile = "ToolsGuiDefaultNonModalProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "1";
|
|
Enabled = "1";
|
|
|
|
new GuiWindowCtrl() {
|
|
text = "Name New Folder";
|
|
resizeWidth = "1";
|
|
resizeHeight = "0";
|
|
canMove = "1";
|
|
canClose = "1";
|
|
canMinimize = "0";
|
|
canMaximize = "0";
|
|
canCollapse = "0";
|
|
edgeSnap = "1";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "362 334";
|
|
extent = "355 99";
|
|
minExtent = "48 92";
|
|
horizSizing = "center";
|
|
vertSizing = "center";
|
|
profile = "ToolsGuiWindowProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
command = "Canvas.popDialog(AssetBrowser_newFolder);";
|
|
tooltipProfile = "ToolsGuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
|
|
new GuiButtonCtrl() {
|
|
text = "Select";
|
|
groupNum = "-1";
|
|
buttonType = "PushButton";
|
|
useMouseEvents = "0";
|
|
position = "207 68";
|
|
extent = "71 22";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "top";
|
|
profile = "ToolsGuiButtonProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
command = "Canvas.popDialog(AssetBrowser_newFolder); AssetBrowser.doCreateNewFolder();";
|
|
tooltipProfile = "ToolsGuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "0";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiButtonCtrl() {
|
|
text = "Cancel";
|
|
groupNum = "-1";
|
|
buttonType = "PushButton";
|
|
useMouseEvents = "0";
|
|
position = "284 68";
|
|
extent = "64 22";
|
|
minExtent = "8 2";
|
|
horizSizing = "left";
|
|
vertSizing = "top";
|
|
profile = "ToolsGuiButtonProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
command = "Canvas.popDialog(AssetBrowser_newFolder);";
|
|
tooltipProfile = "ToolsGuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "0";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
new GuiTextEditCtrl(AssetBrowser_newFolderNameTxt) {
|
|
historySize = "0";
|
|
tabComplete = "0";
|
|
sinkAllKeyEvents = "0";
|
|
password = "0";
|
|
passwordMask = "*";
|
|
maxLength = "1024";
|
|
margin = "0 0 0 0";
|
|
padding = "0 0 0 0";
|
|
anchorTop = "1";
|
|
anchorBottom = "0";
|
|
anchorLeft = "1";
|
|
anchorRight = "0";
|
|
position = "8 38";
|
|
extent = "341 18";
|
|
minExtent = "8 2";
|
|
horizSizing = "width";
|
|
vertSizing = "height";
|
|
profile = "ToolsGuiTextEditProfile";
|
|
visible = "1";
|
|
active = "1";
|
|
tooltipProfile = "ToolsGuiToolTipProfile";
|
|
hovertime = "1000";
|
|
isContainer = "1";
|
|
canSave = "1";
|
|
canSaveDynamicFields = "0";
|
|
};
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|