mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 22:23:48 +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
|
|
@ -1,159 +1,161 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
$guiContent = new GuiControl(JoinServerMenu) {
|
||||
extent = "1024 768";
|
||||
profile = "GuiNonModalDefaultProfile";
|
||||
extent = "1280 720";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
profile = "GuiMenuBackgroundProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "1";
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new GuiInputCtrl(JoinServerInputHandler) {
|
||||
ignoreMouseEvents = "1";
|
||||
ActionMap = "JoinServerActionMap";
|
||||
position = "-50 0";
|
||||
extent = "50 50";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
canSaveDynamicFields = "0";
|
||||
|
||||
new GuiControl(JoinServerWindow) {
|
||||
position = "48 56";
|
||||
extent = "928 655";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
profile = "GuiDefaultProfile";
|
||||
profile = "GuiInputCtrlProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
|
||||
new GuiPanel(JoinServerTitlePanel) {
|
||||
extent = "1281 80";
|
||||
horizSizing = "width";
|
||||
profile = "GuiMenuPanelProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "1";
|
||||
|
||||
new GuiBitmapBarCtrl() {
|
||||
BitmapAsset = "UI:panel_image";
|
||||
extent = "927 40";
|
||||
horizSizing = "width";
|
||||
profile = "GuiDefaultProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "JOIN SERVER";
|
||||
position = "22 10";
|
||||
extent = "207 28";
|
||||
position = "22 23";
|
||||
extent = "220 28";
|
||||
profile = "MenuHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiBitmapBarCtrl() {
|
||||
BitmapAsset = "UI:panel_low_image";
|
||||
position = "0 40";
|
||||
extent = "927 618";
|
||||
horizSizing = "width";
|
||||
profile = "GuiDefaultProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextCtrl(JS_status) {
|
||||
text = "No servers found.";
|
||||
maxLength = "255";
|
||||
position = "392 47";
|
||||
extent = "148 18";
|
||||
minExtent = "8 8";
|
||||
};
|
||||
new GuiContainer() {
|
||||
position = "203 81";
|
||||
extent = "900 30";
|
||||
profile = GuiMenuPanelProfile;
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "bottom";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
text = "Server Details";
|
||||
position = "0 0";
|
||||
extent = "730 30";
|
||||
horizSizing = "right";
|
||||
vertSizing = "center";
|
||||
profile = "MenuSubHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Players";
|
||||
maxLength = "255";
|
||||
position = "269 67";
|
||||
extent = "36 18";
|
||||
minExtent = "8 8";
|
||||
profile = "GuiMLWhiteTextProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "0";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Version";
|
||||
maxLength = "255";
|
||||
position = "335 67";
|
||||
extent = "38 18";
|
||||
minExtent = "8 8";
|
||||
profile = "GuiMLWhiteTextProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "0";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
text = "Game";
|
||||
maxLength = "255";
|
||||
position = "412 67";
|
||||
extent = "28 18";
|
||||
minExtent = "8 8";
|
||||
profile = "GuiMLWhiteTextProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "0";
|
||||
};
|
||||
|
||||
new GuiTextCtrl() {
|
||||
text = "Ping";
|
||||
maxLength = "255";
|
||||
position = "212 67";
|
||||
extent = "20 18";
|
||||
minExtent = "8 8";
|
||||
profile = "GuiMLWhiteTextProfile";
|
||||
position = "730 0";
|
||||
extent = "50 30";
|
||||
horizSizing = "left";
|
||||
vertSizing = "center";
|
||||
profile = "MenuSubHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "0";
|
||||
};
|
||||
|
||||
new GuiTextCtrl() {
|
||||
text = "Server Name";
|
||||
maxLength = "255";
|
||||
position = "12 67";
|
||||
extent = "63 18";
|
||||
minExtent = "8 8";
|
||||
profile = "GuiMLWhiteTextProfile";
|
||||
text = "Player Count";
|
||||
position = "780 0";
|
||||
extent = "120 30";
|
||||
horizSizing = "left";
|
||||
vertSizing = "center";
|
||||
profile = "MenuSubHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "0";
|
||||
};
|
||||
new GuiScrollCtrl() {
|
||||
hScrollBar = "dynamic";
|
||||
vScrollBar = "dynamic";
|
||||
position = "19 98";
|
||||
extent = "890 501";
|
||||
minExtent = "8 8";
|
||||
profile = "GuiMenuScrollProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiScrollCtrl() {
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "dynamic";
|
||||
position = "203 111";
|
||||
extent = "900 601";
|
||||
minExtent = "8 8";
|
||||
horizSizing = "center";
|
||||
vertSizing = "height";
|
||||
profile = "GuiMenuScrollProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
|
||||
new GuiStackControl(JoinServerList) {
|
||||
padding = "10";
|
||||
changeChildSizeToFit = "0";
|
||||
position = "1 1";
|
||||
extent = "888 16";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
profile = "GuiDefaultProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
superClass = "MenuList";
|
||||
};
|
||||
new GuiStackControl(JoinServerList) {
|
||||
padding = "10";
|
||||
changeChildSizeToFit = "0";
|
||||
position = "1 1";
|
||||
extent = "888 16";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
profile = "GuiMenuDefaultProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
superClass = "MenuList";
|
||||
};
|
||||
new GuiControl(JS_queryStatus) {
|
||||
position = "16 615";
|
||||
extent = "900 35";
|
||||
profile = "GuiDefaultProfile";
|
||||
visible = "0";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "1";
|
||||
hidden = "1";
|
||||
|
||||
new GuiProgressCtrl(JS_statusBar) {
|
||||
position = "84 0";
|
||||
extent = "695 35";
|
||||
minExtent = "8 8";
|
||||
profile = "GuiProgressProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "0";
|
||||
};
|
||||
new GuiButtonCtrl(JS_cancelQuery) {
|
||||
text = "Cancel!";
|
||||
extent = "84 35";
|
||||
minExtent = "8 8";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
command = "JoinServerDlg.cancel();";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextCtrl(JS_statusText) {
|
||||
text = "Querying master server";
|
||||
maxLength = "255";
|
||||
position = "84 0";
|
||||
extent = "695 35";
|
||||
minExtent = "8 8";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
isContainer = "0";
|
||||
};
|
||||
new GuiPanel(JoinServerButtonPanel) {
|
||||
position = "0 683";
|
||||
extent = "1281 40";
|
||||
horizSizing = "width";
|
||||
vertSizing = "top";
|
||||
profile = "GuiMenuPanelProfile";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
|
||||
new GuiIconButtonCtrl(JoinServerJoinBtn) {
|
||||
BitmapAsset = "UI:Keyboard_Black_Return_image";
|
||||
sizeIconToButton = "1";
|
||||
makeIconSquare = "1";
|
||||
textLocation = "Center";
|
||||
text = "Join";
|
||||
position = "1115 0";
|
||||
extent = "140 40";
|
||||
horizSizing = "left";
|
||||
vertSizing = "center";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
command = "JoinServerMenu.query();";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiIconButtonCtrl(JoinServerQLanBtn) {
|
||||
BitmapAsset = "UI:Keyboard_Black_Escape_image";
|
||||
sizeIconToButton = "1";
|
||||
makeIconSquare = "1";
|
||||
textLocation = "Center";
|
||||
text = "Query Lan";
|
||||
position = "965 0";
|
||||
extent = "140 40";
|
||||
horizSizing = "left";
|
||||
vertSizing = "center";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
command = "JoinServerMenu.queryLan();";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiIconButtonCtrl(JoinServerQServerBtn) {
|
||||
BitmapAsset = "UI:Keyboard_Black_Escape_image";
|
||||
sizeIconToButton = "1";
|
||||
makeIconSquare = "1";
|
||||
textLocation = "Center";
|
||||
text = "Query Server";
|
||||
position = "817 0";
|
||||
extent = "140 40";
|
||||
horizSizing = "left";
|
||||
vertSizing = "center";
|
||||
profile = "GuiMenuButtonProfile";
|
||||
command = "JoinServerMenu.join();";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiIconButtonCtrl(JoinServerBackBtn) {
|
||||
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();";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue