mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Add history to public types
This commit is contained in:
parent
87883b592f
commit
810bab7391
@ -742,6 +742,8 @@ extern "C" {
|
|||||||
* @sa @ref context_glext
|
* @sa @ref context_glext
|
||||||
* @sa glfwGetProcAddress
|
* @sa glfwGetProcAddress
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup context
|
* @ingroup context
|
||||||
*/
|
*/
|
||||||
typedef void (*GLFWglproc)(void);
|
typedef void (*GLFWglproc)(void);
|
||||||
@ -752,6 +754,8 @@ typedef void (*GLFWglproc)(void);
|
|||||||
*
|
*
|
||||||
* @see @ref monitor_object
|
* @see @ref monitor_object
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup monitor
|
* @ingroup monitor
|
||||||
*/
|
*/
|
||||||
typedef struct GLFWmonitor GLFWmonitor;
|
typedef struct GLFWmonitor GLFWmonitor;
|
||||||
@ -762,6 +766,8 @@ typedef struct GLFWmonitor GLFWmonitor;
|
|||||||
*
|
*
|
||||||
* @see @ref window_object
|
* @see @ref window_object
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
typedef struct GLFWwindow GLFWwindow;
|
typedef struct GLFWwindow GLFWwindow;
|
||||||
@ -772,6 +778,8 @@ typedef struct GLFWwindow GLFWwindow;
|
|||||||
*
|
*
|
||||||
* @see @ref cursor_object
|
* @see @ref cursor_object
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.1.
|
||||||
|
*
|
||||||
* @ingroup cursor
|
* @ingroup cursor
|
||||||
*/
|
*/
|
||||||
typedef struct GLFWcursor GLFWcursor;
|
typedef struct GLFWcursor GLFWcursor;
|
||||||
@ -786,6 +794,8 @@ typedef struct GLFWcursor GLFWcursor;
|
|||||||
* @sa @ref error_handling
|
* @sa @ref error_handling
|
||||||
* @sa glfwSetErrorCallback
|
* @sa glfwSetErrorCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup init
|
* @ingroup init
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWerrorfun)(int,const char*);
|
typedef void (* GLFWerrorfun)(int,const char*);
|
||||||
@ -803,6 +813,8 @@ typedef void (* GLFWerrorfun)(int,const char*);
|
|||||||
* @sa @ref window_pos
|
* @sa @ref window_pos
|
||||||
* @sa glfwSetWindowPosCallback
|
* @sa glfwSetWindowPosCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int);
|
typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int);
|
||||||
@ -818,6 +830,8 @@ typedef void (* GLFWwindowposfun)(GLFWwindow*,int,int);
|
|||||||
* @sa @ref window_size
|
* @sa @ref window_size
|
||||||
* @sa glfwSetWindowSizeCallback
|
* @sa glfwSetWindowSizeCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int);
|
typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int);
|
||||||
@ -831,6 +845,8 @@ typedef void (* GLFWwindowsizefun)(GLFWwindow*,int,int);
|
|||||||
* @sa @ref window_close
|
* @sa @ref window_close
|
||||||
* @sa glfwSetWindowCloseCallback
|
* @sa glfwSetWindowCloseCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWwindowclosefun)(GLFWwindow*);
|
typedef void (* GLFWwindowclosefun)(GLFWwindow*);
|
||||||
@ -844,6 +860,8 @@ typedef void (* GLFWwindowclosefun)(GLFWwindow*);
|
|||||||
* @sa @ref window_refresh
|
* @sa @ref window_refresh
|
||||||
* @sa glfwSetWindowRefreshCallback
|
* @sa glfwSetWindowRefreshCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWwindowrefreshfun)(GLFWwindow*);
|
typedef void (* GLFWwindowrefreshfun)(GLFWwindow*);
|
||||||
@ -859,6 +877,8 @@ typedef void (* GLFWwindowrefreshfun)(GLFWwindow*);
|
|||||||
* @sa @ref window_focus
|
* @sa @ref window_focus
|
||||||
* @sa glfwSetWindowFocusCallback
|
* @sa glfwSetWindowFocusCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int);
|
typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int);
|
||||||
@ -875,6 +895,8 @@ typedef void (* GLFWwindowfocusfun)(GLFWwindow*,int);
|
|||||||
* @sa @ref window_iconify
|
* @sa @ref window_iconify
|
||||||
* @sa glfwSetWindowIconifyCallback
|
* @sa glfwSetWindowIconifyCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int);
|
typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int);
|
||||||
@ -891,6 +913,8 @@ typedef void (* GLFWwindowiconifyfun)(GLFWwindow*,int);
|
|||||||
* @sa @ref window_fbsize
|
* @sa @ref window_fbsize
|
||||||
* @sa glfwSetFramebufferSizeCallback
|
* @sa glfwSetFramebufferSizeCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup window
|
* @ingroup window
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int);
|
typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int);
|
||||||
@ -909,6 +933,8 @@ typedef void (* GLFWframebuffersizefun)(GLFWwindow*,int,int);
|
|||||||
* @sa @ref input_mouse_button
|
* @sa @ref input_mouse_button
|
||||||
* @sa glfwSetMouseButtonCallback
|
* @sa glfwSetMouseButtonCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup input
|
* @ingroup input
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int);
|
typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int);
|
||||||
@ -924,6 +950,8 @@ typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int);
|
|||||||
* @sa @ref cursor_pos
|
* @sa @ref cursor_pos
|
||||||
* @sa glfwSetCursorPosCallback
|
* @sa glfwSetCursorPosCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup input
|
* @ingroup input
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double);
|
typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double);
|
||||||
@ -939,6 +967,8 @@ typedef void (* GLFWcursorposfun)(GLFWwindow*,double,double);
|
|||||||
* @sa @ref cursor_enter
|
* @sa @ref cursor_enter
|
||||||
* @sa glfwSetCursorEnterCallback
|
* @sa glfwSetCursorEnterCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup input
|
* @ingroup input
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
|
typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
|
||||||
@ -954,6 +984,8 @@ typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
|
|||||||
* @sa @ref scrolling
|
* @sa @ref scrolling
|
||||||
* @sa glfwSetScrollCallback
|
* @sa glfwSetScrollCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup input
|
* @ingroup input
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWscrollfun)(GLFWwindow*,double,double);
|
typedef void (* GLFWscrollfun)(GLFWwindow*,double,double);
|
||||||
@ -972,6 +1004,8 @@ typedef void (* GLFWscrollfun)(GLFWwindow*,double,double);
|
|||||||
* @sa @ref input_key
|
* @sa @ref input_key
|
||||||
* @sa glfwSetKeyCallback
|
* @sa glfwSetKeyCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup input
|
* @ingroup input
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int);
|
typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int);
|
||||||
@ -986,6 +1020,8 @@ typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int);
|
|||||||
* @sa @ref input_char
|
* @sa @ref input_char
|
||||||
* @sa glfwSetCharCallback
|
* @sa glfwSetCharCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup input
|
* @ingroup input
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int);
|
typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int);
|
||||||
@ -1005,6 +1041,8 @@ typedef void (* GLFWcharfun)(GLFWwindow*,unsigned int);
|
|||||||
* @sa @ref input_char
|
* @sa @ref input_char
|
||||||
* @sa glfwSetCharModsCallback
|
* @sa glfwSetCharModsCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.1.
|
||||||
|
*
|
||||||
* @ingroup input
|
* @ingroup input
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWcharmodsfun)(GLFWwindow*,unsigned int,int);
|
typedef void (* GLFWcharmodsfun)(GLFWwindow*,unsigned int,int);
|
||||||
@ -1020,6 +1058,8 @@ typedef void (* GLFWcharmodsfun)(GLFWwindow*,unsigned int,int);
|
|||||||
* @sa @ref path_drop
|
* @sa @ref path_drop
|
||||||
* @sa glfwSetDropCallback
|
* @sa glfwSetDropCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.1.
|
||||||
|
*
|
||||||
* @ingroup input
|
* @ingroup input
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWdropfun)(GLFWwindow*,int,const char**);
|
typedef void (* GLFWdropfun)(GLFWwindow*,int,const char**);
|
||||||
@ -1034,6 +1074,8 @@ typedef void (* GLFWdropfun)(GLFWwindow*,int,const char**);
|
|||||||
* @sa @ref monitor_event
|
* @sa @ref monitor_event
|
||||||
* @sa glfwSetMonitorCallback
|
* @sa glfwSetMonitorCallback
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup monitor
|
* @ingroup monitor
|
||||||
*/
|
*/
|
||||||
typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
|
typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
|
||||||
@ -1045,6 +1087,8 @@ typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
|
|||||||
* @sa @ref monitor_modes
|
* @sa @ref monitor_modes
|
||||||
* @sa glfwGetVideoMode glfwGetVideoModes
|
* @sa glfwGetVideoMode glfwGetVideoModes
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup monitor
|
* @ingroup monitor
|
||||||
*/
|
*/
|
||||||
typedef struct GLFWvidmode
|
typedef struct GLFWvidmode
|
||||||
@ -1076,6 +1120,8 @@ typedef struct GLFWvidmode
|
|||||||
* @sa @ref monitor_gamma
|
* @sa @ref monitor_gamma
|
||||||
* @sa glfwGetGammaRamp glfwSetGammaRamp
|
* @sa glfwGetGammaRamp glfwSetGammaRamp
|
||||||
*
|
*
|
||||||
|
* @since Added in GLFW 3.0.
|
||||||
|
*
|
||||||
* @ingroup monitor
|
* @ingroup monitor
|
||||||
*/
|
*/
|
||||||
typedef struct GLFWgammaramp
|
typedef struct GLFWgammaramp
|
||||||
@ -1097,6 +1143,8 @@ typedef struct GLFWgammaramp
|
|||||||
/*! @brief Image data.
|
/*! @brief Image data.
|
||||||
*
|
*
|
||||||
* @sa @ref cursor_custom
|
* @sa @ref cursor_custom
|
||||||
|
*
|
||||||
|
* @since Added in GLFW 3.1.
|
||||||
*/
|
*/
|
||||||
typedef struct GLFWimage
|
typedef struct GLFWimage
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user