2019-07-08 21:11:42 +02:00
|
|
|
using Content.Client.Utility;
|
|
|
|
|
using Robust.Client.Graphics;
|
|
|
|
|
using Robust.Client.Interfaces.ResourceManagement;
|
|
|
|
|
using Robust.Client.UserInterface;
|
|
|
|
|
using Robust.Client.UserInterface.Controls;
|
|
|
|
|
using Robust.Shared.IoC;
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.UserInterface
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The status effects display on the right side of the screen.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed class StatusEffectsUI : Control
|
|
|
|
|
{
|
2019-10-31 02:37:22 +11:00
|
|
|
public VBoxContainer VBox => _vBox;
|
2019-07-08 21:11:42 +02:00
|
|
|
private readonly VBoxContainer _vBox;
|
|
|
|
|
|
|
|
|
|
public StatusEffectsUI()
|
|
|
|
|
{
|
|
|
|
|
_vBox = new VBoxContainer {GrowHorizontal = GrowDirection.Begin};
|
|
|
|
|
AddChild(_vBox);
|
|
|
|
|
SetAnchorAndMarginPreset(LayoutPreset.TopRight);
|
2019-07-19 01:23:16 +02:00
|
|
|
MarginTop = 250;
|
2019-07-12 19:29:53 +02:00
|
|
|
MarginRight = 10;
|
2019-07-08 21:11:42 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|