Files
RobustToolbox/Robust.Client/UserInterface/Controls/WindowRoot.cs
T
Jezithyr 26e1474179 Implemented auto UI Scaling :D
- Implemented autoUI scaling, scaling supports down to 520 by 520 pixel screens(Idk why you'd even have this)
- UI scaling can be adjusted by overriding the window root class
2022-03-12 20:31:13 -07:00

19 lines
443 B
C#

using Robust.Client.Graphics;
namespace Robust.Client.UserInterface.Controls
{
public sealed class WindowRoot : UIRoot
{
internal WindowRoot(IClydeWindow window)
{
Window = window;
}
public override bool AutoScale => true;
public override float UIScale => UIScaleSet;
internal float UIScaleSet { get; set; }
public override IClydeWindow Window { get; }
}
}