mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
*** empty log message ***
This commit is contained in:
parent
859f7bf50e
commit
fc925baab4
9 changed files with 32 additions and 36 deletions
|
|
@ -56,7 +56,7 @@ public class Cursor {
|
|||
/**
|
||||
* The native handle to the cursor
|
||||
*/
|
||||
private final int nativeHandle;
|
||||
private final long nativeHandle;
|
||||
|
||||
/**
|
||||
* Constructs a new Cursor, with the given parameters. Mouse must have been created before you can create
|
||||
|
|
@ -123,17 +123,17 @@ public class Cursor {
|
|||
/**
|
||||
* Gets the native handle associated with the cursor object.
|
||||
*/
|
||||
public int getHandle() {
|
||||
public long getHandle() {
|
||||
return nativeHandle;
|
||||
}
|
||||
|
||||
/**
|
||||
* Native method to create a native cursor
|
||||
*/
|
||||
private static native int nCreateCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, int images_offset, IntBuffer delays, int delays_offset);
|
||||
private static native long nCreateCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, int images_offset, IntBuffer delays, int delays_offset);
|
||||
|
||||
/**
|
||||
* Native method to destroy a native cursor
|
||||
*/
|
||||
private static native void nDestroyCursor(int handle);
|
||||
private static native void nDestroyCursor(long handle);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ public class Mouse {
|
|||
}
|
||||
|
||||
/** Native method to set the native cursor */
|
||||
private static native void nSetNativeCursor(int handle) throws Exception;
|
||||
private static native void nSetNativeCursor(long handle) throws Exception;
|
||||
|
||||
/**
|
||||
* Gets the minimum size of a native cursor. Can only be called if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue