APIdia Launch Partner
Top Fields Constructors Methods
com.badlogic.gdx.backends.lwjgl3

public Class Lwjgl3Cursor

extends Object
implements Cursor
Class Inheritance
All Implemented Interfaces
com.badlogic.gdx.graphics.Cursor, com.badlogic.gdx.utils.Disposable
Imports
java.util.HashMap, .Map, org.lwjgl.glfw.GLFW, .GLFWImage, com.badlogic.gdx.graphics.Cursor, .Pixmap, .Pixmap.Blending, com.badlogic.gdx.utils.Array, .GdxRuntimeException

Field Summary

Modifier and TypeField and Description
pack-priv static final Array<Lwjgl3Cursor>
pack-priv final long
pack-priv GLFWImage
private static int
pack-priv Pixmap
pack-priv static final Map<Cursor.SystemCursor, Long>
pack-priv final Lwjgl3Window

Constructor Summary

AccessConstructor and Description
pack-priv
Lwjgl3Cursor(Lwjgl3Window window, Pixmap pixmap, int xHotspot, int yHotspot)

Method Summary

Modifier and TypeMethod and Description
public void
dispose()

Implements com.badlogic.gdx.utils.Disposable.dispose.

Releases all resources of this object.

pack-priv static void
pack-priv static void
pack-priv static void
setSystemCursor(long windowHandle, Cursor.SystemCursor systemCursor)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cursorsback to summary
pack-priv static final Array<Lwjgl3Cursor> cursors
glfwCursorback to summary
pack-priv final long glfwCursor
glfwImageback to summary
pack-priv GLFWImage glfwImage
inputModeBeforeNoneCursorback to summary
private static int inputModeBeforeNoneCursor
pixmapCopyback to summary
pack-priv Pixmap pixmapCopy
systemCursorsback to summary
pack-priv static final Map<Cursor.SystemCursor, Long> systemCursors
windowback to summary
pack-priv final Lwjgl3Window window

Constructor Detail

Lwjgl3Cursorback to summary
pack-priv Lwjgl3Cursor(Lwjgl3Window window, Pixmap pixmap, int xHotspot, int yHotspot)

Method Detail

disposeback to summary
public void dispose()

Implements com.badlogic.gdx.utils.Disposable.dispose.

Doc from com.badlogic.gdx.utils.Disposable.dispose.

Releases all resources of this object.

Annotations
@Override
disposeback to summary
pack-priv static void dispose(Lwjgl3Window window)
disposeSystemCursorsback to summary
pack-priv static void disposeSystemCursors()
setSystemCursorback to summary
pack-priv static void setSystemCursor(long windowHandle, Cursor.SystemCursor systemCursor)