Editor/Pillar/ArchPillarForms.cs
namespace Sunless.Architecture;
public sealed class ArchPillarForms : IArchPillarForms {
public void Kinds( ToolSidebarWidget panel, IReadOnlyList<ArchPillarType> offered, string chosen, Action<ArchPillarType> adopt ) {
ArchPillarUi.Kinds( panel, offered, chosen, adopt );
}
public void Build( ToolSidebarWidget panel, ArchPillarPart pillar, ArchPillarType type, Action refresh, Action changed ) {
ArchPillarUi.Build( panel, pillar, type, refresh, changed );
}
public void Sizes( ToolSidebarWidget panel, ArchPillarPart pillar, ArchPillarType type, Action refresh, Action changed ) {
ArchPillarUi.Sizes( panel, pillar, type, refresh, changed );
}
public ArchPillarPart Retype( ArchTool tool, ArchPillarPart pillar, ArchPillarType type ) {
return ArchPillarUi.Retype( tool, pillar, type );
}
}