From 36c780762b64f0bfca6a59bdb4ab963895c794a9 Mon Sep 17 00:00:00 2001 From: Leeroy <97187620+elthundercloud@users.noreply.github.com> Date: Tue, 1 Mar 2022 05:18:25 +0300 Subject: [PATCH] Network tab + net.interp_ratio slider (#6918) --- Content.Client/Content.Client.csproj | 3 +- Content.Client/EscapeMenu/UI/OptionsMenu.xaml | 3 +- .../EscapeMenu/UI/OptionsMenu.xaml.cs | 3 +- .../EscapeMenu/UI/Tabs/NetworkTab.xaml | 39 ++++++++++ .../EscapeMenu/UI/Tabs/NetworkTab.xaml.cs | 72 +++++++++++++++++++ .../en-US/escape-menu/ui/options-menu.ftl | 5 ++ 6 files changed, 121 insertions(+), 4 deletions(-) create mode 100644 Content.Client/EscapeMenu/UI/Tabs/NetworkTab.xaml create mode 100644 Content.Client/EscapeMenu/UI/Tabs/NetworkTab.xaml.cs diff --git a/Content.Client/Content.Client.csproj b/Content.Client/Content.Client.csproj index 153483e0d7..04b1e3dd29 100644 --- a/Content.Client/Content.Client.csproj +++ b/Content.Client/Content.Client.csproj @@ -1,4 +1,4 @@ - + @@ -26,5 +26,4 @@ - diff --git a/Content.Client/EscapeMenu/UI/OptionsMenu.xaml b/Content.Client/EscapeMenu/UI/OptionsMenu.xaml index 5a38e4b0a3..2057182430 100644 --- a/Content.Client/EscapeMenu/UI/OptionsMenu.xaml +++ b/Content.Client/EscapeMenu/UI/OptionsMenu.xaml @@ -1,4 +1,4 @@ - @@ -6,5 +6,6 @@ + diff --git a/Content.Client/EscapeMenu/UI/OptionsMenu.xaml.cs b/Content.Client/EscapeMenu/UI/OptionsMenu.xaml.cs index f5e5f997a5..9c9ae3270e 100644 --- a/Content.Client/EscapeMenu/UI/OptionsMenu.xaml.cs +++ b/Content.Client/EscapeMenu/UI/OptionsMenu.xaml.cs @@ -1,4 +1,4 @@ -using Robust.Client.AutoGenerated; +using Robust.Client.AutoGenerated; using Robust.Client.UserInterface.CustomControls; using Robust.Client.UserInterface.XAML; using Robust.Shared.IoC; @@ -17,6 +17,7 @@ namespace Content.Client.EscapeMenu.UI Tabs.SetTabTitle(0, Loc.GetString("ui-options-tab-graphics")); Tabs.SetTabTitle(1, Loc.GetString("ui-options-tab-controls")); Tabs.SetTabTitle(2, Loc.GetString("ui-options-tab-audio")); + Tabs.SetTabTitle(3, Loc.GetString("ui-options-tab-network")); } } } diff --git a/Content.Client/EscapeMenu/UI/Tabs/NetworkTab.xaml b/Content.Client/EscapeMenu/UI/Tabs/NetworkTab.xaml new file mode 100644 index 0000000000..7d2741ab14 --- /dev/null +++ b/Content.Client/EscapeMenu/UI/Tabs/NetworkTab.xaml @@ -0,0 +1,39 @@ + + + + + + + + +