Fixing some warnings (#6250)

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
wrexbe
2022-01-21 01:38:35 -08:00
committed by GitHub
parent 29b22e2871
commit cea1b21832
191 changed files with 341 additions and 340 deletions

View File

@@ -1,4 +1,4 @@
<SS14Window xmlns="https://spacestation14.io"
<DefaultWindow xmlns="https://spacestation14.io"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
MinSize="400 525"
@@ -115,4 +115,4 @@
</PanelContainer>
</PanelContainer>
</BoxContainer>
</SS14Window>
</DefaultWindow>

View File

@@ -26,7 +26,7 @@ namespace Content.Client.Chemistry.UI
/// Client-side UI used to control a <see cref="SharedChemMasterComponent"/>
/// </summary>
[GenerateTypedNameReferences]
public partial class ChemMasterWindow : SS14Window
public partial class ChemMasterWindow : DefaultWindow
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
public event Action<string>? OnLabelEntered;
@@ -197,7 +197,7 @@ namespace Content.Client.Chemistry.UI
if (!state.BufferReagents.Any())
{
BufferInfo.Children.Add(new Label { Text = Loc.GetString("chem-master-window-buffer-empty-text") });
return;
}

View File

@@ -1,4 +1,4 @@
<SS14Window xmlns="https://spacestation14.io"
<DefaultWindow xmlns="https://spacestation14.io"
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
Title="{Loc 'reagent-dispenser-bound-user-interface-title'}"
SetSize="590 450"
@@ -46,4 +46,4 @@
</BoxContainer>
</PanelContainer>
</BoxContainer>
</SS14Window>
</DefaultWindow>

View File

@@ -20,7 +20,7 @@ namespace Content.Client.Chemistry.UI
/// Client-side UI used to control a <see cref="SharedReagentDispenserComponent"/>
/// </summary>
[GenerateTypedNameReferences]
public partial class ReagentDispenserWindow : SS14Window
public partial class ReagentDispenserWindow : DefaultWindow
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

View File

@@ -1,4 +1,4 @@
<SS14Window xmlns="https://spacestation14.io"
<DefaultWindow xmlns="https://spacestation14.io"
Title="{Loc 'ui-transfer-amount-title'}"
Resizable="False">
@@ -8,4 +8,4 @@
</BoxContainer>
<Button Name="ApplyButton" Access="Public" Text="{Loc 'ui-transfer-amount-apply'}"/>
</BoxContainer>
</SS14Window>
</DefaultWindow>

View File

@@ -6,7 +6,7 @@ using Robust.Client.UserInterface.XAML;
namespace Content.Client.Chemistry.UI
{
[GenerateTypedNameReferences]
public partial class TransferAmountWindow : SS14Window
public partial class TransferAmountWindow : DefaultWindow
{
public TransferAmountWindow()
{