Browse Source

Formatting.

Camilla Berglund 13 years ago
parent
commit
e0ce920191
1 changed files with 7 additions and 9 deletions
  1. 7 9
      include/GL/glfw3.h

+ 7 - 9
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);