More minor UI refactor stuff (#11287)
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using Content.Client.Stylesheets;
|
||||
using Content.Shared.Input;
|
||||
using Robust.Client.AutoGenerated;
|
||||
@@ -11,13 +8,9 @@ using Robust.Client.UserInterface.XAML;
|
||||
using Robust.Shared;
|
||||
using Robust.Shared.Configuration;
|
||||
using Robust.Shared.Input;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Timing;
|
||||
using Robust.Shared.Utility;
|
||||
using Robust.Shared.Log;
|
||||
using static Robust.Client.UserInterface.Controls.BoxContainer;
|
||||
using Robust.Client.UserInterface.CustomControls;
|
||||
|
||||
namespace Content.Client.Options.UI.Tabs
|
||||
{
|
||||
@@ -157,25 +150,14 @@ namespace Content.Client.Options.UI.Tabs
|
||||
AddButton(ContentKeyFunctions.TakeScreenshotNoUI);
|
||||
|
||||
AddHeader("ui-options-header-hotbar");
|
||||
AddButton(ContentKeyFunctions.Hotbar1);
|
||||
AddButton(ContentKeyFunctions.Hotbar2);
|
||||
AddButton(ContentKeyFunctions.Hotbar3);
|
||||
AddButton(ContentKeyFunctions.Hotbar4);
|
||||
AddButton(ContentKeyFunctions.Hotbar5);
|
||||
AddButton(ContentKeyFunctions.Hotbar6);
|
||||
AddButton(ContentKeyFunctions.Hotbar7);
|
||||
AddButton(ContentKeyFunctions.Hotbar8);
|
||||
AddButton(ContentKeyFunctions.Hotbar9);
|
||||
AddButton(ContentKeyFunctions.Hotbar0);
|
||||
AddButton(ContentKeyFunctions.Loadout1);
|
||||
AddButton(ContentKeyFunctions.Loadout2);
|
||||
AddButton(ContentKeyFunctions.Loadout3);
|
||||
AddButton(ContentKeyFunctions.Loadout4);
|
||||
AddButton(ContentKeyFunctions.Loadout5);
|
||||
AddButton(ContentKeyFunctions.Loadout6);
|
||||
AddButton(ContentKeyFunctions.Loadout7);
|
||||
AddButton(ContentKeyFunctions.Loadout8);
|
||||
AddButton(ContentKeyFunctions.Loadout9);
|
||||
foreach (var boundKey in ContentKeyFunctions.GetHotbarBoundKeys())
|
||||
{
|
||||
AddButton(boundKey);
|
||||
}
|
||||
foreach (var boundKey in ContentKeyFunctions.GetLoadoutBoundKeys())
|
||||
{
|
||||
AddButton(boundKey);
|
||||
}
|
||||
|
||||
AddHeader("ui-options-header-shuttle");
|
||||
AddButton(ContentKeyFunctions.ShuttleStrafeUp);
|
||||
|
||||
Reference in New Issue
Block a user