Files
Terminal.Gui/Terminal.Gui/Drawing/ThicknessEventArgs.cs
Tig 8c59e8255f Partially Fixes #2483 - Removes old Border and leverages LineCanvas for Frames, etc... (#2527)
* POC

* View.DrawFrame now uses LineCanvas

* Fixes #2531. Toplevel should redraw only if it's needed.

* Fix toplevel when mdi is enabled preventing clear the screen twice.

* Massive LineCanvis updates

* Fixes #2534. Bounds isn't updating when the Frame is changed.

* Almost everything works!

* Had to disable a few tests but all unit test now pass again

* Deleted ConsoleDriver.DrawWindowFrame; hacked ProgressBar

* Deleted ConsoleDriver.DrawWindowTitle; moved to Frame.DrawTitle

* Renames BorderFrame to Border

* Removed old commented code

* Tweaked scenario

* Added auto convert \r\n to Enviornment.NewLine in TestHelpers.AssertEqual

* Fix merge errors.

* Fix AssertEqual newlines to platform-specific.

* Refactored frames drawing; view adds to its lineview, superview renders them

* New titlebar style based on Border.Top size; fixed bugs

* wzard bug

---------

Co-authored-by: BDisp <bd.bdisp@gmail.com>
2023-04-13 15:35:01 -06:00

28 lines
601 B
C#

using System;
#nullable enable
namespace Terminal.Gui {
/// <summary>
/// Event arguments for the <see cref="Thickness"/> events.
/// </summary>
public class ThicknessEventArgs : EventArgs {
/// <summary>
/// Initializes a new instance of <see cref="ThicknessEventArgs"/>
/// </summary>
public ThicknessEventArgs ()
{
}
/// <summary>
/// The new Thickness.
/// </summary>
public Thickness Thickness { get; set; } = Thickness.Empty;
/// <summary>
/// The previous Thickness.
/// </summary>
public Thickness PreviousThickness { get; set; } = Thickness.Empty;
}
}