mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-02 10:07:15 +02:00
- 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
19 lines
443 B
C#
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; }
|
|
}
|
|
}
|