* Engine namespace changes.
* Automated remove redundant using statements.
* Simplified Graphics namespace.
* Apparently the container system stores full type names in the map file.😞 This updates those names.
* API Changes to LocalizationManager.LoadCulture.
* Update submodule to v0.3.2
24 lines
770 B
C#
24 lines
770 B
C#
using Robust.Client.ResourceManagement;
|
|
using Robust.Client.UserInterface;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Content.Client.UserInterface.Stylesheets
|
|
{
|
|
public sealed class StylesheetManager : IStylesheetManager
|
|
{
|
|
[Dependency] private readonly IUserInterfaceManager _userInterfaceManager = default!;
|
|
[Dependency] private readonly IResourceCache _resourceCache = default!;
|
|
|
|
public Stylesheet SheetNano { get; private set; }
|
|
public Stylesheet SheetSpace { get; private set; }
|
|
|
|
public void Initialize()
|
|
{
|
|
SheetNano = new StyleNano(_resourceCache).Stylesheet;
|
|
SheetSpace = new StyleSpace(_resourceCache).Stylesheet;
|
|
|
|
_userInterfaceManager.Stylesheet = SheetNano;
|
|
}
|
|
}
|
|
}
|