2019-08-29 00:22:33 -05:00
|
|
|
//--- OBJECT WRITE BEGIN ---
|
2021-05-04 21:18:15 -04:00
|
|
|
$guiContent = new GuiControl(JoinServerMenu) {
|
2023-12-16 23:18:33 -06:00
|
|
|
extent = "1280 720";
|
|
|
|
|
horizSizing = "width";
|
|
|
|
|
vertSizing = "height";
|
|
|
|
|
profile = "GuiMenuBackgroundProfile";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
isContainer = "1";
|
2023-12-16 23:18:33 -06:00
|
|
|
canSaveDynamicFields = "1";
|
|
|
|
|
|
|
|
|
|
new GuiInputCtrl(JoinServerInputHandler) {
|
|
|
|
|
ignoreMouseEvents = "1";
|
|
|
|
|
ActionMap = "JoinServerActionMap";
|
|
|
|
|
position = "-50 0";
|
|
|
|
|
extent = "50 50";
|
2020-07-25 01:29:25 -05:00
|
|
|
horizSizing = "width";
|
|
|
|
|
vertSizing = "height";
|
2023-12-16 23:18:33 -06:00
|
|
|
profile = "GuiInputCtrlProfile";
|
|
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2022-05-06 23:39:16 -05:00
|
|
|
|
2023-12-16 23:18:33 -06:00
|
|
|
new GuiPanel(JoinServerTitlePanel) {
|
|
|
|
|
extent = "1281 80";
|
|
|
|
|
horizSizing = "width";
|
|
|
|
|
profile = "GuiMenuPanelProfile";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
|
2020-05-20 17:19:52 -05:00
|
|
|
new GuiTextCtrl() {
|
|
|
|
|
text = "JOIN SERVER";
|
2023-12-16 23:18:33 -06:00
|
|
|
position = "22 23";
|
|
|
|
|
extent = "220 28";
|
2020-05-20 17:19:52 -05:00
|
|
|
profile = "MenuHeaderText";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2023-12-16 23:18:33 -06:00
|
|
|
};
|
|
|
|
|
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";
|
2020-05-20 17:19:52 -05:00
|
|
|
profile = "MenuSubHeaderText";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2023-12-16 23:18:33 -06:00
|
|
|
|
2019-08-29 00:22:33 -05:00
|
|
|
new GuiTextCtrl() {
|
2023-12-16 23:18:33 -06:00
|
|
|
text = "Ping";
|
|
|
|
|
position = "730 0";
|
|
|
|
|
extent = "50 30";
|
|
|
|
|
horizSizing = "left";
|
|
|
|
|
vertSizing = "center";
|
|
|
|
|
profile = "MenuSubHeaderText";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2023-12-16 23:18:33 -06:00
|
|
|
|
2019-08-29 00:22:33 -05:00
|
|
|
new GuiTextCtrl() {
|
2023-12-16 23:18:33 -06:00
|
|
|
text = "Player Count";
|
|
|
|
|
position = "780 0";
|
|
|
|
|
extent = "120 30";
|
|
|
|
|
horizSizing = "left";
|
|
|
|
|
vertSizing = "center";
|
|
|
|
|
profile = "MenuSubHeaderText";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2023-12-16 23:18:33 -06:00
|
|
|
};
|
|
|
|
|
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 = "GuiMenuDefaultProfile";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2023-12-16 23:18:33 -06:00
|
|
|
superClass = "MenuList";
|
2019-08-29 00:22:33 -05:00
|
|
|
};
|
2023-12-16 23:18:33 -06:00
|
|
|
};
|
|
|
|
|
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();";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2023-12-16 23:18:33 -06:00
|
|
|
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();";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2023-12-16 23:18:33 -06:00
|
|
|
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();";
|
2020-05-20 17:19:52 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
|
|
};
|
2023-12-16 23:18:33 -06:00
|
|
|
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();";
|
2019-08-29 00:22:33 -05:00
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
2020-07-23 00:22:15 -05:00
|
|
|
};
|
|
|
|
|
};
|
2019-08-29 00:22:33 -05:00
|
|
|
};
|
|
|
|
|
//--- OBJECT WRITE END ---
|