27 lines
626 B
C#
27 lines
626 B
C#
using System.Numerics;
|
|
using Robust.Client.Graphics;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Shared.Maths;
|
|
|
|
namespace Content.Client.Administration.UI.CustomControls;
|
|
|
|
public sealed class VSeparator : PanelContainer
|
|
{
|
|
private static readonly Color SeparatorColor = Color.FromHex("#3D4059");
|
|
|
|
public VSeparator(Color color)
|
|
{
|
|
MinSize = new Vector2(2, 5);
|
|
|
|
AddChild(new PanelContainer
|
|
{
|
|
PanelOverride = new StyleBoxFlat
|
|
{
|
|
BackgroundColor = color
|
|
}
|
|
});
|
|
}
|
|
|
|
public VSeparator() : this(SeparatorColor) { }
|
|
}
|