2019-08-29 00:22:33 -05:00
|
|
|
//--- OBJECT WRITE BEGIN ---
|
2021-05-04 21:18:15 -04:00
|
|
|
$guiContent = new GuiChunkedBitmapCtrl(MainMenuGui) {
|
2022-02-22 20:12:39 -06:00
|
|
|
BitmapAsset = "UI:backgrounddark_image";
|
2019-08-29 00:22:33 -05:00
|
|
|
extent = "1024 768";
|
|
|
|
|
minExtent = "8 8";
|
|
|
|
|
horizSizing = "width";
|
|
|
|
|
vertSizing = "height";
|
|
|
|
|
profile = "GuiDefaultProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
isContainer = "1";
|
2022-05-06 23:39:16 -05:00
|
|
|
superClass = "UINavigation";
|
|
|
|
|
canSaveDynamicFields = "0";
|
2022-02-17 18:21:13 -06:00
|
|
|
|
2020-07-23 00:22:15 -05:00
|
|
|
new GuiBitmapCtrl(MainMenuAppLogo) {
|
2022-02-17 18:21:13 -06:00
|
|
|
BitmapAsset = "UI:Torque_3D_logo_alt_image";
|
2019-08-29 00:22:33 -05:00
|
|
|
position = "550 30";
|
|
|
|
|
extent = "443 139";
|
|
|
|
|
horizSizing = "left";
|
|
|
|
|
profile = "GuiDefaultProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
canSaveDynamicFields = "1";
|
2022-02-17 18:21:13 -06:00
|
|
|
autoFitExtents = "0";
|
|
|
|
|
bitmapMode = "Stretched";
|
|
|
|
|
groupNum = "-1";
|
|
|
|
|
masked = "0";
|
2020-05-20 17:19:52 -05:00
|
|
|
navigationIndex = "-1";
|
2022-02-17 18:21:13 -06:00
|
|
|
useModifiers = "0";
|
|
|
|
|
useStates = "1";
|
2019-08-29 00:22:33 -05:00
|
|
|
};
|
2022-05-06 23:39:16 -05:00
|
|
|
new GuiControl(MainMenuButtonHolder) {
|
|
|
|
|
position = "143 711";
|
|
|
|
|
extent = "736 40";
|
2020-05-20 17:19:52 -05:00
|
|
|
horizSizing = "center";
|
2022-05-06 23:39:16 -05:00
|
|
|
vertSizing = "top";
|
2022-02-17 18:21:13 -06:00
|
|
|
profile = "GuiDefaultProfile";
|
2020-05-20 17:19:52 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2022-02-17 18:21:13 -06:00
|
|
|
isContainer = "1";
|
2022-05-06 23:39:16 -05:00
|
|
|
class = "MenuInputButtonContainer";
|
2022-02-17 18:21:13 -06:00
|
|
|
|
2022-05-06 23:39:16 -05:00
|
|
|
new GuiIconButtonCtrl() {
|
|
|
|
|
BitmapAsset = "UI:Keyboard_Black_Return_image";
|
|
|
|
|
sizeIconToButton = "1";
|
|
|
|
|
makeIconSquare = "1";
|
|
|
|
|
textLocation = "Right";
|
|
|
|
|
text = "Go";
|
|
|
|
|
position = "11 0";
|
|
|
|
|
extent = "140 40";
|
2022-02-17 18:21:13 -06:00
|
|
|
profile = "GuiMenuButtonProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
command = "MainMenuButtonList.activate();";
|
2022-02-17 18:21:13 -06:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
internalName = "button1";
|
|
|
|
|
class = "MenuInputButton";
|
2022-02-17 18:21:13 -06:00
|
|
|
};
|
2022-05-06 23:39:16 -05:00
|
|
|
new GuiIconButtonCtrl() {
|
|
|
|
|
BitmapAsset = "UI:Keyboard_Black_Return_image";
|
|
|
|
|
sizeIconToButton = "1";
|
|
|
|
|
makeIconSquare = "1";
|
|
|
|
|
textLocation = "Right";
|
|
|
|
|
text = "Go";
|
|
|
|
|
position = "155 0";
|
|
|
|
|
extent = "140 40";
|
2022-02-17 18:21:13 -06:00
|
|
|
profile = "GuiMenuButtonProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
command = "MainMenuButtonList.activate();";
|
2022-02-17 18:21:13 -06:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
internalName = "button2";
|
|
|
|
|
class = "MenuInputButton";
|
2022-02-17 18:21:13 -06:00
|
|
|
};
|
2022-05-06 23:39:16 -05:00
|
|
|
new GuiIconButtonCtrl() {
|
|
|
|
|
BitmapAsset = "UI:Keyboard_Black_Return_image";
|
|
|
|
|
sizeIconToButton = "1";
|
|
|
|
|
makeIconSquare = "1";
|
|
|
|
|
textLocation = "Right";
|
|
|
|
|
text = "Go";
|
|
|
|
|
position = "299 0";
|
|
|
|
|
extent = "140 40";
|
2022-02-17 18:21:13 -06:00
|
|
|
profile = "GuiMenuButtonProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
command = "MainMenuButtonList.activate();";
|
2022-02-17 18:21:13 -06:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
internalName = "button3";
|
|
|
|
|
class = "MenuInputButton";
|
2022-02-17 18:21:13 -06:00
|
|
|
};
|
2022-05-06 23:39:16 -05:00
|
|
|
new GuiIconButtonCtrl() {
|
|
|
|
|
BitmapAsset = "UI:Keyboard_Black_Return_image";
|
|
|
|
|
sizeIconToButton = "1";
|
|
|
|
|
makeIconSquare = "1";
|
|
|
|
|
textLocation = "Right";
|
|
|
|
|
text = "Go";
|
|
|
|
|
position = "443 0";
|
|
|
|
|
extent = "140 40";
|
2022-02-17 18:21:13 -06:00
|
|
|
profile = "GuiMenuButtonProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
command = "MainMenuButtonList.activate();";
|
2022-02-17 18:21:13 -06:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
internalName = "button4";
|
|
|
|
|
class = "MenuInputButton";
|
2020-05-20 17:19:52 -05:00
|
|
|
};
|
2020-07-23 00:22:15 -05:00
|
|
|
new GuiIconButtonCtrl() {
|
2022-02-17 18:21:13 -06:00
|
|
|
BitmapAsset = "UI:Keyboard_Black_Return_image";
|
2020-07-23 00:22:15 -05:00
|
|
|
sizeIconToButton = "1";
|
|
|
|
|
makeIconSquare = "1";
|
|
|
|
|
textLocation = "Right";
|
|
|
|
|
text = "Go";
|
2022-05-06 23:39:16 -05:00
|
|
|
position = "587 0";
|
2020-07-23 00:22:15 -05:00
|
|
|
extent = "140 40";
|
|
|
|
|
profile = "GuiMenuButtonProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
command = "MainMenuButtonList.activate();";
|
2020-07-23 00:22:15 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
internalName = "button5";
|
2020-07-23 00:22:15 -05:00
|
|
|
class = "MenuInputButton";
|
|
|
|
|
};
|
2019-08-29 00:22:33 -05:00
|
|
|
};
|
2022-02-17 18:21:13 -06:00
|
|
|
new GuiInputCtrl(MainMenuInputHandler) {
|
|
|
|
|
sendAxisEvents = "1";
|
|
|
|
|
sendBreakEvents = "1";
|
|
|
|
|
ignoreMouseEvents = "1";
|
|
|
|
|
position = "-50 0";
|
|
|
|
|
extent = "10 10";
|
|
|
|
|
horizSizing = "width";
|
|
|
|
|
vertSizing = "height";
|
|
|
|
|
profile = "GuiInputCtrlProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
class = "MenuInputHandler";
|
2022-02-17 18:21:13 -06:00
|
|
|
};
|
2019-08-29 00:22:33 -05:00
|
|
|
};
|
|
|
|
|
//--- OBJECT WRITE END ---
|