mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 14:49:27 +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
97
Templates/BaseGame/game/data/UI/guis/GameMenu.gui
Normal file
97
Templates/BaseGame/game/data/UI/guis/GameMenu.gui
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
$guiContent = new GuiControl(GameMenu) {
|
||||
extent = "1280 720";
|
||||
profile = "GuiDefaultProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "1";
|
||||
superClass = "UINavigation";
|
||||
canSaveDynamicFields = "1";
|
||||
currentMenu = "SystemMenu";
|
||||
gameMenusArray = "17288";
|
||||
resizePages = "1";
|
||||
|
||||
new GuiInputCtrl(GameMenuInputHandler) {
|
||||
ignoreMouseEvents = "1";
|
||||
ActionMap = "GameMenuActionMap";
|
||||
position = "-50 0";
|
||||
extent = "50 50";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
profile = "GuiInputCtrlProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiChunkedBitmapCtrl(GameMenuBG) {
|
||||
BitmapAsset = "UI:hudfill_image";
|
||||
extent = "1280 720";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
profile = "GuiDefaultProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "1";
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new GuiPanel(GameMenuTitlePanel) {
|
||||
extent = "1281 60";
|
||||
horizSizing = "width";
|
||||
profile = "GuiMenuPanelProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
|
||||
new GuiStackControl(GameMenuButtonList){
|
||||
position = "40 0";
|
||||
extent = "1240 60";
|
||||
profile = GuiDefaultProfile;
|
||||
stackingType = "Horizontal";
|
||||
padding = "10";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
};
|
||||
|
||||
new GuiControl(GameMenuNavButtonOverlay) {
|
||||
extent = "1281 60";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
profile = GuiNonModalDefaultProfile;
|
||||
|
||||
new GuiBitmapCtrl(GameMenuPrevNavIcon) {
|
||||
BitmapAsset = "UI:Keyboard_Black_Q_image";
|
||||
position = "0 24";
|
||||
extent = "40 40";
|
||||
profile = GuiNonModalDefaultProfile;
|
||||
vertSizing = "top";
|
||||
};
|
||||
|
||||
new GuiBitmapCtrl(GameMenuNextNavIcon) {
|
||||
BitmapAsset = "UI:Keyboard_Black_E_image";
|
||||
position = "0 24";
|
||||
extent = "40 40";
|
||||
profile = GuiNonModalDefaultProfile;
|
||||
vertSizing = "top";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
new GuiPanel(GameMenuButtonPanel) {
|
||||
position = "0 683";
|
||||
extent = "1281 40";
|
||||
horizSizing = "width";
|
||||
vertSizing = "top";
|
||||
profile = "GuiMenuPanelProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
|
||||
new GuiIconButtonCtrl(GameMenuBackBtn) {
|
||||
BitmapAsset = "UI:Keyboard_Black_Escape_image";
|
||||
sizeIconToButton = "1";
|
||||
makeIconSquare = "1";
|
||||
textLocation = "Center";
|
||||
text = "Back";
|
||||
position = "16 0";
|
||||
extent = "140 40";
|
||||
vertSizing = "center";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
command = "Canvas.popDialog(GameMenu);";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
class = "MenuInputButton";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
Loading…
Add table
Add a link
Reference in a new issue