mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-13 04:11:13 +03:00
19 lines
614 B
C#
19 lines
614 B
C#
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
|
|
namespace Content.Client.UserInterface.Systems.Inventory.Widgets;
|
|
|
|
[GenerateTypedNameReferences]
|
|
public sealed partial class InventoryGui : UIWidget
|
|
{
|
|
public InventoryGui()
|
|
{
|
|
RobustXamlLoader.Load(this);
|
|
|
|
var inventoryUIController = UserInterfaceManager.GetUIController<InventoryUIController>();
|
|
inventoryUIController.RegisterInventoryBarContainer(InventoryHotbar);
|
|
|
|
LayoutContainer.SetGrowVertical(this, LayoutContainer.GrowDirection.Begin);
|
|
}
|
|
}
|