Added clipboard stubs.

This commit is contained in:
Ralph Eastwood
2011-09-21 10:09:47 +01:00
parent 554bf5d321
commit 31c91545be
7 changed files with 255 additions and 4 deletions

View File

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