Fixes #2486 - Removes old Border and fixes a litany of related things (#2525)

* Added View.BorderStyle and renamed BorderStyle enum to LineStyle

* Fixed a lot of things and broke everything else

* Fixed things

* Updated DialogTests

* Updates including Rect unit tests

* Fixed Dialog & MessagBox tests

* Fixed AllviewsTester bug

* Fixed AllviewsTester bug

* Removed Border class

* Renamed View privates with _

* Removed comments in MessageBox.cs
This commit is contained in:
Tig
2023-04-10 17:34:52 -06:00
committed by GitHub
parent 98aab602eb
commit a637f8a29c
78 changed files with 5222 additions and 4081 deletions

View File

@@ -772,10 +772,10 @@ namespace Terminal.Gui.ApplicationTests {
public void EnsuresTopOnFront_CanFocus_True_By_Keyboard_And_Mouse ()
{
var top = Application.Top;
var win = new Window ("win") { X = 0, Y = 0, Width = 20, Height = 10 };
var win = new Window () { Title = "win", X = 0, Y = 0, Width = 20, Height = 10 };
var tf = new TextField () { Width = 10 };
win.Add (tf);
var win2 = new Window ("win2") { X = 22, Y = 0, Width = 20, Height = 10 };
var win2 = new Window () { Title = "win2", X = 22, Y = 0, Width = 20, Height = 10 };
var tf2 = new TextField () { Width = 10 };
win2.Add (tf2);
top.Add (win, win2);
@@ -817,10 +817,10 @@ namespace Terminal.Gui.ApplicationTests {
public void EnsuresTopOnFront_CanFocus_False_By_Keyboard_And_Mouse ()
{
var top = Application.Top;
var win = new Window ("win") { X = 0, Y = 0, Width = 20, Height = 10 };
var win = new Window () { Title = "win", X = 0, Y = 0, Width = 20, Height = 10 };
var tf = new TextField () { Width = 10 };
win.Add (tf);
var win2 = new Window ("win2") { X = 22, Y = 0, Width = 20, Height = 10 };
var win2 = new Window () { Title = "win2", X = 22, Y = 0, Width = 20, Height = 10 };
var tf2 = new TextField () { Width = 10 };
win2.Add (tf2);
top.Add (win, win2);