mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 18:47:10 +02:00
* 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.
26 lines
520 B
C#
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;
|
|
}
|
|
}
|
|
}
|