*** empty log message ***

This commit is contained in:
Elias Naur 2003-10-08 07:49:43 +00:00
parent 859f7bf50e
commit fc925baab4
9 changed files with 32 additions and 36 deletions

View file

@ -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);
}

View file

@ -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