mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-23 14:14:45 +00:00
Reorged the canvas handling of gamepad inputs for the axis and triggers to use the SI_ versions in the right spots Fixed issue where pause menu would be hidden and not display again Made the pause menu active from the gamepad start button rather than back
61 lines
1.6 KiB
Plaintext
61 lines
1.6 KiB
Plaintext
//--- OBJECT WRITE BEGIN ---
|
|
%guiContent = new GuiControl(toolsMessageBoxOKDlg) {
|
|
profile = "GuiOverlayProfile";
|
|
horizSizing = "width";
|
|
vertSizing = "height";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
|
|
new GuiWindowCtrl(MBOKFrame) {
|
|
profile = "ToolsGuiWindowProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "center";
|
|
position = "170 175";
|
|
extent = "300 107";
|
|
minExtent = "48 95";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
maxLength = "255";
|
|
resizeWidth = "1";
|
|
resizeHeight = "1";
|
|
canMove = "1";
|
|
canClose = "0";
|
|
canMinimize = "0";
|
|
canMaximize = "0";
|
|
minSize = "50 50";
|
|
text = "";
|
|
|
|
new GuiMLTextCtrl(MBOKText) {
|
|
profile = "ToolsGuiMLTextProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "bottom";
|
|
position = "9 35";
|
|
extent = "281 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
lineSpacing = "2";
|
|
allowColorChars = "0";
|
|
maxChars = "-1";
|
|
};
|
|
new GuiButtonCtrl() {
|
|
profile = "ToolsGuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "top";
|
|
position = "111 75";
|
|
extent = "80 24";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
command = "MessageCallback(toolsMessageBoxOKDlg,toolsMessageBoxOKDlg.callback);";
|
|
accelerator = "return";
|
|
helpTag = "0";
|
|
text = "Ok";
|
|
simpleStyle = "0";
|
|
};
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|