FlixelMouseCursor
View sourceenum
org.flixelgdx.input.mouse.FlixelMouseCursor
Portable native cursor presets for FlixelMouseIconManager.
Backends map these to OS or browser cursors where available. When a preset has no exact match, each backend chooses the closest alternative and documents limits in its own Javadoc.
Plain HTML/CSS builds can expose richer cursor sets through standard CSS keywords, while GLFW on some Linux desktops may fall back to the arrow for waits, grabs, diagonal resizes, or blocked icons when the host cursor theme omits matching glyphs.
Fields
ARROW
Default arrow pointer.
IBEAM
Text caret, suitable for editable text.
WAIT
Busy or loading indicator. LWJGL3 maps this to FlixelMouseCursor.ARROW. TeaVM/CSS uses native wait.
CROSSHAIR
Simple crosshair.
HAND
Hand, often used for links or buttons.
GRAB
Open hand suggesting draggable content.
GRABBING
Closed hand while dragging (grabbing).
See Also: .GRAB
HORIZONTAL_RESIZE
Horizontal resize.
VERTICAL_RESIZE
Vertical resize.
NORTH_WEST_SOUTH_EAST_RESIZE
Diagonal resize (north-west to south-east). LWJGL3 may use FlixelMouseCursor.ARROW on some Linux desktops.
NORTH_EAST_SOUTH_WEST_RESIZE
Diagonal resize (north-east to south-west). LWJGL3 may use FlixelMouseCursor.ARROW on some Linux desktops.
ALL_RESIZE
Move or resize in all directions.
NOT_ALLOWED
Not allowed or unavailable. LWJGL3 may use FlixelMouseCursor.ARROW on some Linux desktops.
NONE
Invisible cursor. Use FlixelMouseIconManager.resetCursor() to restore the default instead of selecting this when possible.