mirror of
https://github.com/glfw/glfw.git
synced 2026-08-28 14:35:53 +02:00
Added clipboard stubs.
This commit is contained in:
@@ -469,6 +469,10 @@ extern "C" {
|
||||
/* Gamma ramps */
|
||||
#define GLFW_GAMMA_RAMP_SIZE 256
|
||||
|
||||
/* Clipboard formats */
|
||||
#define GLFW_CLIPBOARD_FORMAT_NONE 0
|
||||
#define GLFW_CLIPBOARD_FORMAT_STRING 1
|
||||
|
||||
/*************************************************************************
|
||||
* Typedefs
|
||||
*************************************************************************/
|
||||
@@ -591,6 +595,10 @@ GLFWAPI int glfwGetJoystickParam(int joy, int param);
|
||||
GLFWAPI int glfwGetJoystickPos(int joy, float* pos, int numaxes);
|
||||
GLFWAPI int glfwGetJoystickButtons(int joy, unsigned char* buttons, int numbuttons);
|
||||
|
||||
/* Clipboard */
|
||||
GLFWAPI void glfwSetClipboardData(void *data, size_t size, int format);
|
||||
GLFWAPI size_t glfwGetClipboardData(void *data, size_t size, int format);
|
||||
|
||||
/* Time */
|
||||
GLFWAPI double glfwGetTime(void);
|
||||
GLFWAPI void glfwSetTime(double time);
|
||||
|
||||
Reference in New Issue
Block a user