enum mouse_key mouse_key_t
void(* mlx_mousefunc)(mouse_key_t button, action_t action, modifier_key_t mods, void *param)
void(* mlx_scrollfunc)(double xdelta, double ydelta, void *param)
void(* mlx_cursorfunc)(double xpos, double ypos, void *param)
GLint GLint GLint yoffset
GLuint GLsizei GLsizei * length
void mlx_scroll_hook(mlx_t *mlx, mlx_scrollfunc func, void *param)
void mlx_mouse_hook(mlx_t *mlx, mlx_mousefunc func, void *param)
static void mlx_mouse_cb(GLFWwindow *window, int32_t button, int32_t action, int32_t mods)
void mlx_get_mouse_pos(mlx_t *mlx, int32_t *x, int32_t *y)
void mlx_cursor_hook(mlx_t *mlx, mlx_cursorfunc func, void *param)
void mlx_set_mouse_pos(mlx_t *mlx, int32_t x, int32_t y)
bool mlx_is_mouse_down(mlx_t *mlx, mouse_key_t key)
static void mlx_cursor_cb(GLFWwindow *window, double xpos, double ypos)
static void mlx_scroll_cb(GLFWwindow *window, double xoffset, double yoffset)