void CSolverView::OnLButtonDown(UINT nFlags, CPoint point) { try_color(filled_cell, point); try_nums(point); CView::OnLButtonDown(nFlags, point); }
void ft_test(t_env *e) { int x = 0; int y = 0; int c = try_color(0, 20, 0); while (x++ < WIDTH) { y = 0; while (y++ < HEIGHT) put_pixel(e->f, x, y, c); } mlx_put_image_to_window(e->mlx, e->win, e->f->img, 0, 0); }
void CSolverView::OnRButtonDown(UINT nFlags, CPoint point) { try_color(empty_cell, point); CView::OnRButtonDown(nFlags, point); }