* -Show tooltip on hover -Show notify on click * -Status Effects now get removed instead of going invisible -Removed empty textures for that * Revert break in HungerComponent
24 lines
717 B
C#
24 lines
717 B
C#
using Robust.Client.UserInterface;
|
|
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
|
|
{
|
|
public VBoxContainer VBox { get; }
|
|
|
|
public StatusEffectsUI()
|
|
{
|
|
VBox = new VBoxContainer();
|
|
AddChild(VBox);
|
|
|
|
LayoutContainer.SetGrowHorizontal(this, LayoutContainer.GrowDirection.Begin);
|
|
LayoutContainer.SetAnchorAndMarginPreset(this, LayoutContainer.LayoutPreset.TopRight, margin: 10);
|
|
LayoutContainer.SetMarginTop(this, 250);
|
|
}
|
|
}
|
|
}
|