Files
RobustToolbox/Robust.Client/Graphics/Drawing/StyleBoxFlat.cs
T
AcruidandGitHub 2183cd7ca1 Massive Namespace Cleanup (#1544)
* Removed the Interfaces folder.
* All objects inside the GameObjects subfolders are now in the GameObjects namespace.
* Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces.
* Simplified Robust.client.Graphics namespace.
* Automated remove redundant using statements.
2021-02-10 23:27:19 -08:00

26 lines
520 B
C#

using Robust.Shared.Maths;
namespace Robust.Client.Graphics
{
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;
}
}
}