Cursor_Status.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. namespace OpenVIII
  3. {
  4. /// <summary>
  5. /// Flags for cursor behavior
  6. /// </summary>
  7. /// <remarks>Defaults to disabled.</remarks>
  8. [Flags]
  9. public enum Cursor_Status
  10. {
  11. /// <summary>
  12. /// Hide Cursor and disable all code that uses it.
  13. /// </summary>
  14. Disabled = 0x0,
  15. /// <summary>
  16. /// Show Cursor
  17. /// </summary>
  18. Enabled = 0x1,
  19. /// <summary>
  20. /// Triggers blinking
  21. /// </summary>
  22. Blinking = 0x2,
  23. /// <summary>
  24. /// Makes it react to left and right instead of up and down.
  25. /// </summary>
  26. Horizontal = 0x4,
  27. /// <summary>
  28. /// This is the default but if you want both directions you need to set the flag.
  29. /// </summary>
  30. Vertical = 0x8,
  31. /// <summary>
  32. /// Just draw.
  33. /// </summary>
  34. Draw = 0x10,
  35. /// <summary>
  36. /// Don't draw cursor
  37. /// </summary>
  38. Hidden = 0x20,
  39. /// <summary>
  40. /// Don't move cursor
  41. /// </summary>
  42. Static = 0x40,
  43. /// <summary>
  44. /// All targets
  45. /// </summary>
  46. All = 0x80
  47. }
  48. }