Skip to main content

FlixelLwjgl3MouseIconManager

View source

class

org.flixelgdx.backend.lwjgl3.input.FlixelLwjgl3MouseIconManager

public final class FlixelLwjgl3MouseIconManager implements FlixelMouseIconManager

LWJGL3 mapping for FlixelMouseIconManager using libGDX system cursors.

GLFW has no universal standard cursor for busy, grab, or dragging hands, and libGDX does not expose a wait shape. Those presets resolve to SystemCursor.Arrow here without printing noise.

Several Linux desktops (often under X11) ship cursor themes without diagonal resize or not-allowed glyphs, so GLFW can only report GLFW.GLFW_CURSOR_UNAVAILABLE. Those presets downgrade to Arrow on Linux while the console stays filtered. Prefer an HTML/CSS based Flixel backend when you rely on richer browser-native cursor presets.

Constructors

FlixelLwjgl3MouseIconManager()

public FlixelLwjgl3MouseIconManager()

Methods

setCursor(FlixelMouseCursor)

public void setCursor(FlixelMouseCursor cursor)

resetCursor()

public void resetCursor()

getCursor()

public FlixelMouseCursor getCursor()

supportsCursors()

public boolean supportsCursors()