19 lines
451 B
C#
19 lines
451 B
C#
using System.ComponentModel;
|
|
using System.Numerics;
|
|
|
|
namespace Dashboard.Layout
|
|
{
|
|
public interface ILayoutItem : INotifyPropertyChanged
|
|
{
|
|
public LayoutInfo Layout { get; }
|
|
|
|
public Vector2 CalculateIntrinsicSize();
|
|
public Vector2 CalculateSize(Vector2 limits);
|
|
}
|
|
|
|
public interface ILayoutContainer : ILayoutItem, IEnumerable<ILayoutItem>
|
|
{
|
|
public ContainerLayoutInfo ContainerLayout { get; }
|
|
}
|
|
}
|