mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-02 18:17:09 +02:00
16 lines
381 B
C#
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));
|
|
}
|
|
}
|