|
@@ -1,8 +1,8 @@
|
|
#nullable enable
|
|
#nullable enable
|
|
-using System.Diagnostics;
|
|
|
|
-
|
|
|
|
namespace Terminal.Gui;
|
|
namespace Terminal.Gui;
|
|
|
|
|
|
|
|
+using System.Numerics;
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// <para>
|
|
/// <para>
|
|
/// A Dim object describes the dimensions of a <see cref="View"/>. Dim is the type of the
|
|
/// A Dim object describes the dimensions of a <see cref="View"/>. Dim is the type of the
|
|
@@ -78,7 +78,7 @@ namespace Terminal.Gui;
|
|
/// </para>
|
|
/// </para>
|
|
/// <para></para>
|
|
/// <para></para>
|
|
/// </remarks>
|
|
/// </remarks>
|
|
-public abstract record Dim
|
|
|
|
|
|
+public abstract record Dim : IEqualityOperators<Dim, Dim, bool>
|
|
{
|
|
{
|
|
#region static Dim creation methods
|
|
#region static Dim creation methods
|
|
|
|
|