-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.c
More file actions
26 lines (23 loc) · 1.17 KB
/
main.c
File metadata and controls
26 lines (23 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mhedeon <mhedeon@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/08/07 16:08:38 by mhedeon #+# #+# */
/* Updated: 2018/08/16 17:23:47 by mhedeon ### ########.fr */
/* */
/* ************************************************************************** */
#include "fractol.h"
int main(void)
{
t_mlx mlx;
t_img img;
init_mm_window(&mlx, &img, "Main menu)))))");
mlx_key_hook(mlx.win_ptr, deal_key_mm, &mlx);
mlx_mouse_hook(mlx.win_ptr, deal_mouse_mm, &mlx);
mlx_hook(mlx.win_ptr, 17, 1L << 17, exit_mm, NULL);
mlx_loop(mlx.mlx_ptr);
return (0);
}