mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Formatting.
This commit is contained in:
+7
-9
@@ -469,12 +469,12 @@ extern "C" {
|
|||||||
* Typedefs
|
* Typedefs
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/* Monitor handle type */
|
|
||||||
typedef void* GLFWmonitor;
|
|
||||||
|
|
||||||
/* OpenGL function pointer type */
|
/* OpenGL function pointer type */
|
||||||
typedef void (*GLFWglproc)(void);
|
typedef void (*GLFWglproc)(void);
|
||||||
|
|
||||||
|
/* Monitor handle type */
|
||||||
|
typedef void* GLFWmonitor;
|
||||||
|
|
||||||
/* Window handle type */
|
/* Window handle type */
|
||||||
typedef void* GLFWwindow;
|
typedef void* GLFWwindow;
|
||||||
|
|
||||||
@@ -527,14 +527,12 @@ GLFWAPI int glfwGetError(void);
|
|||||||
GLFWAPI const char* glfwErrorString(int error);
|
GLFWAPI const char* glfwErrorString(int error);
|
||||||
GLFWAPI void glfwSetErrorCallback(GLFWerrorfun cbfun);
|
GLFWAPI void glfwSetErrorCallback(GLFWerrorfun cbfun);
|
||||||
|
|
||||||
/* Monitor callback registration */
|
/* Monitor functions */
|
||||||
GLFWAPI void glfwSetMonitorCallback(GLFWmonitorfun cbfun);
|
GLFWAPI int glfwGetMonitorParam(GLFWmonitor monitor, int param);
|
||||||
|
GLFWAPI const char* glfwGetMonitorString(GLFWmonitor monitor, int param);
|
||||||
/* Monitor attributes */
|
|
||||||
GLFWAPI void glfwSetMonitorUserPointer(GLFWmonitor monitor, void* pointer);
|
GLFWAPI void glfwSetMonitorUserPointer(GLFWmonitor monitor, void* pointer);
|
||||||
GLFWAPI void* glfwGetMonitorUserPointer(GLFWmonitor monitor);
|
GLFWAPI void* glfwGetMonitorUserPointer(GLFWmonitor monitor);
|
||||||
GLFWAPI int glfwGetMonitorParam(GLFWmonitor monitor, int param);
|
GLFWAPI void glfwSetMonitorCallback(GLFWmonitorfun cbfun);
|
||||||
GLFWAPI const char* glfwGetMonitorString(GLFWmonitor monitor, int param);
|
|
||||||
|
|
||||||
/* Monitor discovery */
|
/* Monitor discovery */
|
||||||
GLFWAPI GLFWmonitor glfwGetNextMonitor(GLFWmonitor iterator);
|
GLFWAPI GLFWmonitor glfwGetNextMonitor(GLFWmonitor iterator);
|
||||||
|
|||||||
Reference in New Issue
Block a user