mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 03:04:14 +02:00
Added window parameter to callbacks, handled NULL argument to glfwIsWindow.
This commit is contained in:
@@ -364,14 +364,14 @@ typedef struct {
|
||||
} GLFWvidmode;
|
||||
|
||||
/* Function pointer types */
|
||||
typedef void (* GLFWwindowsizefun)(int,int);
|
||||
typedef int (* GLFWwindowclosefun)(void);
|
||||
typedef void (* GLFWwindowrefreshfun)(void);
|
||||
typedef void (* GLFWmousebuttonfun)(int,int);
|
||||
typedef void (* GLFWmouseposfun)(int,int);
|
||||
typedef void (* GLFWmousewheelfun)(int);
|
||||
typedef void (* GLFWkeyfun)(int,int);
|
||||
typedef void (* GLFWcharfun)(int,int);
|
||||
typedef void (* GLFWwindowsizefun)(GLFWwindow,int,int);
|
||||
typedef int (* GLFWwindowclosefun)(GLFWwindow);
|
||||
typedef void (* GLFWwindowrefreshfun)(GLFWwindow);
|
||||
typedef void (* GLFWmousebuttonfun)(GLFWwindow,int,int);
|
||||
typedef void (* GLFWmouseposfun)(GLFWwindow,int,int);
|
||||
typedef void (* GLFWmousewheelfun)(GLFWwindow,int);
|
||||
typedef void (* GLFWkeyfun)(GLFWwindow,int,int);
|
||||
typedef void (* GLFWcharfun)(GLFWwindow,int,int);
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user