#nullable enable
namespace Terminal.Gui;
/// Enables diagnostic functions for .
[Flags]
public enum ViewDiagnosticFlags : uint
{
/// All diagnostics off
Off = 0b_0000_0000,
///
/// When enabled, will draw a ruler in the Thickness. See .
///
Ruler = 0b_0000_0001,
///
/// When enabled, will draw the first letter of the Adornment name ('M', 'B', or 'P')
/// in the Thickness. See .
///
Thickness = 0b_0000_0010,
///
/// When enabled the View's colors will be darker when the mouse is hovering over the View (See and .
///
Hover = 0b_0000_00100,
///
/// When enabled a draw indicator will be shown; the indicator will change each time the View's Draw method is called with NeedsDraw set to true.
///
DrawIndicator = 0b_0000_01000,
}
public partial class View
{
/// Gets or sets whether diagnostic information will be drawn. This is a bit-field of .e diagnostics.
///
///
/// gets set to this property by default, enabling and .
///
///
/// is enabled for all Views independently of Adornments.
///
///
public static ViewDiagnosticFlags Diagnostics { get; set; }
}