mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 01:38:01 +01:00
* 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>
28 lines
601 B
C#
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;
|
|
}
|
|
} |