mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 03:23:52 +00:00
Ongoing wipwork of the BaseUI update. Some bugfixes pending
This commit is contained in:
parent
616d974212
commit
ce4c8dabc9
53 changed files with 2033 additions and 3892 deletions
53
Templates/BaseGame/game/data/UI/guis/SystemMenu.gui
Normal file
53
Templates/BaseGame/game/data/UI/guis/SystemMenu.gui
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
$guiContent = new GuiControl(SystemMenu) {
|
||||
extent = "1280 720";
|
||||
profile = "GuiNonModalDefaultProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "1";
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new GuiStackControl(SystemMenuButtonList) {
|
||||
padding = "5";
|
||||
dynamicSize = "0";
|
||||
position = "440 263";
|
||||
extent = "400 189";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
profile = "GuiDefaultProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
superClass = "MenuList";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
text = "Return to Game";
|
||||
extent = "400 40";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
command = "Canvas.popDialog(GameMenu);";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
text = "Options";
|
||||
position = "0 45";
|
||||
extent = "400 40";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
command = "Canvas.pushDialog(OptionsMenu);";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
text = "Exit to Menu";
|
||||
position = "0 90";
|
||||
extent = "400 40";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
command = "systemMenuExitToMenu();";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
text = "Exit to Desktop";
|
||||
position = "0 135";
|
||||
extent = "400 40";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
command = "systemMenuExitToDesktop();";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
Loading…
Add table
Add a link
Reference in a new issue