Files
RobustToolbox/Robust.Client/UserInterface/DevWindow/ProfAltBackground.cs
T
2022-05-14 15:08:46 +10:00

16 lines
381 B
C#

using Robust.Client.Graphics;
using Robust.Shared.Maths;
namespace Robust.Client.UserInterface;
internal sealed class ProfAltBackground : Control
{
public bool IsAltBackground { get; set; }
protected internal override void Draw(DrawingHandleScreen handle)
{
if (IsAltBackground)
handle.DrawRect(PixelSizeBox, new Color(0, 0, 0, 128));
}
}