Files
RobustToolbox/Robust.Client/Graphics/Drawing/StyleBoxFlat.cs
T

26 lines
528 B
C#

using Robust.Shared.Maths;
namespace Robust.Client.Graphics.Drawing
{
public class StyleBoxFlat : StyleBox
{
public Color BackgroundColor { get; set; }
protected override void DoDraw(DrawingHandleScreen handle, UIBox2 box)
{
handle.DrawRect(box, BackgroundColor);
}
public StyleBoxFlat()
{
}
public StyleBoxFlat(StyleBoxFlat other)
: base(other)
{
BackgroundColor = other.BackgroundColor;
}
}
}