From e0ce92019180974afe739118cc77f7c4ce7af94e Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 29 Aug 2012 20:39:05 +0200 Subject: [PATCH] Formatting. --- include/GL/glfw3.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h index 712987af..5c70af2e 100644 --- a/include/GL/glfw3.h +++ b/include/GL/glfw3.h @@ -469,12 +469,12 @@ extern "C" { * Typedefs *************************************************************************/ -/* Monitor handle type */ -typedef void* GLFWmonitor; - /* OpenGL function pointer type */ typedef void (*GLFWglproc)(void); +/* Monitor handle type */ +typedef void* GLFWmonitor; + /* Window handle type */ typedef void* GLFWwindow; @@ -527,14 +527,12 @@ GLFWAPI int glfwGetError(void); GLFWAPI const char* glfwErrorString(int error); GLFWAPI void glfwSetErrorCallback(GLFWerrorfun cbfun); -/* Monitor callback registration */ -GLFWAPI void glfwSetMonitorCallback(GLFWmonitorfun cbfun); - -/* Monitor attributes */ +/* Monitor functions */ +GLFWAPI int glfwGetMonitorParam(GLFWmonitor monitor, int param); +GLFWAPI const char* glfwGetMonitorString(GLFWmonitor monitor, int param); GLFWAPI void glfwSetMonitorUserPointer(GLFWmonitor monitor, void* pointer); GLFWAPI void* glfwGetMonitorUserPointer(GLFWmonitor monitor); -GLFWAPI int glfwGetMonitorParam(GLFWmonitor monitor, int param); -GLFWAPI const char* glfwGetMonitorString(GLFWmonitor monitor, int param); +GLFWAPI void glfwSetMonitorCallback(GLFWmonitorfun cbfun); /* Monitor discovery */ GLFWAPI GLFWmonitor glfwGetNextMonitor(GLFWmonitor iterator);