MouseCursorFlags.go 1019 B

12345678910111213141516171819202122232425
  1. package imgui
  2. // Enumeration for MouseCursor()
  3. // User code may request binding to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here
  4. const (
  5. // MouseCursorNone no mouse cursor
  6. MouseCursorNone = -1
  7. // MouseCursorArrow standard arrow mouse cursor
  8. MouseCursorArrow = 0
  9. // MouseCursorTextInput when hovering over InputText, etc.
  10. MouseCursorTextInput = 1
  11. // MouseCursorResizeAll (Unused by imgui functions)
  12. MouseCursorResizeAll = 2
  13. // MouseCursorResizeNS when hovering over an horizontal border
  14. MouseCursorResizeNS = 3
  15. // MouseCursorResizeEW when hovering over a vertical border or a column
  16. MouseCursorResizeEW = 4
  17. // MouseCursorResizeNESW when hovering over the bottom-left corner of a window
  18. MouseCursorResizeNESW = 5
  19. // MouseCursorResizeNWSE when hovering over the bottom-right corner of a window
  20. MouseCursorResizeNWSE = 6
  21. // MouseCursorHand (Unused by imgui functions. Use for e.g. hyperlinks)
  22. MouseCursorHand = 7
  23. MouseCursorCount = 8
  24. )