Minor UI refactor (#11212)

This commit is contained in:
wrexbe
2022-09-11 20:42:12 -07:00
committed by GitHub
parent 56c2ad6a16
commit 35b90736b7
63 changed files with 93 additions and 147 deletions

View File

@@ -1,11 +1,8 @@
using Content.Client.HUD;
using Content.Shared.Administration; using Content.Shared.Administration;
using Robust.Client.AutoGenerated; using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls; using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML; using Robust.Client.UserInterface.XAML;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
namespace Content.Client.Administration.UI namespace Content.Client.Administration.UI
{ {

View File

@@ -1,6 +1,7 @@
using Content.Client.GameTicking.Managers; using Content.Client.GameTicking.Managers;
using System.Threading;
using Content.Client.Gameplay;
using Content.Client.Lobby; using Content.Client.Lobby;
using Content.Client.Viewport;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using JetBrains.Annotations; using JetBrains.Annotations;
using Robust.Client; using Robust.Client;
@@ -8,13 +9,10 @@ using Robust.Client.Player;
using Robust.Client.State; using Robust.Client.State;
using Robust.Shared.Audio; using Robust.Shared.Audio;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;
using Robust.Shared.Map;
using Robust.Shared.Player; using Robust.Shared.Player;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
using Robust.Shared.Random; using Robust.Shared.Random;
using Robust.Shared.Timing; using Robust.Shared.Timing;
using System.Threading;
using Content.Client.Gameplay;
using Robust.Client.GameObjects; using Robust.Client.GameObjects;
using Robust.Client.ResourceManagement; using Robust.Client.ResourceManagement;
using Timer = Robust.Shared.Timing.Timer; using Timer = Robust.Shared.Timing.Timer;

View File

@@ -1,12 +1,10 @@
using System.Collections.Generic; using Content.Client.UserInterface.Controls;
using Content.Shared.CharacterInfo; using Content.Shared.CharacterInfo;
using Content.Shared.Objectives; using Content.Shared.Objectives;
using Robust.Client.GameObjects; using Robust.Client.GameObjects;
using Robust.Client.UserInterface; using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
using Robust.Client.Utility; using Robust.Client.Utility;
using Robust.Shared.GameObjects;
using Robust.Shared.Maths;
namespace Content.Client.CharacterInfo.Components; namespace Content.Client.CharacterInfo.Components;

View File

@@ -1,5 +1,5 @@
using JetBrains.Annotations;
using Content.Shared.Chemistry.EntitySystems; using Content.Shared.Chemistry.EntitySystems;
using JetBrains.Annotations;
namespace Content.Client.Chemistry.EntitySystems namespace Content.Client.Chemistry.EntitySystems
{ {
@@ -7,5 +7,6 @@ namespace Content.Client.Chemistry.EntitySystems
public sealed class ReagentDispenserSystem : SharedReagentDispenserSystem public sealed class ReagentDispenserSystem : SharedReagentDispenserSystem
{ {
// hello there. // hello there.
// General Kenobi
} }
} }

View File

@@ -1,13 +1,13 @@
<DefaultWindow xmlns="https://spacestation14.io" <DefaultWindow xmlns="https://spacestation14.io"
xmlns:ui="clr-namespace:Content.Client.HUD.UI" xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Title="{Loc 'crew-manifest-window-title'}" Title="{Loc 'crew-manifest-window-title'}"
MinSize="450 750"> MinSize="450 750">
<BoxContainer Orientation="Vertical" VerticalExpand="True" HorizontalExpand="True"> <BoxContainer Orientation="Vertical" VerticalExpand="True" HorizontalExpand="True">
<ui:StripeBack Name="StationNameContainer"> <controls:StripeBack Name="StationNameContainer">
<PanelContainer> <PanelContainer>
<Label Name="StationName" Align="Center" /> <Label Name="StationName" Align="Center" />
</PanelContainer> </PanelContainer>
</ui:StripeBack> </controls:StripeBack>
<BoxContainer HorizontalExpand="True" VerticalExpand="True"> <BoxContainer HorizontalExpand="True" VerticalExpand="True">
<ScrollContainer HorizontalExpand="True" VerticalExpand="True"> <ScrollContainer HorizontalExpand="True" VerticalExpand="True">
<!-- this MIGHT have race conditions --> <!-- this MIGHT have race conditions -->

View File

@@ -2,7 +2,7 @@ using Content.Client.Administration.Managers;
using Content.Client.Changelog; using Content.Client.Changelog;
using Content.Client.CharacterInterface; using Content.Client.CharacterInterface;
using Content.Client.Chat.Managers; using Content.Client.Chat.Managers;
using Content.Client.EscapeMenu; using Content.Client.Options;
using Content.Client.Eui; using Content.Client.Eui;
using Content.Client.Flash; using Content.Client.Flash;
using Content.Client.GhostKick; using Content.Client.GhostKick;

View File

@@ -5,7 +5,7 @@ using Content.Client.Chat.UI;
using Content.Client.Construction.UI; using Content.Client.Construction.UI;
using Content.Client.Hands; using Content.Client.Hands;
using Content.Client.HUD; using Content.Client.HUD;
using Content.Client.HUD.UI; using Content.Client.UserInterface.Controls;
using Content.Client.Viewport; using Content.Client.Viewport;
using Content.Client.Voting; using Content.Client.Voting;
using Content.Shared.Chat; using Content.Shared.Chat;

View File

@@ -1,8 +1,6 @@
using Content.Client.Ghost.UI; using Content.Client.UserInterface.Systems.Ghost;
using Content.Shared.Ghost; using Content.Shared.Ghost;
using Robust.Client.Player; using Robust.Client.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Client.Ghost namespace Content.Client.Ghost
{ {

View File

@@ -1,11 +1,9 @@
using Content.Client.Ghost.UI;
using Content.Client.HUD; using Content.Client.HUD;
using Content.Client.UserInterface.Systems.Ghost;
using Content.Shared.Ghost; using Content.Shared.Ghost;
using JetBrains.Annotations; using JetBrains.Annotations;
using Robust.Client.GameObjects; using Robust.Client.GameObjects;
using Robust.Client.Player; using Robust.Client.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Client.Ghost namespace Content.Client.Ghost
{ {

View File

@@ -1,5 +1,4 @@
using Content.Client.EscapeMenu.UI; using Content.Client.Options.UI;
using Content.Shared.CCVar;
using Robust.Client.ResourceManagement; using Robust.Client.ResourceManagement;
using Robust.Client.UserInterface; using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;

View File

@@ -1,6 +1,5 @@
using Content.Client.Gameplay;
using Content.Client.Lobby; using Content.Client.Lobby;
using Content.Client.Viewport; using Content.Client.Gameplay;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Content.Shared.Info; using Content.Shared.Info;
using Robust.Client.Console; using Robust.Client.Console;

View File

@@ -2,7 +2,7 @@
using Content.Client.Changelog; using Content.Client.Changelog;
using Content.Client.Chat.Managers; using Content.Client.Chat.Managers;
using Content.Client.Clickable; using Content.Client.Clickable;
using Content.Client.EscapeMenu; using Content.Client.Options;
using Content.Client.Eui; using Content.Client.Eui;
using Content.Client.GhostKick; using Content.Client.GhostKick;
using Content.Client.HUD; using Content.Client.HUD;

View File

@@ -1,11 +1,8 @@
using System.Linq;
using Content.Client.CrewManifest; using Content.Client.CrewManifest;
using Content.Client.Eui;
using Content.Client.GameTicking.Managers; using Content.Client.GameTicking.Managers;
using Content.Client.HUD.UI;
using Content.Client.Players.PlayTimeTracking; using Content.Client.Players.PlayTimeTracking;
using Content.Client.UserInterface.Controls;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Content.Shared.CrewManifest;
using Content.Shared.Roles; using Content.Shared.Roles;
using Robust.Client.Console; using Robust.Client.Console;
using Robust.Client.UserInterface; using Robust.Client.UserInterface;

View File

@@ -2,7 +2,7 @@ using System;
using System.Linq; using System.Linq;
using Content.Client.Chat; using Content.Client.Chat;
using Content.Client.Chat.Managers; using Content.Client.Chat.Managers;
using Content.Client.EscapeMenu.UI; using Content.Client.Options.UI;
using Content.Client.GameTicking.Managers; using Content.Client.GameTicking.Managers;
using Content.Client.LateJoin; using Content.Client.LateJoin;
using Content.Client.Lobby.UI; using Content.Client.Lobby.UI;

View File

@@ -1,22 +1,16 @@
using System.Linq; using System.Linq;
using Content.Client.HUD.UI;
using Content.Client.Inventory; using Content.Client.Inventory;
using Content.Client.Preferences; using Content.Client.Preferences;
using Content.Client.UserInterface.Controls; using Content.Client.UserInterface.Controls;
using Content.Shared.CharacterAppearance.Systems; using Content.Shared.CharacterAppearance.Systems;
using Content.Shared.GameTicking; using Content.Shared.GameTicking;
using Content.Shared.Inventory;
using Content.Shared.Preferences; using Content.Shared.Preferences;
using Content.Shared.Roles; using Content.Shared.Roles;
using Content.Shared.Species; using Content.Shared.Species;
using Robust.Client.GameObjects; using Robust.Client.GameObjects;
using Robust.Client.UserInterface; using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using Robust.Shared.Map; using Robust.Shared.Map;
using Robust.Shared.Maths;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
using static Robust.Client.UserInterface.Controls.BoxContainer; using static Robust.Client.UserInterface.Controls.BoxContainer;

View File

@@ -1,12 +1,10 @@
<Control xmlns="https://spacestation14.io" <Control xmlns="https://spacestation14.io"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:maths="clr-namespace:Robust.Shared.Maths;assembly=Robust.Shared.Maths" xmlns:maths="clr-namespace:Robust.Shared.Maths;assembly=Robust.Shared.Maths"
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls" xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls" xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:parallax="clr-namespace:Content.Client.Parallax"
xmlns:vote="clr-namespace:Content.Client.Voting.UI" xmlns:vote="clr-namespace:Content.Client.Voting.UI"
xmlns:style="clr-namespace:Content.Client.Stylesheets" xmlns:style="clr-namespace:Content.Client.Stylesheets"
xmlns:hudUi="clr-namespace:Content.Client.HUD.UI"
xmlns:chatUi="clr-namespace:Content.Client.Chat.UI" xmlns:chatUi="clr-namespace:Content.Client.Chat.UI"
xmlns:lobbyUi="clr-namespace:Content.Client.Lobby.UI" xmlns:lobbyUi="clr-namespace:Content.Client.Lobby.UI"
xmlns:info="clr-namespace:Content.Client.Info"> xmlns:info="clr-namespace:Content.Client.Info">
@@ -20,7 +18,7 @@
<PanelContainer StyleClasses="AngleRect" HorizontalAlignment="Left" Name = "LeftSideTop" VerticalAlignment="Top" > <PanelContainer StyleClasses="AngleRect" HorizontalAlignment="Left" Name = "LeftSideTop" VerticalAlignment="Top" >
<BoxContainer Orientation="Vertical" HorizontalAlignment="Center" MaxWidth="620"> <BoxContainer Orientation="Vertical" HorizontalAlignment="Center" MaxWidth="620">
<info:LinkBanner Name="LinkBanner" VerticalExpand="false" HorizontalAlignment="Center" Margin="3 3 3 3"/> <info:LinkBanner Name="LinkBanner" VerticalExpand="false" HorizontalAlignment="Center" Margin="3 3 3 3"/>
<hudUi:StripeBack> <controls:StripeBack>
<BoxContainer Orientation="Horizontal" SeparationOverride="6" Margin="3 3 3 3"> <BoxContainer Orientation="Horizontal" SeparationOverride="6" Margin="3 3 3 3">
<cc:UICommandButton Command="observe" Name="ObserveButton" Access="Public" Text="{Loc 'ui-lobby-observe-button'}" StyleClasses="ButtonBig" WindowType="{x:Type lobbyUi:ObserveWarningWindow}"/> <cc:UICommandButton Command="observe" Name="ObserveButton" Access="Public" Text="{Loc 'ui-lobby-observe-button'}" StyleClasses="ButtonBig" WindowType="{x:Type lobbyUi:ObserveWarningWindow}"/>
<Label Name="StartTime" <Label Name="StartTime"
@@ -31,7 +29,7 @@
<Button Name="ReadyButton" Access="Public" ToggleMode="True" Text="{Loc 'ui-lobby-ready-up-button'}" <Button Name="ReadyButton" Access="Public" ToggleMode="True" Text="{Loc 'ui-lobby-ready-up-button'}"
StyleClasses="ButtonBig" /> StyleClasses="ButtonBig" />
</BoxContainer> </BoxContainer>
</hudUi:StripeBack> </controls:StripeBack>
</BoxContainer> </BoxContainer>
</PanelContainer> </PanelContainer>
<!-- Voting Popups --> <!-- Voting Popups -->
@@ -52,8 +50,8 @@
<Label Name="ServerName" Access="Public" StyleClasses="LabelHeadingBigger" VAlign="Center" /> <Label Name="ServerName" Access="Public" StyleClasses="LabelHeadingBigger" VAlign="Center" />
</BoxContainer> </BoxContainer>
<!-- Gold line --> <!-- Gold line -->
<ui:HLine Color="{x:Static style:StyleNano.NanoGold}" Thickness="2"/> <controls:HLine Color="{x:Static style:StyleNano.NanoGold}" Thickness="2"/>
<ui:HSpacer Spacing="10"/> <controls:HSpacer Spacing="10"/>
<!-- Voting & misc button bar --> <!-- Voting & misc button bar -->
<BoxContainer Orientation="Horizontal" MinSize="0 40" HorizontalAlignment="Right"> <BoxContainer Orientation="Horizontal" MinSize="0 40" HorizontalAlignment="Right">
<cc:CommandButton Name = "AHelpButton" Command="openahelp" Access="Public" Text = "{Loc 'ui-lobby-ahelp-button'}" StyleClasses="ButtonBig"/> <cc:CommandButton Name = "AHelpButton" Command="openahelp" Access="Public" Text = "{Loc 'ui-lobby-ahelp-button'}" StyleClasses="ButtonBig"/>
@@ -61,18 +59,18 @@
<Button Name="OptionsButton" Access="Public" StyleClasses="ButtonBig" Text="{Loc 'ui-lobby-options-button'}" /> <Button Name="OptionsButton" Access="Public" StyleClasses="ButtonBig" Text="{Loc 'ui-lobby-options-button'}" />
<Button Name="LeaveButton" Access="Public" StyleClasses="ButtonBig" Text="{Loc 'ui-lobby-leave-button'}" /> <Button Name="LeaveButton" Access="Public" StyleClasses="ButtonBig" Text="{Loc 'ui-lobby-leave-button'}" />
</BoxContainer> </BoxContainer>
<ui:HSpacer Spacing="10"/> <controls:HSpacer Spacing="10"/>
<!-- Server info --> <!-- Server info -->
<hudUi:NanoHeading Text="{Loc 'ui-lobby-server-info-block'}" /> <controls:NanoHeading Text="{Loc 'ui-lobby-server-info-block'}" />
<info:ServerInfo Name="ServerInfo" Access="Public" MinSize="0 30" VerticalExpand="false" Margin="3 3 3 3" MaxWidth="400" HorizontalAlignment="Left"/> <info:ServerInfo Name="ServerInfo" Access="Public" MinSize="0 30" VerticalExpand="false" Margin="3 3 3 3" MaxWidth="400" HorizontalAlignment="Left"/>
<Label Name="StationTime" Access="Public" FontColorOverride="{x:Static maths:Color.LightGray}" Margin="3 3 3 3" HorizontalAlignment="Left"/> <Label Name="StationTime" Access="Public" FontColorOverride="{x:Static maths:Color.LightGray}" Margin="3 3 3 3" HorizontalAlignment="Left"/>
<ui:HSpacer Spacing="5"/> <controls:HSpacer Spacing="5"/>
<lobbyUi:LobbyCharacterPreviewPanel Name="CharacterPreview" Access="Public"></lobbyUi:LobbyCharacterPreviewPanel> <lobbyUi:LobbyCharacterPreviewPanel Name="CharacterPreview" Access="Public"></lobbyUi:LobbyCharacterPreviewPanel>
<ui:HSpacer Spacing="5"/> <controls:HSpacer Spacing="5"/>
<BoxContainer MinHeight="10"/> <BoxContainer MinHeight="10"/>
<!-- Gold line --> <!-- Gold line -->
<ui:HLine Color="{x:Static style:StyleNano.NanoGold}" Thickness="2" Access="Public"/> <controls:HLine Color="{x:Static style:StyleNano.NanoGold}" Thickness="2" Access="Public"/>
<ui:HSpacer Spacing="10"/> <controls:HSpacer Spacing="10"/>
<chatUi:ChatBox Name="Chat" Access="Public" VerticalExpand="True" Margin="3 3 3 3" MinHeight="50"/> <chatUi:ChatBox Name="Chat" Access="Public" VerticalExpand="True" Margin="3 3 3 3" MinHeight="50"/>
</BoxContainer> </BoxContainer>
</PanelContainer> </PanelContainer>

View File

@@ -1,6 +1,6 @@
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Threading.Tasks; using System.Threading.Tasks;
using Content.Client.EscapeMenu.UI; using Content.Client.Options.UI;
using Content.Client.MainMenu.UI; using Content.Client.MainMenu.UI;
using Robust.Client; using Robust.Client;
using Robust.Client.ResourceManagement; using Robust.Client.ResourceManagement;

View File

@@ -1,10 +1,10 @@
using Robust.Shared.Utility; using Content.Client.Actions;
using Content.Shared.Actions;
using Content.Shared.Actions.ActionTypes;
using Content.Shared.Maps;
using Robust.Client.Placement; using Robust.Client.Placement;
using Robust.Shared.Map; using Robust.Shared.Map;
using Content.Shared.Actions.ActionTypes; using Robust.Shared.Utility;
using Content.Shared.Actions;
using Content.Client.Actions;
using Content.Shared.Maps;
namespace Content.Client.Mapping; namespace Content.Client.Mapping;

View File

@@ -1,20 +1,19 @@
<controls:FancyWindow xmlns="https://spacestation14.io" <controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:Content.Client.HUD.UI"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls" xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Title="NPC debug" Title="NPC debug"
MinSize="200 200"> MinSize="200 200">
<BoxContainer Name="Options" Orientation="Vertical"> <BoxContainer Name="Options" Orientation="Vertical">
<ui:StripeBack> <controls:StripeBack>
<Label Text="NPC" HorizontalAlignment="Center"/> <Label Text="NPC" HorizontalAlignment="Center"/>
</ui:StripeBack> </controls:StripeBack>
<BoxContainer Name="NPCBox" Orientation="Vertical"> <BoxContainer Name="NPCBox" Orientation="Vertical">
<CheckBox Name="NPCPath" Text="Path"/> <CheckBox Name="NPCPath" Text="Path"/>
<CheckBox Name="NPCThonk" Text="Thonk"/> <CheckBox Name="NPCThonk" Text="Thonk"/>
</BoxContainer> </BoxContainer>
<ui:StripeBack> <controls:StripeBack>
<Label Text="Pathfinder" HorizontalAlignment="Center"/> <Label Text="Pathfinder" HorizontalAlignment="Center"/>
</ui:StripeBack> </controls:StripeBack>
<BoxContainer Name="PathfinderBox" Orientation="Vertical"> <BoxContainer Name="PathfinderBox" Orientation="Vertical">
<CheckBox Name="PathNodes" Text="Nodes"/> <CheckBox Name="PathNodes" Text="Nodes"/>
<CheckBox Name="PathRoutes" Text="Routes"/> <CheckBox Name="PathRoutes" Text="Routes"/>

View File

@@ -1,7 +1,6 @@
using Content.Client.UserInterface.Controls; using Content.Client.UserInterface.Controls;
using Robust.Client.AutoGenerated; using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.XAML; using Robust.Client.UserInterface.XAML;
using Robust.Shared.Console;
namespace Content.Client.NPC; namespace Content.Client.NPC;

View File

@@ -2,10 +2,7 @@
using Content.Client.UserInterface.Controls; using Content.Client.UserInterface.Controls;
using Content.Shared.DeviceNetwork; using Content.Shared.DeviceNetwork;
using Robust.Client.AutoGenerated; using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML; using Robust.Client.UserInterface.XAML;
using Robust.Client.Graphics;
namespace Content.Client.NetworkConfigurator; namespace Content.Client.NetworkConfigurator;

View File

@@ -8,7 +8,7 @@ using Robust.Shared.Input;
using Robust.Shared.Input.Binding; using Robust.Shared.Input.Binding;
using Robust.Shared.IoC; using Robust.Shared.IoC;
namespace Content.Client.EscapeMenu namespace Content.Client.Options
{ {
internal sealed class EscapeMenuOwner : IEscapeMenuOwner internal sealed class EscapeMenuOwner : IEscapeMenuOwner
{ {

View File

@@ -9,7 +9,7 @@ using Robust.Client.UserInterface;
using Content.Client.Links; using Content.Client.Links;
using Robust.Shared.GameObjects; using Robust.Shared.GameObjects;
namespace Content.Client.EscapeMenu.UI namespace Content.Client.Options.UI
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
internal sealed partial class EscapeMenu : DefaultWindow internal sealed partial class EscapeMenu : DefaultWindow

View File

@@ -1,5 +1,5 @@
<DefaultWindow xmlns="https://spacestation14.io" <DefaultWindow xmlns="https://spacestation14.io"
xmlns:tabs="clr-namespace:Content.Client.EscapeMenu.UI.Tabs" xmlns:tabs="clr-namespace:Content.Client.Options.UI.Tabs"
Title="{Loc 'ui-options-title'}" Title="{Loc 'ui-options-title'}"
MinSize="800 450"> MinSize="800 450">
<TabContainer Name="Tabs"> <TabContainer Name="Tabs">

View File

@@ -4,7 +4,7 @@ using Robust.Client.UserInterface.XAML;
using Robust.Shared.IoC; using Robust.Shared.IoC;
using Robust.Shared.Localization; using Robust.Shared.Localization;
namespace Content.Client.EscapeMenu.UI namespace Content.Client.Options.UI
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class OptionsMenu : DefaultWindow public sealed partial class OptionsMenu : DefaultWindow

View File

@@ -1,7 +1,7 @@
<Control xmlns="https://spacestation14.io" <Control xmlns="https://spacestation14.io"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="clr-namespace:Content.Client.Stylesheets" xmlns:s="clr-namespace:Content.Client.Stylesheets"
xmlns:hudUi="clr-namespace:Content.Client.HUD.UI"> xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
<BoxContainer Orientation="Vertical"> <BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Vertical" Margin="8 8 8 8" VerticalExpand="True"> <BoxContainer Orientation="Vertical" Margin="8 8 8 8" VerticalExpand="True">
<Label Text="{Loc 'ui-options-volume-label'}" <Label Text="{Loc 'ui-options-volume-label'}"
@@ -70,7 +70,7 @@
<CheckBox Name="SpaceAmbienceCheckBox" Text="{Loc 'ui-options-space-ambience'}" /> <CheckBox Name="SpaceAmbienceCheckBox" Text="{Loc 'ui-options-space-ambience'}" />
</BoxContainer> </BoxContainer>
</BoxContainer> </BoxContainer>
<hudUi:StripeBack HasBottomEdge="False" HasMargins="False"> <controls:StripeBack HasBottomEdge="False" HasMargins="False">
<BoxContainer Orientation="Horizontal" <BoxContainer Orientation="Horizontal"
Align="End" Align="End"
HorizontalExpand="True" HorizontalExpand="True"
@@ -86,6 +86,6 @@
TextAlign="Center" TextAlign="Center"
HorizontalAlignment="Right" /> HorizontalAlignment="Right" />
</BoxContainer> </BoxContainer>
</hudUi:StripeBack> </controls:StripeBack>
</BoxContainer> </BoxContainer>
</Control> </Control>

View File

@@ -8,7 +8,7 @@ using Robust.Shared;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;
using Range = Robust.Client.UserInterface.Controls.Range; using Range = Robust.Client.UserInterface.Controls.Range;
namespace Content.Client.EscapeMenu.UI.Tabs namespace Content.Client.Options.UI.Tabs
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class AudioTab : Control public sealed partial class AudioTab : Control

View File

@@ -1,5 +1,5 @@
<Control xmlns="https://spacestation14.io" <Control xmlns="https://spacestation14.io"
xmlns:hudUi="clr-namespace:Content.Client.HUD.UI"> xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
<BoxContainer Orientation="Vertical"> <BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Vertical" Margin="8 8 8 8" VerticalExpand="True"> <BoxContainer Orientation="Vertical" Margin="8 8 8 8" VerticalExpand="True">
<CheckBox Name="VSyncCheckBox" Text="{Loc 'ui-options-vsync'}" /> <CheckBox Name="VSyncCheckBox" Text="{Loc 'ui-options-vsync'}" />
@@ -38,11 +38,11 @@
<CheckBox Name="ParallaxLowQualityCheckBox" Text="{Loc 'ui-options-parallax-low-quality'}" /> <CheckBox Name="ParallaxLowQualityCheckBox" Text="{Loc 'ui-options-parallax-low-quality'}" />
<CheckBox Name="FpsCounterCheckBox" Text="{Loc 'ui-options-fps-counter'}" /> <CheckBox Name="FpsCounterCheckBox" Text="{Loc 'ui-options-fps-counter'}" />
</BoxContainer> </BoxContainer>
<hudUi:StripeBack HasBottomEdge="False" HasMargins="False"> <controls:StripeBack HasBottomEdge="False" HasMargins="False">
<Button Name="ApplyButton" <Button Name="ApplyButton"
Text="{Loc 'ui-options-apply'}" Text="{Loc 'ui-options-apply'}"
TextAlign="Center" TextAlign="Center"
HorizontalAlignment="Right" /> HorizontalAlignment="Right" />
</hudUi:StripeBack> </controls:StripeBack>
</BoxContainer> </BoxContainer>
</Control> </Control>

View File

@@ -12,7 +12,7 @@ using Robust.Shared.Localization;
using Robust.Shared.Maths; using Robust.Shared.Maths;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
namespace Content.Client.EscapeMenu.UI.Tabs namespace Content.Client.Options.UI.Tabs
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class GraphicsTab : Control public sealed partial class GraphicsTab : Control

View File

@@ -1,5 +1,5 @@
<Control xmlns="https://spacestation14.io" <Control xmlns="https://spacestation14.io"
xmlns:hudUi="clr-namespace:Content.Client.HUD.UI"> xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
<BoxContainer Orientation="Vertical"> <BoxContainer Orientation="Vertical">
<ScrollContainer VerticalExpand="True"> <ScrollContainer VerticalExpand="True">
<BoxContainer Name="KeybindsContainer" Orientation="Vertical" Margin="8 8 8 8"> <BoxContainer Name="KeybindsContainer" Orientation="Vertical" Margin="8 8 8 8">
@@ -8,7 +8,7 @@
</BoxContainer> </BoxContainer>
</ScrollContainer> </ScrollContainer>
<hudUi:StripeBack HasBottomEdge="False" HasMargins="False"> <controls:StripeBack HasBottomEdge="False" HasMargins="False">
<BoxContainer Orientation="Horizontal"> <BoxContainer Orientation="Horizontal">
<Control MinSize="8 0" /> <Control MinSize="8 0" />
<Label Text="{Loc 'ui-options-binds-explanation'}" StyleClasses="LabelSubText" /> <Label Text="{Loc 'ui-options-binds-explanation'}" StyleClasses="LabelSubText" />
@@ -17,6 +17,6 @@
HorizontalExpand="True" HorizontalExpand="True"
HorizontalAlignment="Right" /> HorizontalAlignment="Right" />
</BoxContainer> </BoxContainer>
</hudUi:StripeBack> </controls:StripeBack>
</BoxContainer> </BoxContainer>
</Control> </Control>

View File

@@ -19,7 +19,7 @@ using Robust.Shared.Log;
using static Robust.Client.UserInterface.Controls.BoxContainer; using static Robust.Client.UserInterface.Controls.BoxContainer;
using Robust.Client.UserInterface.CustomControls; using Robust.Client.UserInterface.CustomControls;
namespace Content.Client.EscapeMenu.UI.Tabs namespace Content.Client.Options.UI.Tabs
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class KeyRebindTab : Control public sealed partial class KeyRebindTab : Control

View File

@@ -1,7 +1,7 @@
<Control xmlns="https://spacestation14.io" <Control xmlns="https://spacestation14.io"
xmlns:hudUi="clr-namespace:Content.Client.HUD.UI" xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Content.Client.EscapeMenu.UI.Tabs.NetworkTab"> x:Class="Content.Client.Options.UI.Tabs.NetworkTab">
<BoxContainer Orientation="Vertical" > <BoxContainer Orientation="Vertical" >
<BoxContainer Orientation="Vertical" Margin="8 8 8 8" VerticalExpand="True"> <BoxContainer Orientation="Vertical" Margin="8 8 8 8" VerticalExpand="True">
<BoxContainer Orientation="Horizontal" Margin="4 10 4 0"> <BoxContainer Orientation="Horizontal" Margin="4 10 4 0">
@@ -60,7 +60,7 @@
<Control MinSize="4 0"/> <Control MinSize="4 0"/>
</BoxContainer> </BoxContainer>
</BoxContainer> </BoxContainer>
<hudUi:StripeBack HasBottomEdge="False" HasMargins="False"> <controls:StripeBack HasBottomEdge="False" HasMargins="False">
<BoxContainer Orientation="Horizontal" <BoxContainer Orientation="Horizontal"
Align="End" Align="End"
HorizontalExpand="True" HorizontalExpand="True"
@@ -80,6 +80,6 @@
TextAlign="Center" TextAlign="Center"
HorizontalAlignment="Right" /> HorizontalAlignment="Right" />
</BoxContainer> </BoxContainer>
</hudUi:StripeBack> </controls:StripeBack>
</BoxContainer> </BoxContainer>
</Control> </Control>

View File

@@ -7,7 +7,7 @@ using Robust.Shared.Configuration;
using Robust.Client.GameStates; using Robust.Client.GameStates;
using Content.Client.Entry; using Content.Client.Entry;
namespace Content.Client.EscapeMenu.UI.Tabs namespace Content.Client.Options.UI.Tabs
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class NetworkTab : Control public sealed partial class NetworkTab : Control

View File

@@ -1,7 +1,6 @@
using System;
using Content.Client.HUD.UI;
using Content.Client.Resources; using Content.Client.Resources;
using Content.Client.Stylesheets; using Content.Client.Stylesheets;
using Content.Client.UserInterface.Controls;
using Content.Shared.Singularity.Components; using Content.Shared.Singularity.Components;
using Robust.Client.Animations; using Robust.Client.Animations;
using Robust.Client.Graphics; using Robust.Client.Graphics;
@@ -9,9 +8,6 @@ using Robust.Client.ResourceManagement;
using Robust.Client.UserInterface; using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls; using Robust.Client.UserInterface.CustomControls;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using Robust.Shared.Maths;
using Robust.Shared.Noise; using Robust.Shared.Noise;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
using Robust.Shared.Timing; using Robust.Shared.Timing;

View File

@@ -1,12 +1,10 @@
using System;
using System.Collections.Generic;
using System.Linq; using System.Linq;
using Content.Client.CharacterAppearance; using Content.Client.CharacterAppearance;
using Content.Client.HUD.UI;
using Content.Client.Lobby.UI; using Content.Client.Lobby.UI;
using Content.Client.Message; using Content.Client.Message;
using Content.Client.Players.PlayTimeTracking; using Content.Client.Players.PlayTimeTracking;
using Content.Client.Stylesheets; using Content.Client.Stylesheets;
using Content.Client.UserInterface.Controls;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Content.Shared.CharacterAppearance; using Content.Shared.CharacterAppearance;
using Content.Shared.CharacterAppearance.Systems; using Content.Shared.CharacterAppearance.Systems;
@@ -25,17 +23,12 @@ using Robust.Client.UserInterface.XAML;
using Robust.Client.Utility; using Robust.Client.Utility;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;
using Robust.Shared.Enums; using Robust.Shared.Enums;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using Robust.Shared.Map; using Robust.Shared.Map;
using Robust.Shared.Maths;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
using Robust.Shared.Random; using Robust.Shared.Random;
using Robust.Shared.Timing; using Robust.Shared.Timing;
using Robust.Shared.Utility; using Robust.Shared.Utility;
using static Robust.Client.UserInterface.Controls.BoxContainer; using static Robust.Client.UserInterface.Controls.BoxContainer;
using Range = Robust.Client.UserInterface.Controls.Range;
namespace Content.Client.Preferences.UI namespace Content.Client.Preferences.UI
{ {

View File

@@ -35,7 +35,6 @@
HorizontalExpand="True"/> HorizontalExpand="True"/>
</BoxContainer> </BoxContainer>
<!-- Spacer --> <!-- Spacer -->
<BoxContainer Name="AuthorizationsContainer" Orientation="Vertical"> <BoxContainer Name="AuthorizationsContainer" Orientation="Vertical"/>
</BoxContainer>
</BoxContainer> </BoxContainer>
</controls:FancyWindow> </controls:FancyWindow>

View File

@@ -1,6 +1,6 @@
<controls:FancyWindow xmlns="https://spacestation14.io" <controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls" xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:ui="clr-namespace:Content.Client.Shuttles.UI" xmlns:ui="clr-namespace:Content.Client.Shuttles.UI"
Title="{Loc 'radar-console-window-title'}"> Title="{Loc 'radar-console-window-title'}">
<ui:RadarControl Name="RadarScreen"/> <ui:RadarControl Name="RadarScreen"/>
</controls:FancyWindow> </controls:FancyWindow>

View File

@@ -1,7 +1,6 @@
<controls:FancyWindow xmlns="https://spacestation14.io" <controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls" xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:ui="clr-namespace:Content.Client.Shuttles.UI" xmlns:ui="clr-namespace:Content.Client.Shuttles.UI"
xmlns:ui1="clr-namespace:Content.Client.HUD.UI"
Title="{Loc 'shuttle-console-window-title'}"> Title="{Loc 'shuttle-console-window-title'}">
<GridContainer Columns="3" <GridContainer Columns="3"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"
@@ -13,20 +12,19 @@
Align="Center" Align="Center"
Orientation="Vertical"> Orientation="Vertical">
<BoxContainer Orientation="Vertical"> <BoxContainer Orientation="Vertical">
<ui1:StripeBack> <controls:StripeBack>
<Label Name="DockingPortsLabel" Text="{Loc 'shuttle-console-dock-label'}" HorizontalAlignment="Center"/> <Label Name="DockingPortsLabel" Text="{Loc 'shuttle-console-dock-label'}" HorizontalAlignment="Center"/>
</ui1:StripeBack> </controls:StripeBack>
<BoxContainer Name="DockPorts" <BoxContainer Name="DockPorts"
Orientation="Vertical"> Orientation="Vertical">
</BoxContainer> </BoxContainer>
</BoxContainer> </BoxContainer>
<BoxContainer Orientation="Vertical"> <BoxContainer Orientation="Vertical">
<ui1:StripeBack> <controls:StripeBack>
<Label Name="HyperspaceLabel" Text="{Loc 'shuttle-console-hyperspace-label'}" HorizontalAlignment="Center"/> <Label Name="HyperspaceLabel" Text="{Loc 'shuttle-console-hyperspace-label'}" HorizontalAlignment="Center"/>
</ui1:StripeBack> </controls:StripeBack>
<BoxContainer Name="HyperspaceDestinations" <BoxContainer Name="HyperspaceDestinations"
Orientation="Vertical"> Orientation="Vertical"/>
</BoxContainer>
</BoxContainer> </BoxContainer>
</BoxContainer> </BoxContainer>
<PanelContainer> <PanelContainer>
@@ -42,9 +40,9 @@
MinWidth="256" MinWidth="256"
Align="Center" Align="Center"
Orientation="Vertical"> Orientation="Vertical">
<ui1:StripeBack> <controls:StripeBack>
<Label Name="DisplayLabel" Text="{Loc 'shuttle-console-display-label'}" HorizontalAlignment="Center"/> <Label Name="DisplayLabel" Text="{Loc 'shuttle-console-display-label'}" HorizontalAlignment="Center"/>
</ui1:StripeBack> </controls:StripeBack>
<BoxContainer Name="ReadonlyDisplay"> <BoxContainer Name="ReadonlyDisplay">
<GridContainer Columns="2" <GridContainer Columns="2"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"

View File

@@ -1,9 +1,9 @@
using Content.Client.Storage.UI; using Content.Client.Storage.UI;
using JetBrains.Annotations;
using Robust.Client.GameObjects; using Robust.Client.GameObjects;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
using Robust.Shared.Input; using Robust.Shared.Input;
using Content.Client.Items.Managers; using Content.Client.Items.Managers;
using JetBrains.Annotations;
using static Content.Shared.Storage.SharedStorageComponent; using static Content.Shared.Storage.SharedStorageComponent;
namespace Content.Client.Storage namespace Content.Client.Storage

View File

@@ -1,12 +1,9 @@
using Content.Client.Viewport; using Content.Client.Viewport;
using Content.Shared;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Robust.Client.UserInterface; using Robust.Client.UserInterface;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
namespace Content.Client.HUD.UI namespace Content.Client.UserInterface.Controls
{ {
/// <summary> /// <summary>
/// Wrapper for <see cref="ScalingViewport"/> that listens to configuration variables. /// Wrapper for <see cref="ScalingViewport"/> that listens to configuration variables.

View File

@@ -1,7 +1,7 @@
using Content.Client.Stylesheets; using Content.Client.Stylesheets;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
namespace Content.Client.HUD.UI namespace Content.Client.UserInterface.Controls
{ {
public sealed class NanoHeading : Container public sealed class NanoHeading : Container
{ {

View File

@@ -2,7 +2,7 @@
using Robust.Client.Graphics; using Robust.Client.Graphics;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
namespace Content.Client.CharacterInfo namespace Content.Client.UserInterface.Controls
{ {
public sealed class ProgressTextureRect : TextureRect public sealed class ProgressTextureRect : TextureRect
{ {

View File

@@ -1,8 +1,7 @@
using Robust.Client.Graphics; using Robust.Client.Graphics;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
using Robust.Shared.Maths;
namespace Content.Client.HUD.UI namespace Content.Client.UserInterface.Controls
{ {
public sealed class StripeBack : Container public sealed class StripeBack : Container
{ {

View File

@@ -1,9 +1,8 @@
using Content.Shared.Atmos.Components; using Content.Shared.Atmos.Components;
using JetBrains.Annotations; using JetBrains.Annotations;
using Robust.Client.GameObjects; using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
namespace Content.Client.UserInterface.Atmos.GasTank namespace Content.Client.UserInterface.Systems.Atmos.GasTank
{ {
[UsedImplicitly] [UsedImplicitly]
public sealed class GasTankBoundUserInterface public sealed class GasTankBoundUserInterface

View File

@@ -7,12 +7,9 @@ using Robust.Client.ResourceManagement;
using Robust.Client.UserInterface; using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls; using Robust.Client.UserInterface.CustomControls;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using Robust.Shared.Maths;
using static Robust.Client.UserInterface.Controls.BoxContainer; using static Robust.Client.UserInterface.Controls.BoxContainer;
namespace Content.Client.UserInterface.Atmos.GasTank namespace Content.Client.UserInterface.Systems.Atmos.GasTank
{ {
public sealed class GasTankWindow public sealed class GasTankWindow
: BaseWindow : BaseWindow

View File

@@ -5,7 +5,7 @@ using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls; using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML; using Robust.Client.UserInterface.XAML;
namespace Content.Client.Ghost.UI namespace Content.Client.UserInterface.Systems.Ghost.Controls
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class GhostTargetWindow : DefaultWindow public sealed partial class GhostTargetWindow : DefaultWindow

View File

@@ -1,7 +1,7 @@
using Robust.Client.AutoGenerated; using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
namespace Content.Client.Ghost.Roles.UI; namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles;
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class GhostRoleEntryButtons : BoxContainer public sealed partial class GhostRoleEntryButtons : BoxContainer

View File

@@ -8,7 +8,7 @@ using Robust.Shared.Utility;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;
namespace Content.Client.Ghost.Roles.UI namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class GhostRoleRulesWindow : DefaultWindow public sealed partial class GhostRoleRulesWindow : DefaultWindow

View File

@@ -4,7 +4,7 @@ using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML; using Robust.Client.UserInterface.XAML;
namespace Content.Client.Ghost.Roles.UI namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class GhostRolesEntry : BoxContainer public sealed partial class GhostRolesEntry : BoxContainer

View File

@@ -4,7 +4,7 @@ using Content.Shared.Eui;
using Content.Shared.Ghost.Roles; using Content.Shared.Ghost.Roles;
using JetBrains.Annotations; using JetBrains.Annotations;
namespace Content.Client.Ghost.Roles.UI namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
{ {
[UsedImplicitly] [UsedImplicitly]
public sealed class GhostRolesEui : BaseEui public sealed class GhostRolesEui : BaseEui

View File

@@ -3,7 +3,7 @@ using Content.Shared.Ghost.Roles;
using Robust.Client.AutoGenerated; using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.CustomControls; using Robust.Client.UserInterface.CustomControls;
namespace Content.Client.Ghost.Roles.UI namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class GhostRolesWindow : DefaultWindow public sealed partial class GhostRolesWindow : DefaultWindow

View File

@@ -8,7 +8,7 @@ using Robust.Shared.GameObjects;
using Robust.Shared.IoC; using Robust.Shared.IoC;
using Robust.Shared.Utility; using Robust.Shared.Utility;
namespace Content.Client.Ghost.Roles.UI namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
{ {
[UsedImplicitly] [UsedImplicitly]
public sealed class MakeGhostRoleEui : BaseEui public sealed class MakeGhostRoleEui : BaseEui

View File

@@ -4,7 +4,7 @@ using Robust.Client.UserInterface.XAML;
using Robust.Shared.GameObjects; using Robust.Shared.GameObjects;
using static Robust.Client.UserInterface.Controls.BaseButton; using static Robust.Client.UserInterface.Controls.BaseButton;
namespace Content.Client.Ghost.Roles.UI namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
{ {
[GenerateTypedNameReferences] [GenerateTypedNameReferences]
public sealed partial class MakeGhostRoleWindow : DefaultWindow public sealed partial class MakeGhostRoleWindow : DefaultWindow

View File

@@ -1,14 +1,13 @@
using Content.Client.Ghost;
using Content.Client.Stylesheets; using Content.Client.Stylesheets;
using Content.Client.UserInterface.Systems.Ghost.Controls;
using Content.Shared.Ghost; using Content.Shared.Ghost;
using Robust.Client.Console; using Robust.Client.Console;
using Robust.Client.UserInterface; using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.Controls;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using static Robust.Client.UserInterface.Controls.BoxContainer; using static Robust.Client.UserInterface.Controls.BoxContainer;
namespace Content.Client.Ghost.UI namespace Content.Client.UserInterface.Systems.Ghost
{ {
public sealed class GhostGui : Control public sealed class GhostGui : Control
{ {

View File

@@ -1,4 +1,4 @@
using Content.Client.HUD.UI; using Content.Client.UserInterface.Controls;
namespace Content.Client.Viewport namespace Content.Client.Viewport
{ {

View File

@@ -1,9 +1,6 @@
using System.Collections.Generic; using Content.Client.UserInterface.Controls;
using Content.Client.HUD.UI;
using Content.Shared;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;
using Robust.Shared.IoC;
namespace Content.Client.Viewport namespace Content.Client.Viewport
{ {