2020-02-20 01:21:23 -08:00
|
|
|
|
using Robust.Client.UserInterface;
|
2019-07-08 21:11:42 +02:00
|
|
|
|
using Robust.Client.UserInterface.Controls;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.UserInterface
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The status effects display on the right side of the screen.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public sealed class StatusEffectsUI : Control
|
|
|
|
|
|
{
|
2020-08-29 13:33:38 +02:00
|
|
|
|
public VBoxContainer VBox { get; }
|
2019-07-08 21:11:42 +02:00
|
|
|
|
|
|
|
|
|
|
public StatusEffectsUI()
|
|
|
|
|
|
{
|
2020-08-29 13:33:38 +02:00
|
|
|
|
VBox = new VBoxContainer();
|
|
|
|
|
|
AddChild(VBox);
|
2019-12-05 16:00:03 +01:00
|
|
|
|
|
|
|
|
|
|
LayoutContainer.SetGrowHorizontal(this, LayoutContainer.GrowDirection.Begin);
|
|
|
|
|
|
LayoutContainer.SetAnchorAndMarginPreset(this, LayoutContainer.LayoutPreset.TopRight, margin: 10);
|
|
|
|
|
|
LayoutContainer.SetMarginTop(this, 250);
|
2019-07-08 21:11:42 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|