Files
RobustToolbox/Robust.Client/UserInterface/UITheme.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

29 lines
956 B
C#

using Robust.Client.Graphics;
namespace Robust.Client.UserInterface
{
// DON'T USE THESE
// THEY'RE A BAD IDEA THAT NEEDS TO BE BURIED.
/// <summary>
/// Fallback theme system for GUI.
/// </summary>
public abstract class UITheme
{
public abstract Font DefaultFont { get; }
public abstract Font LabelFont { get; }
public abstract StyleBox PanelPanel { get; }
public abstract StyleBox ButtonStyle { get; }
public abstract StyleBox LineEditBox { get; }
}
public sealed class UIThemeDummy : UITheme
{
public override Font DefaultFont { get; } = new DummyFont();
public override Font LabelFont { get; } = new DummyFont();
public override StyleBox PanelPanel { get; } = new StyleBoxFlat();
public override StyleBox ButtonStyle { get; } = new StyleBoxFlat();
public override StyleBox LineEditBox { get; } = new StyleBoxFlat();
}
}