2019-08-29 00:22:33 -05:00
|
|
|
//--- OBJECT WRITE BEGIN ---
|
2021-05-04 21:18:15 -04:00
|
|
|
$guiContent = new GuiControl(JoinServerMenu) {
|
2019-08-29 00:22:33 -05:00
|
|
|
extent = "1024 768";
|
2022-05-06 23:39:16 -05:00
|
|
|
profile = "GuiNonModalDefaultProfile";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
isContainer = "1";
|
2020-07-25 01:29:25 -05:00
|
|
|
horizSizing = "width";
|
|
|
|
|
vertSizing = "height";
|
2022-02-17 18:21:13 -06:00
|
|
|
canSaveDynamicFields = "0";
|
2022-05-06 23:39:16 -05:00
|
|
|
|
2019-08-29 00:22:33 -05:00
|
|
|
new GuiControl(JoinServerWindow) {
|
2020-07-23 00:22:15 -05:00
|
|
|
position = "48 56";
|
2020-05-20 17:19:52 -05:00
|
|
|
extent = "928 655";
|
|
|
|
|
horizSizing = "center";
|
|
|
|
|
vertSizing = "center";
|
2019-08-29 00:22:33 -05:00
|
|
|
profile = "GuiDefaultProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
isContainer = "1";
|
|
|
|
|
|
2020-07-23 00:22:15 -05:00
|
|
|
new GuiBitmapBarCtrl() {
|
2022-02-17 18:21:13 -06:00
|
|
|
BitmapAsset = "UI:panel_image";
|
2020-07-23 00:22:15 -05:00
|
|
|
extent = "927 40";
|
|
|
|
|
horizSizing = "width";
|
2020-05-20 17:19:52 -05:00
|
|
|
profile = "GuiDefaultProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
|
|
|
|
new GuiTextCtrl() {
|
|
|
|
|
text = "JOIN SERVER";
|
|
|
|
|
position = "22 10";
|
|
|
|
|
extent = "207 28";
|
|
|
|
|
profile = "MenuHeaderText";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2020-07-23 00:22:15 -05:00
|
|
|
new GuiBitmapBarCtrl() {
|
2022-02-17 18:21:13 -06:00
|
|
|
BitmapAsset = "UI:panel_low_image";
|
2020-07-23 00:22:15 -05:00
|
|
|
position = "0 40";
|
|
|
|
|
extent = "927 618";
|
|
|
|
|
horizSizing = "width";
|
|
|
|
|
profile = "GuiDefaultProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2020-05-20 17:19:52 -05:00
|
|
|
new GuiTextCtrl(JS_status) {
|
|
|
|
|
text = "No servers found.";
|
2019-08-29 00:22:33 -05:00
|
|
|
maxLength = "255";
|
2022-02-17 18:21:13 -06:00
|
|
|
position = "392 47";
|
2020-05-20 17:19:52 -05:00
|
|
|
extent = "148 18";
|
2019-08-29 00:22:33 -05:00
|
|
|
minExtent = "8 8";
|
2020-05-20 17:19:52 -05:00
|
|
|
profile = "MenuSubHeaderText";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
|
|
|
|
new GuiTextCtrl() {
|
|
|
|
|
text = "Players";
|
|
|
|
|
maxLength = "255";
|
2020-05-20 17:19:52 -05:00
|
|
|
position = "269 67";
|
2019-08-29 00:22:33 -05:00
|
|
|
extent = "36 18";
|
|
|
|
|
minExtent = "8 8";
|
|
|
|
|
profile = "GuiMLWhiteTextProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
};
|
|
|
|
|
new GuiTextCtrl() {
|
|
|
|
|
text = "Version";
|
|
|
|
|
maxLength = "255";
|
2020-05-20 17:19:52 -05:00
|
|
|
position = "335 67";
|
2019-08-29 00:22:33 -05:00
|
|
|
extent = "38 18";
|
|
|
|
|
minExtent = "8 8";
|
|
|
|
|
profile = "GuiMLWhiteTextProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
};
|
|
|
|
|
new GuiTextCtrl() {
|
|
|
|
|
text = "Game";
|
|
|
|
|
maxLength = "255";
|
2020-05-20 17:19:52 -05:00
|
|
|
position = "412 67";
|
2019-08-29 00:22:33 -05:00
|
|
|
extent = "28 18";
|
|
|
|
|
minExtent = "8 8";
|
|
|
|
|
profile = "GuiMLWhiteTextProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
};
|
|
|
|
|
new GuiTextCtrl() {
|
|
|
|
|
text = "Ping";
|
|
|
|
|
maxLength = "255";
|
2020-05-20 17:19:52 -05:00
|
|
|
position = "212 67";
|
2019-08-29 00:22:33 -05:00
|
|
|
extent = "20 18";
|
|
|
|
|
minExtent = "8 8";
|
|
|
|
|
profile = "GuiMLWhiteTextProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
};
|
|
|
|
|
new GuiTextCtrl() {
|
|
|
|
|
text = "Server Name";
|
|
|
|
|
maxLength = "255";
|
2020-05-20 17:19:52 -05:00
|
|
|
position = "12 67";
|
2019-08-29 00:22:33 -05:00
|
|
|
extent = "63 18";
|
|
|
|
|
minExtent = "8 8";
|
|
|
|
|
profile = "GuiMLWhiteTextProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
};
|
2020-05-20 17:19:52 -05:00
|
|
|
new GuiScrollCtrl() {
|
|
|
|
|
hScrollBar = "dynamic";
|
|
|
|
|
vScrollBar = "dynamic";
|
|
|
|
|
position = "19 98";
|
|
|
|
|
extent = "890 501";
|
|
|
|
|
minExtent = "8 8";
|
|
|
|
|
profile = "GuiMenuScrollProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
|
2022-02-17 18:21:13 -06:00
|
|
|
new GuiStackControl(JoinServerList) {
|
|
|
|
|
padding = "10";
|
|
|
|
|
changeChildSizeToFit = "0";
|
2020-05-20 17:19:52 -05:00
|
|
|
position = "1 1";
|
2022-02-17 18:21:13 -06:00
|
|
|
extent = "888 16";
|
|
|
|
|
horizSizing = "center";
|
|
|
|
|
vertSizing = "center";
|
|
|
|
|
profile = "GuiDefaultProfile";
|
2020-05-20 17:19:52 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2022-05-06 23:39:16 -05:00
|
|
|
superClass = "MenuList";
|
2020-05-20 17:19:52 -05:00
|
|
|
};
|
|
|
|
|
};
|
2019-08-29 00:22:33 -05:00
|
|
|
new GuiControl(JS_queryStatus) {
|
2020-05-20 17:19:52 -05:00
|
|
|
position = "16 615";
|
|
|
|
|
extent = "900 35";
|
2019-08-29 00:22:33 -05:00
|
|
|
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";
|
2020-05-20 17:19:52 -05:00
|
|
|
};
|
2020-07-23 00:22:15 -05:00
|
|
|
};
|
|
|
|
|
};
|
2019-08-29 00:22:33 -05:00
|
|
|
};
|
|
|
|
|
//--- OBJECT WRITE END ---
|