mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-23 22:24:45 +00:00
76 lines
2.1 KiB
Plaintext
76 lines
2.1 KiB
Plaintext
//--- OBJECT WRITE BEGIN ---
|
|
$guiContent = new GuiControl(toolsMessageBoxYesNoDlg) {
|
|
profile = "GuiOverlayProfile";
|
|
horizSizing = "width";
|
|
vertSizing = "height";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
|
|
new GuiWindowCtrl(MBYesNoFrame) {
|
|
profile = "ToolsGuiWindowProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "center";
|
|
position = "170 175";
|
|
extent = "300 100";
|
|
minExtent = "48 92";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
resizeWidth = "1";
|
|
resizeHeight = "1";
|
|
canMove = "1";
|
|
canClose = "1";
|
|
canMinimize = "0";
|
|
canMaximize = "0";
|
|
minSize = "50 50";
|
|
text = "";
|
|
closeCommand = "MessageCallback(toolsMessageBoxYesNoDlg,toolsMessageBoxYesNoDlg.noCallback);";
|
|
|
|
new GuiMLTextCtrl(MBYesNoText) {
|
|
profile = "ToolsGuiMLTextProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "bottom";
|
|
position = "11 38";
|
|
extent = "280 14";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
lineSpacing = "2";
|
|
allowColorChars = "0";
|
|
maxChars = "-1";
|
|
};
|
|
new GuiButtonCtrl() {
|
|
profile = "ToolsGuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "top";
|
|
position = "70 68";
|
|
extent = "80 22";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
command = "MessageCallback(toolsMessageBoxYesNoDlg,toolsMessageBoxYesNoDlg.yesCallback);";
|
|
accelerator = "return";
|
|
helpTag = "0";
|
|
text = "Yes";
|
|
simpleStyle = "0";
|
|
};
|
|
new GuiButtonCtrl() {
|
|
profile = "ToolsGuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "top";
|
|
position = "167 68";
|
|
extent = "80 22";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
command = "MessageCallback(toolsMessageBoxYesNoDlg,toolsMessageBoxYesNoDlg.noCallback);";
|
|
accelerator = "escape";
|
|
helpTag = "0";
|
|
text = "No";
|
|
simpleStyle = "0";
|
|
};
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|