From 860db2bd148524b964acfb13eefc2558c863e547 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 9 Jul 2022 19:25:32 +1000 Subject: [PATCH] Specifiable dock colours + stripeback displays (#9566) --- Content.Client/Shuttles/UI/RadarControl.cs | 2 +- .../Shuttles/UI/ShuttleConsoleWindow.xaml | 18 ++++++++++++------ .../Shuttles/UI/ShuttleConsoleWindow.xaml.cs | 1 + .../Shuttles/Components/DockingComponent.cs | 12 ++++++++++++ .../Shuttles/Systems/ShuttleConsoleSystem.cs | 3 ++- .../RadarConsoleBoundInterfaceState.cs | 2 ++ Resources/Locale/en-US/shuttles/console.ftl | 3 +++ 7 files changed, 33 insertions(+), 8 deletions(-) diff --git a/Content.Client/Shuttles/UI/RadarControl.cs b/Content.Client/Shuttles/UI/RadarControl.cs index 6d69fd809a..d93c051d23 100644 --- a/Content.Client/Shuttles/UI/RadarControl.cs +++ b/Content.Client/Shuttles/UI/RadarControl.cs @@ -293,7 +293,7 @@ public sealed class RadarControl : Control if (uiPosition.Length > RadarRange - DockScale) continue; - var color = HighlightedDock == ent ? Color.Magenta : Color.DarkViolet; + var color = HighlightedDock == ent ? state.HighlightedColor : state.Color; uiPosition.Y = -uiPosition.Y; diff --git a/Content.Client/Shuttles/UI/ShuttleConsoleWindow.xaml b/Content.Client/Shuttles/UI/ShuttleConsoleWindow.xaml index 58d06e575a..868bed16dc 100644 --- a/Content.Client/Shuttles/UI/ShuttleConsoleWindow.xaml +++ b/Content.Client/Shuttles/UI/ShuttleConsoleWindow.xaml @@ -1,7 +1,8 @@ + xmlns:ui1="clr-namespace:Content.Client.HUD.UI" + Title="{Loc 'shuttle-console-window-title'}"> - + + + - + - + + + @@ -59,7 +65,7 @@ Text="0.0" Align="Right"/> - +