Apply spotless

This commit is contained in:
Raven Szewczyk committed 2023-01-08 17:51:39 +00:00
1 parent e1e53019e3
commit 5ce9be4671
110 files changed
+15083 -15318

No files matched your search

@@ -37,98 +37,98 @@ package org.lwjglx.opengl;
* for each supported platform.
* @author elias_naur
*/
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import org.lwjglx.LWJGLException;
public interface InputImplementation {
/*
* Mouse methods
*/
/** Query of wheel support */
boolean hasWheel();
/*
* Mouse methods
*/
/** Query of wheel support */
boolean hasWheel();
/** Query of button count */
int getButtonCount();
/** Query of button count */
int getButtonCount();
/**
* Method to create the mouse.
*/
void createMouse() throws LWJGLException;
/**
* Method to create the mouse.
*/
void createMouse() throws LWJGLException;
/**
* Method the destroy the mouse
*/
void destroyMouse();
/**
* Method the destroy the mouse
*/
void destroyMouse();
/**
* Method to poll the mouse
*/
void pollMouse(IntBuffer coord_buffer, ByteBuffer buttons);
/**
* Method to poll the mouse
*/
void pollMouse(IntBuffer coord_buffer, ByteBuffer buttons);
/**
* Method to read the keyboard buffer
*/
void readMouse(ByteBuffer buffer);
/**
* Method to read the keyboard buffer
*/
void readMouse(ByteBuffer buffer);
void grabMouse(boolean grab);
void grabMouse(boolean grab);
/**
* Function to determine native cursor support
*/
int getNativeCursorCapabilities();
/**
* Function to determine native cursor support
*/
int getNativeCursorCapabilities();
/** Method to set the native cursor position */
void setCursorPosition(int x, int y);
/** Method to set the native cursor */
void setNativeCursor(Object handle) throws LWJGLException;
/** Method to set the native cursor position */
void setCursorPosition(int x, int y);
/** Method returning the minimum cursor size */
int getMinCursorSize();
/** Method to set the native cursor */
void setNativeCursor(Object handle) throws LWJGLException;
/** Method returning the maximum cursor size */
int getMaxCursorSize();
/** Method returning the minimum cursor size */
int getMinCursorSize();
/*
* Keyboard methods
*/
/** Method returning the maximum cursor size */
int getMaxCursorSize();
/**
* Method to create the keyboard
*/
void createKeyboard() throws LWJGLException;
/*
* Keyboard methods
*/
/**
* Method to destroy the keyboard
*/
void destroyKeyboard();
/**
* Method to create the keyboard
*/
void createKeyboard() throws LWJGLException;
/**
* Method to poll the keyboard.
*
* @param keyDownBuffer the address of a 256-byte buffer to place
* key states in.
*/
void pollKeyboard(ByteBuffer keyDownBuffer);
/**
* Method to destroy the keyboard
*/
void destroyKeyboard();
/**
* Method to read the keyboard buffer
*/
void readKeyboard(ByteBuffer buffer);
/**
* Method to poll the keyboard.
*
* @param keyDownBuffer the address of a 256-byte buffer to place
* key states in.
*/
void pollKeyboard(ByteBuffer keyDownBuffer);
// int isStateKeySet(int key);
/**
* Method to read the keyboard buffer
*/
void readKeyboard(ByteBuffer buffer);
/** Native cursor handles */
Object createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays) throws LWJGLException;
// int isStateKeySet(int key);
void destroyCursor(Object cursor_handle);
/** Native cursor handles */
Object createCursor(
int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays)
throws LWJGLException;
int getWidth();
void destroyCursor(Object cursor_handle);
int getHeight();
int getWidth();
boolean isInsideWindow();
int getHeight();
boolean isInsideWindow();
}