Refactor UI system. (#843)

* Refactor UI system.

Deferred updating is used for styling & layout. This fixes the awful time complexity of containers.
Removed SetDefaults and Initialize. They were a bad idea alright.

* Fix build on .NET Framework.
This commit is contained in:
Pieter-Jan Briers
2019-08-14 22:03:51 +02:00
committed by GitHub
parent cdac0d5757
commit cb5f2ffae1
57 changed files with 1256 additions and 1515 deletions

View File

@@ -427,7 +427,7 @@ namespace Robust.Client.Console.Commands
public bool Execute(IDebugConsole console, params string[] args)
{
var window = new SS14Window("UITest");
var window = new SS14Window();
var tabContainer = new TabContainer();
window.Contents.AddChild(tabContainer);
var scroll = new ScrollContainer();