Committed spelling fixes
This commit is contained in:
parent
b05ee916f0
commit
ba3acc79b9
|
@ -51,7 +51,7 @@ import org.lwjgl.*;
|
|||
* @version $Revision$
|
||||
*/
|
||||
public class Mouse {
|
||||
public final static int CURSOR_ONE_BIT_TRANSPARANCY = 1;
|
||||
public final static int CURSOR_ONE_BIT_TRANSPARENCY = 1;
|
||||
public final static int CURSOR_8_BIT_ALPHA = 2;
|
||||
public final static int CURSOR_ANIMATION = 4;
|
||||
|
||||
|
@ -135,7 +135,7 @@ public class Mouse {
|
|||
* @throws Exception if the cursor could not be set for any reason
|
||||
*/
|
||||
public static Cursor setNativeCursor(Cursor cursor) throws Exception {
|
||||
assert created && ((getNativeCursorCaps() | CURSOR_ONE_BIT_TRANSPARANCY) != 0);
|
||||
assert created && ((getNativeCursorCaps() | CURSOR_ONE_BIT_TRANSPARENCY) != 0);
|
||||
Cursor oldCursor = currentCursor;
|
||||
currentCursor = cursor;
|
||||
if (currentCursor != null) {
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
/* Inaccessible static: _00024assertionsDisabled */
|
||||
#undef org_lwjgl_input_Mouse_CURSOR_ONE_BIT_TRANSPARANCY
|
||||
#define org_lwjgl_input_Mouse_CURSOR_ONE_BIT_TRANSPARANCY 1L
|
||||
#undef org_lwjgl_input_Mouse_CURSOR_ONE_BIT_TRANSPARENCY
|
||||
#define org_lwjgl_input_Mouse_CURSOR_ONE_BIT_TRANSPARENCY 1L
|
||||
#undef org_lwjgl_input_Mouse_CURSOR_8_BIT_ALPHA
|
||||
#define org_lwjgl_input_Mouse_CURSOR_8_BIT_ALPHA 2L
|
||||
#undef org_lwjgl_input_Mouse_CURSOR_ANIMATION
|
||||
|
@ -22,6 +22,8 @@ extern "C" {
|
|||
/* Inaccessible static: buttonCount */
|
||||
/* Inaccessible static: hasWheel */
|
||||
/* Inaccessible static: currentCursor */
|
||||
/* Inaccessible static: buttonName */
|
||||
/* Inaccessible static: buttonMap */
|
||||
/* Inaccessible static: class_00024org_00024lwjgl_00024input_00024Mouse */
|
||||
/*
|
||||
* Class: org_lwjgl_input_Mouse
|
||||
|
|
|
@ -198,7 +198,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_input_Mouse_nGetNativeCursorCaps
|
|||
XcursorBool argb_supported = XcursorSupportsARGB(getCurrentDisplay());
|
||||
XcursorBool anim_supported = XcursorSupportsAnim(getCurrentDisplay());
|
||||
if (argb_supported)
|
||||
caps |= org_lwjgl_input_Mouse_CURSOR_8_BIT_ALPHA | org_lwjgl_input_Mouse_CURSOR_ONE_BIT_TRANSPARANCY;
|
||||
caps |= org_lwjgl_input_Mouse_CURSOR_8_BIT_ALPHA | org_lwjgl_input_Mouse_CURSOR_ONE_BIT_TRANSPARENCY;
|
||||
if (anim_supported)
|
||||
caps |= org_lwjgl_input_Mouse_CURSOR_ANIMATION;
|
||||
return caps;
|
||||
|
|
|
@ -155,7 +155,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_input_Mouse_nCreate(JNIEnv *env, jclas
|
|||
JNIEXPORT jint JNICALL Java_org_lwjgl_input_Mouse_nGetNativeCursorCaps
|
||||
(JNIEnv *env, jclass clazz)
|
||||
{
|
||||
return org_lwjgl_input_Mouse_CURSOR_ONE_BIT_TRANSPARANCY;
|
||||
return org_lwjgl_input_Mouse_CURSOR_ONE_BIT_TRANSPARENCY;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue