ViewDiagnosticFlags.cs 1.1 KB

123456789101112131415161718192021222324252627282930
  1. namespace Terminal.Gui.ViewBase;
  2. /// <summary>Enables diagnostic functions for <see cref="View"/>.</summary>
  3. [Flags]
  4. public enum ViewDiagnosticFlags : uint
  5. {
  6. /// <summary>All diagnostics off</summary>
  7. Off = 0b_0000_0000,
  8. /// <summary>
  9. /// When enabled, <see cref="Adornment"/> will draw a ruler in the Thickness. See <see cref="Adornment.Diagnostics"/>.
  10. /// </summary>
  11. Ruler = 0b_0000_0001,
  12. /// <summary>
  13. /// When enabled, <see cref="Adornment"/> will draw the first letter of the Adornment name ('M', 'B', or 'P')
  14. /// in the Thickness. See <see cref="Adornment.Diagnostics"/>.
  15. /// </summary>
  16. Thickness = 0b_0000_0010,
  17. ///// <summary>
  18. ///// When enabled the View's colors will be darker when the mouse is hovering over the View (See <see cref="View.MouseEnter"/> and <see cref="View.MouseLeave"/>.
  19. ///// </summary>
  20. //Hover = 0b_0000_00100,
  21. /// <summary>
  22. /// 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.
  23. /// </summary>
  24. DrawIndicator = 0b_0000_01000,
  25. }