-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoardLayout.cs
36 lines (31 loc) · 1.02 KB
/
BoardLayout.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using Terminal.Gui;
namespace TGuiFrames
{
public interface IBoardLayout
{
Pos X { get; }
Pos Y { get; }
Dim Height { get; init; }
Dim Width { get; init; }
void Deconstruct(out Pos X, out Pos Y, out Dim Height, out Dim Width);
bool Equals(object? obj);
bool Equals(Narrow? other);
int GetHashCode();
string ToString();
}
public class Narrow : IBoardLayout
{
public Pos X => Pos.Percent(50);
public Pos Y => Pos.Percent(50);
public Dim Height { get => throw new NotImplementedException(); init => throw new NotImplementedException(); }
public Dim Width { get => throw new NotImplementedException(); init => throw new NotImplementedException(); }
public void Deconstruct(out Pos X, out Pos Y, out Dim Height, out Dim Width)
{
throw new NotImplementedException();
}
public bool Equals(Narrow? other)
{
throw new NotImplementedException();
}
}
}