Rebased onto v2_2491-Overlapped

This commit is contained in:
Tig
2024-09-24 09:50:52 -06:00
104 changed files with 3808 additions and 2129 deletions

View File

@@ -138,6 +138,8 @@ public class MessageBoxTests
int iterations = -1;
((FakeDriver)Application.Driver!).SetBufferSize (15, 15); // 15 x 15 gives us enough room for a button with one char (9x1)
Dialog.DefaultShadow = ShadowStyle.None;
Button.DefaultShadow = ShadowStyle.None;
Rectangle mbFrame = Rectangle.Empty;
@@ -177,6 +179,8 @@ public class MessageBoxTests
// Override CM
MessageBox.DefaultButtonAlignment = Alignment.End;
MessageBox.DefaultBorderStyle = LineStyle.Double;
Dialog.DefaultShadow = ShadowStyle.None;
Button.DefaultShadow = ShadowStyle.None;
Application.Iteration += (s, a) =>
{
@@ -229,6 +233,7 @@ public class MessageBoxTests
};
Application.Run (top);
top.Dispose ();
}
[Fact]
@@ -246,6 +251,8 @@ public class MessageBoxTests
// Override CM
MessageBox.DefaultButtonAlignment = Alignment.End;
MessageBox.DefaultBorderStyle = LineStyle.Double;
Dialog.DefaultShadow = ShadowStyle.None;
Button.DefaultShadow = ShadowStyle.None;
Application.Iteration += (s, a) =>
{
@@ -426,6 +433,8 @@ public class MessageBoxTests
// Override CM
MessageBox.DefaultButtonAlignment = Alignment.End;
MessageBox.DefaultBorderStyle = LineStyle.Double;
Dialog.DefaultShadow = ShadowStyle.None;
Button.DefaultShadow = ShadowStyle.None;
Application.Iteration += (s, a) =>
{
@@ -473,7 +482,7 @@ public class MessageBoxTests
var top = new Toplevel ();
top.BorderStyle = LineStyle.Single;
Application.Run (top);
top.Dispose ();
}
}