Moved Mouse.getNativeCursorCaps() to Cursor.getCapabilities()

Renamed Pbuffer.getPbufferCaps() to Pbuffer.getCapabilities()
This commit is contained in:
Elias Naur 2005-01-18 12:34:36 +00:00
parent 9d770148ca
commit fbcd19698b
16 changed files with 138 additions and 138 deletions

View file

@ -44,6 +44,7 @@ import java.nio.IntBuffer;
import org.lwjgl.BufferUtils;
import org.lwjgl.LWJGLException;
import org.lwjgl.input.Cursor;
final class Win32Display implements DisplayImplementation {
private static final int CURSOR_HANDLE_SIZE = 8;
@ -81,7 +82,10 @@ final class Win32Display implements DisplayImplementation {
public native void enableMouseBuffer() throws LWJGLException;
public native int readMouse(IntBuffer buffer, int buffer_position);
public native void grabMouse(boolean grab);
public native int getNativeCursorCaps();
public int getNativeCursorCapabilities() {
return Cursor.CURSOR_ONE_BIT_TRANSPARENCY;
}
public native void setNativeCursor(Object handle) throws LWJGLException;
public native int getMinCursorSize();
public native int getMaxCursorSize();
@ -104,7 +108,7 @@ final class Win32Display implements DisplayImplementation {
}
public native void destroyCursor(Object cursorHandle);
public native int getPbufferCaps();
public native int getPbufferCapabilities();
public native boolean isBufferLost(ByteBuffer handle);
public native void makePbufferCurrent(ByteBuffer handle) throws LWJGLException;