From 05267f2bf7cbb6b7f05f65d63cc12bb9ca0d375a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 14 Mar 2020 18:09:33 +0100 Subject: Can't death hook --- src/ft_death_hooks.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/ft_death_hooks.c (limited to 'src/ft_death_hooks.c') diff --git a/src/ft_death_hooks.c b/src/ft_death_hooks.c new file mode 100644 index 0000000..ccf7741 --- /dev/null +++ b/src/ft_death_hooks.c @@ -0,0 +1,26 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_death_hooks.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:52 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:52 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#include +#include +#include + +void + ft_death_hooks(t_win *wl, t_cub *cl) +{ + /* mlx_hook(wl->winptr, 2, (1L << 0), ft_key_event, cl); */ + /* mlx_hook(wl->winptr, 3, (1L << 1), ft_key_release, cl); */ + /* mlx_loop_hook(wl->wlx, ft_key_loop, cl); */ + /* mlx_hook(wl->winptr, 17, 0L, ft_click_close, cl); */ + (void)cl; + (void)wl; +} -- cgit v1.2.3