HighlightStyle.cs 594 B

123456789101112131415161718192021222324252627282930
  1. namespace Terminal.Gui;
  2. /// <summary>
  3. /// Describes the highlight style of a view.
  4. /// </summary>
  5. [Flags]
  6. public enum HighlightStyle
  7. {
  8. /// <summary>
  9. /// No highlight.
  10. /// </summary>
  11. None = 0,
  12. #if HOVER
  13. /// <summary>
  14. /// The mouse is hovering over the view.
  15. /// </summary>
  16. Hover = 1,
  17. #endif
  18. /// <summary>
  19. /// The mouse is pressed within the <see cref="View.Viewport"/>.
  20. /// </summary>
  21. Pressed = 2,
  22. /// <summary>
  23. /// The mouse is pressed but moved outside the <see cref="View.Viewport"/>.
  24. /// </summary>
  25. PressedOutside = 4
  26. }