Lines Matching refs:cbfun
956 GLFWAPI GLFWkeyfun glfwSetKeyCallback(GLFWwindow* handle, GLFWkeyfun cbfun)
963 _GLFW_SWAP(GLFWkeyfun, window->callbacks.key, cbfun);
964 return cbfun;
967 GLFWAPI GLFWcharfun glfwSetCharCallback(GLFWwindow* handle, GLFWcharfun cbfun)
974 _GLFW_SWAP(GLFWcharfun, window->callbacks.character, cbfun);
975 return cbfun;
978 GLFWAPI GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow* handle, GLFWcharmodsfun cbfun)
985 _GLFW_SWAP(GLFWcharmodsfun, window->callbacks.charmods, cbfun);
986 return cbfun;
990 GLFWmousebuttonfun cbfun)
997 _GLFW_SWAP(GLFWmousebuttonfun, window->callbacks.mouseButton, cbfun);
998 return cbfun;
1002 GLFWcursorposfun cbfun)
1009 _GLFW_SWAP(GLFWcursorposfun, window->callbacks.cursorPos, cbfun);
1010 return cbfun;
1014 GLFWcursorenterfun cbfun)
1021 _GLFW_SWAP(GLFWcursorenterfun, window->callbacks.cursorEnter, cbfun);
1022 return cbfun;
1026 GLFWscrollfun cbfun)
1033 _GLFW_SWAP(GLFWscrollfun, window->callbacks.scroll, cbfun);
1034 return cbfun;
1037 GLFWAPI GLFWdropfun glfwSetDropCallback(GLFWwindow* handle, GLFWdropfun cbfun)
1044 _GLFW_SWAP(GLFWdropfun, window->callbacks.drop, cbfun);
1045 return cbfun;
1261 GLFWAPI GLFWjoystickfun glfwSetJoystickCallback(GLFWjoystickfun cbfun)
1268 _GLFW_SWAP(GLFWjoystickfun, _glfw.callbacks.joystick, cbfun);
1269 return cbfun;